This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 88394

Summary: Code generation does not work
Product: uml Reporter: Alexandr Scherbatiy <sunflower>
Component: Code GenerationAssignee: Craig Conover <conover>
Status: VERIFIED FIXED    
Severity: blocker Keywords: REGRESSION
Priority: P1    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 87833    
Attachments: IDE log file

Description Alexandr Scherbatiy 2006-11-01 10:24:39 UTC
Steps to reproduce:

- Create a Java-Platform Model UML project
- Create a Class diagram
- Put a class element on the diagram and name it
- Generate code for the element
  The exception pops up:
  NoClassDefFoundError: org/netbeans/modules/uml/common/ui/SaveNotifier

 The source code is not generated.

 See attached IDE log file.
Comment 1 Alexandr Scherbatiy 2006-11-01 10:26:57 UTC
Created attachment 35691 [details]
IDE log file
Comment 2 Andrew Korostelev 2006-11-01 10:38:33 UTC
how to create Java-Platform Model UML project is described in workaround for 
related issue 88397
Comment 3 Craig Conover 2006-11-01 20:38:31 UTC
The SaveNotifier dialog was moved to core uml from a the module that the
ExportCodeAction class was in. I created a new package for the SaveNotifier
class and that package had to be added to the list of public packages in core
uml's project.xml.
Comment 4 Andrew Korostelev 2006-11-02 11:28:01 UTC
verified in ide-coco-061101_7