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 100185

Summary: creating diagram returns UndeclaredThrowableException & NoClassDefFoundError exceptions
Product: uml Reporter: Peter Lam <petersl>
Component: General DiagramAssignee: Thuy.d Nguyen <thuydn>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P1    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: ide log file

Description Peter Lam 2007-04-06 07:59:05 UTC
NetBeans IDE Dev (Build 200704051800)
1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105
Windows XP version 5.1 running on x86
en_US (nb); Cp1252
UML build: 070405_21

Creating diagram during project creation returns UndeclaredThrowableException.
Creating diagram from Model node returns NoClassDefFoundError exception.
See attached ide log file for these exceptions.

Created diagrams are shown on project tree but diagrams can't be opened.
Comment 1 Peter Lam 2007-04-06 07:59:36 UTC
Created attachment 40536 [details]
ide log file
Comment 2 Thuy.d Nguyen 2007-04-06 18:43:05 UTC
The class PaletteElementNode defined in ModelingPalette is missing in
org-netbeans-modules-uml-palette module when building the whole UML suite (not
sure what has changed in the build that causes this). Because of the missing
class, the uml palette can not be opened when a diagram is opened.

Solution: I refactored the code to move the PaletteElementNode class to a
separate file. This seems to solve the problem.
Comment 3 Peter Lam 2007-04-10 01:44:05 UTC
verified in build 070409_13.