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 64300 - NPE when resizing a component
Summary: NPE when resizing a component
Status: VERIFIED WORKSFORME
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Natural Layout (show other bugs)
Version: 5.x
Hardware: Sun Solaris
: P3 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-14 08:46 UTC by Max Sauer
Modified: 2005-09-20 10:39 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
exception stack trace (2.05 KB, text/plain)
2005-09-14 08:46 UTC, Max Sauer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Max Sauer 2005-09-14 08:46:17 UTC
I got following NPE while resizing a component:

java.lang.NullPointerException
        at
org.netbeans.modules.form.layoutdesign.LayoutDesigner.isComponentResizing(LayoutDesigner.java:1343)
        at
org.netbeans.modules.form.FormDesigner.updateResizabilityActions(FormDesigner.java:760)
        at
org.netbeans.modules.form.FormDesigner.selectionChanged(FormDesigner.java:714)
        at
org.netbeans.modules.form.FormDesigner.addComponentToSelectionImpl(FormDesigner.java:695)
...

Cannot provide exact steps to reproduce, but it happened when I was resizing a
JPanel.

[200509131800, JDK 1.5.0_05 b03, solaris 10/sparc]
Comment 1 Max Sauer 2005-09-14 08:46:57 UTC
Created attachment 24775 [details]
exception stack trace
Comment 2 Jan Stola 2005-09-16 14:01:17 UTC
This exception is not sufficient to find the root of the problem.
It is just a result of some bug that occured some time before.
Comment 3 Max Sauer 2005-09-20 10:39:59 UTC
Verified wontfix.