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 157378 - NullPointerException at org.netbeans.modules.visual.layout.ConnectionWidgetLayout.calculateBestBottomAlignment
Summary: NullPointerException at org.netbeans.modules.visual.layout.ConnectionWidgetLa...
Status: NEW
Alias: None
Product: uml
Classification: Unclassified
Component: General (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: issues@uml
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-23 20:23 UTC by antonioni
Modified: 2010-08-16 20:34 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 139635


Attachments
stacktrace (2.81 KB, text/plain)
2009-01-23 20:23 UTC, antonioni
Details
stacktrace (2.81 KB, text/plain)
2009-11-03 13:51 UTC, gekkothelizard
Details

Note You need to log in before you can comment on or make changes to this bug.
Description antonioni 2009-01-23 20:23:49 UTC
Build: NetBeans IDE 6.5 (Build 200811100001)
VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-b33
OS: Linux, 2.6.24-23-generic, i386

User Comments:
antonioni: I try redimension a UML Class component, and a NullPointerException occurs.

GUEST: Moving UML classes around in a class diagram

antonioni: I try redimension a UML Class component, and a NullPointerException occurs.



Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.visual.layout.ConnectionWidgetLayout.calculateBestBottomAlignment(ConnectionWidgetLayout.java:353)
        at org.netbeans.modules.visual.layout.ConnectionWidgetLayout.getAdjustedAlignment(ConnectionWidgetLayout.java:311)
        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 antonioni 2009-01-23 20:23:58 UTC
Created attachment 76196 [details]
stacktrace
Comment 2 gekkothelizard 2009-11-03 13:51:33 UTC
Build: NetBeans IDE 6.7.1 (Build 200907230233)
VM: Java HotSpot(TM) Client VM, 14.2-b01, Java(TM) SE Runtime Environment, 1.6.0_16-b01
OS: Windows XP, 5.1, x86

User Comments: 
I'm editing UML diagram. Last thing I done is that I drananddropped a class in class diagram.

Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.visual.layout.ConnectionWidgetLayout.calculateBestBottomAlignment(ConnectionWidgetLayout.java:353)
        at org.netbeans.modules.visual.layout.ConnectionWidgetLayout.getAdjustedAlignment(ConnectionWidgetLayout.java:316)
        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 3 gekkothelizard 2009-11-03 13:51:37 UTC
Created attachment 90447 [details]
stacktrace
Comment 4 javydreamercsw 2010-08-16 20:34:27 UTC
Unable to evaluate due to issue #171788.