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 203380 - NullPointerException at org.netbeans.modules.form.layoutdesign.LayoutFeeder.setCurrentPositionToParent
Summary: NullPointerException at org.netbeans.modules.form.layoutdesign.LayoutFeeder.s...
Status: RESOLVED INCOMPLETE
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Natural Layout (show other bugs)
Version: 7.1
Hardware: All All
: P3 normal (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-09 03:44 UTC by MackSix
Modified: 2011-10-10 12:09 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 181788


Attachments
stacktrace (3.13 KB, text/plain)
2011-10-09 03:44 UTC, MackSix
Details
Project that exhibits the error. (14.92 KB, application/zip)
2011-10-09 03:47 UTC, MackSix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description MackSix 2011-10-09 03:44:51 UTC
Build: NetBeans IDE Dev (Build 201110070600)
VM: Java HotSpot(TM) Client VM, 21.0-b17, Java(TM) SE Runtime Environment, 1.7.0-b147
OS: Windows Vista

User Comments:
MackSix: Tried to widen a jSeperator on a Panel with other components.




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.form.layoutdesign.LayoutFeeder.setCurrentPositionToParent(LayoutFeeder.java:2594)
   at org.netbeans.modules.form.layoutdesign.LayoutFeeder.addToGroup(LayoutFeeder.java:2040)
   at org.netbeans.modules.form.layoutdesign.LayoutFeeder.addInterval(LayoutFeeder.java:1781)
   at org.netbeans.modules.form.layoutdesign.LayoutFeeder.add(LayoutFeeder.java:516)
   at org.netbeans.modules.form.layoutdesign.LayoutDesigner.addComponents(LayoutDesigner.java:1204)
   at org.netbeans.modules.form.layoutdesign.LayoutDesigner.endMoving(LayoutDesigner.java:1116)
Comment 1 MackSix 2011-10-09 03:44:56 UTC
Created attachment 111718 [details]
stacktrace
Comment 2 MackSix 2011-10-09 03:47:42 UTC
Created attachment 111719 [details]
Project that exhibits the error.

Basically I was trying to move components around and jSeperator1 collapsed horizontally on it's own and the when I try to expand it back out, I get this exception. It is stuck in the position it is and I can't fix it without deleting it.
Comment 3 MackSix 2011-10-09 05:35:48 UTC
Comment on attachment 111719 [details]
Project that exhibits the error.

This was the wrong project.
Comment 4 Jan Stola 2011-10-10 12:09:10 UTC
I am sorry, I am not able to reproduce this issue and the attached stack-trace
is not sufficient to track the problem down. Are you still able to reproduce
it? If so, could you, please, provide more details? It would be ideal to attach
the problematic form (both .java and .form files) saved in the last good state
and describe _exact_ steps that lead to the exception. Thank you in advance.