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 86152

Summary: Wizard cannot open and display the Create New Diagram dialog box
Product: uml Reporter: bigbangk <bigbangk>
Component: Diagram ActivityAssignee: issues@uml <issues>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P4    
Version: 5.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description bigbangk 2006-09-29 13:57:13 UTC
I create a UML project and class diagram for my application.

Tutorial :
OK 1 To create the UML project, choose File > New Project and then do the 
following: select UML.select Java-Platform Model. 
OK 2 Click Next. 
OK 3 The New Java-Platform Model page opens. 
OK 4In the Project Name field, type UMLPrj.
OK 5Notice that when you type the Project Name, the IDE automatically suggests 
this name for the name of the Project Folder. 
OK 6Verify that the Project Location is MyPrj. 
OK 7Select the Source-Model Synchronization checkbox and click Next. 
OK 8In the Choose the Java Source Project page, verify that JavaPrj is selected 
from the Java Project drop-down list. 
OK 9 Click Finish.
FAIL 10 The IDE creates the UML project and the New Wizard opens and displays 
the Create New Diagram dialog box. 

I've got a exception and I cannot see the new wizard opens and displays the 
Create New Diagram dialog box.
After, I cannot also add diagram directly in a folder.

java.lang.NullPointerException
	at org.netbeans.modules.uml.project.UMLProjectGenerator$1.run
(UMLProjectGenerator.java:273)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
	at java.awt.EventDispatchThread.pumpOneEventForHierarchy
(EventDispatchThread.java:242)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy
(EventDispatchThread.java:163)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy
(EventDispatchThread.java:153)
	at java.awt.Dialog$1.run(Dialog.java:517)
	at java.awt.Dialog$2.run(Dialog.java:545)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.awt.Dialog.show(Dialog.java:543)
	at org.netbeans.core.windows.services.NbPresenter.superShow
(NbPresenter.java:810)
	at org.netbeans.core.windows.services.NbPresenter.doShow
(NbPresenter.java:853)
	at org.netbeans.core.windows.services.NbPresenter.run
(NbPresenter.java:841)
	at org.openide.util.Mutex$1.run(Mutex.java:1188)
[catch] at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
	at java.awt.EventDispatchThread.pumpOneEventForHierarchy
(EventDispatchThread.java:242)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy
(EventDispatchThread.java:163)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Comment 1 Yang Su 2008-09-22 23:21:10 UTC
no longer reproducible in 6.5