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 153301 - NullPointerException at org.netbeans.modules.uml.drawingarea.view.SelfLinkRouter.findTotalLinkToSelfBefore
Summary: NullPointerException at org.netbeans.modules.uml.drawingarea.view.SelfLinkRou...
Status: VERIFIED FIXED
Alias: None
Product: uml
Classification: Unclassified
Component: General (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Sergey Petrov
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-17 08:19 UTC by grisu1985
Modified: 2009-02-19 23:14 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 140092


Attachments
stacktrace (2.77 KB, text/plain)
2008-11-17 08:19 UTC, grisu1985
Details

Note You need to log in before you can comment on or make changes to this bug.
Description grisu1985 2008-11-17 08:19:36 UTC
Build: NetBeans IDE 6.5 RC2 (Build 200810270001)
VM: OpenJDK 64-Bit Server VM, 1.6.0_0-b11, OpenJDK  Runtime Environment, 1.6.0_0-b11
OS: Linux, 2.6.26-1-amd64, amd64

Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.uml.drawingarea.view.SelfLinkRouter.findTotalLinkToSelfBefore(SelfLinkRouter.java:129)
        at org.netbeans.modules.uml.drawingarea.view.SelfLinkRouter.routeConnection(SelfLinkRouter.java:63)
        at org.netbeans.api.visual.widget.ConnectionWidget.calculateRouting(ConnectionWidget.java:527)
        at org.netbeans.modules.visual.layout.ConnectionWidgetLayout.layout(ConnectionWidgetLayout.java:109)
        at org.netbeans.api.visual.widget.Widget.layout(Widget.java:1350)
        at org.netbeans.api.visual.widget.Widget.layout(Widget.java:1342)
Comment 1 grisu1985 2008-11-17 08:19:46 UTC
Created attachment 73814 [details]
stacktrace
Comment 2 Sergey Petrov 2008-11-17 08:28:46 UTC
null check have sense in this place and will be added, but ther may be an issue with initial cause of the issue, is
there any steps to reproduce?
fixed locally.
Comment 3 Sergey Petrov 2008-11-17 12:07:47 UTC
http://hg.netbeans.org/main/rev/3af5bee3a67a
Comment 4 Quality Engineering 2008-11-17 16:36:10 UTC
Integrated into 'main-golden', will be available in build *200811171401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/3af5bee3a67a
User: sergeyp@netbeans.org
Log: fix #153301 - npe in self link router
Comment 5 Peter Lam 2008-12-08 22:18:10 UTC
verified in trunk build 20081204. not able to reproduce.