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 135942

Summary: Click Sync diagram toolbar causes IDE to hang
Product: uml Reporter: Joanne Lau <j_lau>
Component: Diagram ClassAssignee: Trey Spiva <tspiva>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P1    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: logfile

Description Joanne Lau 2008-05-27 22:39:37 UTC
Build: 080526

- DnD a class element to the class diagram
- In the class properties window,  click "..." of the Template Parameters
  and set the property values 
     Name:  tt
     Alias:  tt
     Visibility : Public
     Type Constraint:  Class

- In the diagram toolbar, click Sync diagram
 
  A NPE is thrown, I can't close the NPE dialog,  as messages continue to generate in the messages.log
  I can't close the IDE either,  have to kill the process to stop the IDE.

(See attached messages.log)
Comment 1 Joanne Lau 2008-05-27 22:40:55 UTC
Created attachment 62014 [details]
logfile
Comment 2 Yang Su 2008-06-04 17:52:21 UTC
This is a class widget specific issue rather than general 'sync diagram' feature problem, reassign to widget owner.
Comment 3 Trey Spiva 2008-06-05 16:42:20 UTC
Fixed

http://hg.netbeans.org/uml-main/rev/ab20d9a69a8f
Comment 4 Joanne Lau 2008-06-06 19:38:30 UTC
Verified in 080605