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 156047

Summary: NullPointerException at org.netbeans.modules.visual.layout.ConnectionWidgetLayout.calculateBestTopAlignment
Product: platform Reporter: Sergey Petrov <sj-nb>
Component: GraphAssignee: issues@platform <issues>
Status: NEW ---    
Severity: blocker CC: dbramble, tboudreau
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=141352
Issue Type: DEFECT Exception Reporter: 141352
Attachments: stacktrace

Description Sergey Petrov 2008-12-24 15:52:01 UTC
Build: NetBeans IDE 6.5 (Build 200811100001)
VM: OpenJDK 64-Bit Server VM, 1.6.0_0-b12, IcedTea6 1.3.1 (6b12-0ubuntu6) Runtime Environment, 1.6.0_0-b12
OS: Linux, 2.6.27-11-generic, amd64

User Comments:
sergeyp: try to reconnect navigable association target end from one named class to another.
(target label need to be shown)

sergeyp: try to reconnect navigable association target end from one named class to another.
(target label need to be shown)



Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.visual.layout.ConnectionWidgetLayout.calculateBestTopAlignment(ConnectionWidgetLayout.java:369)
        at org.netbeans.modules.visual.layout.ConnectionWidgetLayout.getAdjustedAlignment(ConnectionWidgetLayout.java:326)
        at org.netbeans.modules.visual.layout.ConnectionWidgetLayout.layoutChildrenAt(ConnectionWidgetLayout.java:191)
        at org.netbeans.modules.visual.layout.ConnectionWidgetLayout.layout(ConnectionWidgetLayout.java:149)
        at org.netbeans.api.visual.widget.Widget.layout(Widget.java:1350)
        at org.netbeans.api.visual.widget.Widget.layout(Widget.java:1342)
Comment 1 Sergey Petrov 2008-12-24 15:52:06 UTC
Created attachment 75301 [details]
stacktrace
Comment 2 Sergey Petrov 2008-12-24 15:58:14 UTC
reproducible in 6.5.
Is there any known way to workaround the issue in uml module?