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 - NullPointerException at org.netbeans.modules.visual.layout.ConnectionWidgetLayout.calculateBestTopAlignment
Summary: NullPointerException at org.netbeans.modules.visual.layout.ConnectionWidgetLa...
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Graph (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@platform
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-24 15:52 UTC by Sergey Petrov
Modified: 2010-04-01 14:48 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 141352


Attachments
stacktrace (2.81 KB, text/plain)
2008-12-24 15:52 UTC, Sergey Petrov
Details

Note You need to log in before you can comment on or make changes to this bug.
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?