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 - creating diagram returns UndeclaredThrowableException & NoClassDefFoundError exceptions
Summary: creating diagram returns UndeclaredThrowableException & NoClassDefFoundError ...
Status: VERIFIED FIXED
Alias: None
Product: uml
Classification: Unclassified
Component: General Diagram (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Thuy.d Nguyen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-06 07:59 UTC by Peter Lam
Modified: 2007-04-10 01:44 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
ide log file (55.03 KB, text/plain)
2007-04-06 07:59 UTC, Peter Lam
Details

Note You need to log in before you can comment on or make changes to this bug.
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.