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 128192

Summary: diagram node is not on project tree
Product: uml Reporter: Peter Lam <petersl>
Component: ProjectAssignee: 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 2008-02-22 19:03:12 UTC
from the latest build I just made

- start ide in a fresh userdir
- create a uml project
- create a class diagram
- create and name a couple of elements on the diagram
- expand the uml project and the Model node
Result: there's no class diagram node, not even in the Diagrams' node when it's expanded.
The ide log file has the following exception. See attached ide logfile for complete detail.

java.lang.NullPointerException
	at
org.netbeans.modules.uml.ui.support.diagramsupport.ProxyDiagramManager.getDiagramsInNamespace(ProxyDiagramManager.java:717)
	at
org.netbeans.modules.uml.ui.support.diagramsupport.ProxyDiagramManager.getDiagramsInNamespace(ProxyDiagramManager.java:530)
Comment 1 Peter Lam 2008-02-22 19:04:59 UTC
Created attachment 57097 [details]
ide log file
Comment 2 Peter Lam 2008-03-06 19:12:50 UTC
To continue on with creating sequence diagram, I only see the seq diagram interaction node w/o the actual seq diagram
node. This issue is blocking the testing on other areas like persistence testing. So, raising it to a P1.
Comment 3 Peter Lam 2008-03-31 23:04:11 UTC
95% of the time the first time creating the class diagram doesn't show the diagram node on the project tree now. This
really affects testing since ide restart has to be done. Doing the filtering as a workaround really clears out
everything from the Model, leaving nothing being displayed.
Comment 4 Thuy.d Nguyen 2008-04-09 00:21:25 UTC
Fixed.

changeset 8c0c76bdaa24 in uml-meteora
details: http://hg.netbeans.org/uml-meteora?cmd=changeset;node=8c0c76bdaa24
description:
	Fixed P1 issue 126777.

diffs (92 lines):
diff -r 16b64163b8e8 -r 8c0c76bdaa24 uml/src/org/netbeans/modules/uml/ui/support/diagramsupport/ProxyDiagramManager.java
Comment 5 Peter Lam 2008-05-10 00:52:21 UTC
verified in build 20080508.