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 187193 - NullPointerException at org.netbeans.modules.form.layoutdesign.LayoutDesigner.endMoving
Summary: NullPointerException at org.netbeans.modules.form.layoutdesign.LayoutDesigner...
Status: RESOLVED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks: 136425
  Show dependency tree
 
Reported: 2010-06-04 09:23 UTC by jocke
Modified: 2011-10-05 12:16 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 170431


Attachments
stacktrace (1.92 KB, text/plain)
2010-06-04 09:23 UTC, jocke
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jocke 2010-06-04 09:23:53 UTC
Build: NetBeans IDE Dev (Build 201006030001)
VM: Java HotSpot(TM) 64-Bit Server VM, 16.3-b01, Java(TM) SE Runtime Environment, 1.6.0_20-b02
OS: Linux

Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.form.layoutdesign.LayoutDesigner.endMoving(LayoutDesigner.java:681)
   at org.netbeans.modules.form.HandleLayer$NewComponentDrag.end(HandleLayer.java:3110)
   at org.netbeans.modules.form.HandleLayer$ComponentDrag.end(HandleLayer.java:2477)
   at org.netbeans.modules.form.HandleLayer.endDragging(HandleLayer.java:1261)
   at org.netbeans.modules.form.HandleLayer.mousePressed(HandleLayer.java:1952)
   at java.awt.Component.processMouseEvent(Component.java:6260)
Comment 1 jocke 2010-06-04 09:23:56 UTC
Created attachment 99810 [details]
stacktrace
Comment 2 asenk 2011-10-05 09:24:12 UTC
Steps to reproduce???
Comment 3 Tomas Pavek 2011-10-05 12:16:59 UTC
Steps are not clear, but the fix is.
Was fixed in 2d8ce20c8b53 by adding a check for null at the beginning of LayoutDesigner.endMoving method.