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.
Build: NetBeans IDE 6.5 (Build 200811100001) VM: Java HotSpot(TM) 64-Bit Server VM, 11.0-b16, Java(TM) SE Runtime Environment, 1.6.0_11-b03 OS: Linux, 2.6.24-23-generic, amd64 User Comments: mircea273: Trying to open an UML diagram that I created yesterday with the same IDE. mircea273: Trying to open an UML diagram that I created yesterday with the same IDE. Stacktrace: java.lang.NullPointerException at org.netbeans.modules.uml.diagrams.edges.sqd.MessageLabelManager.getDefaultAlignment(MessageLabelManager.java:251) at org.netbeans.modules.uml.drawingarea.AbstractLabelManager.showLabel(AbstractLabelManager.java:200) at org.netbeans.modules.uml.diagrams.edges.sqd.MessageLabelManager.showLabel(MessageLabelManager.java:283) at org.netbeans.modules.uml.drawingarea.AbstractLabelManager.showLabel(AbstractLabelManager.java:228) at org.netbeans.modules.uml.diagrams.edges.sqd.MessageWidget.load(MessageWidget.java:297) at org.netbeans.modules.uml.diagrams.edges.sqd.ResultMessageConnectionWidget.load(ResultMessageConnectionWidget.java:103)
Created attachment 75751 [details] stacktrace
can you attach your project or may be any project with smilar diagram with the same problem?
I'll add null check in this place, but need to know root cause.
null check is integrated into team repository, approx in two days it will be in daily build. feel free to try if this will allow to open your diagram.
or wait for m2 build a bit if don't want to use daily.
Integrated into 'main-golden', will be available in build *200901160201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/30a297582c06 User: sergeyp@netbeans.org Log: fix #156678 - added null check to label manager, still need to know why label is invoked on absent message
fixed. if any problem will exist it will not be the same exception.