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 215713

Summary: NullPointerException at org.netbeans.modules.form.FormDesigner.pointFromHandleToComponentLayer
Product: guibuilder Reporter: Exceptions Reporter <exceptions_reporter>
Component: CodeAssignee: issues@guibuilder <issues>
Status: NEW ---    
Severity: normal CC: a_mtz, chrizerk, gasper20, jorge91, mojoblack, netacq_server, tharanya, thilina01
Priority: P3    
Version: 7.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 190859
Attachments: stacktrace

Description Exceptions Reporter 2012-07-19 06:56:39 UTC
This bug was originally marked as duplicate of bug 212953, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build 201207180002)
VM: Java HotSpot(TM) Client VM, 23.1-b03, Java(TM) SE Runtime Environment, 1.7.0_05-b05
OS: Windows 7

User Comments:
GUEST: change the size of form




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.form.FormDesigner.pointFromHandleToComponentLayer(FormDesigner.java:774)
   at org.netbeans.modules.form.HandleLayer.convertPointToComponent(HandleLayer.java:1811)
   at org.netbeans.modules.form.HandleLayer.checkLayoutResizing(HandleLayer.java:1546)
   at org.netbeans.modules.form.HandleLayer.checkResizing(HandleLayer.java:1467)
   at org.netbeans.modules.form.HandleLayer.mouseMoved(HandleLayer.java:2110)
   at java.awt.AWTEventMulticaster.mouseMoved(AWTEventMulticaster.java:329)
Comment 1 Exceptions Reporter 2012-07-19 06:56:42 UTC
Created attachment 122181 [details]
stacktrace
Comment 2 Tomas Pavek 2012-07-19 16:09:34 UTC
No idea how this could happen. The exception shows moving mouse over the design area (i.e. not resizing) and there is no content (missing the top design view component). There is no relevant preceding exception that would indicate some failure of creating the design view.

Do you know the steps how to reproduce it? Can you provide a sample test form on which this could be demonstrated? Thanks