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

Summary: NullPointerException at org.netbeans.modules.form.layoutdesign.LayoutFeeder.setCurrentPositionToParent
Product: guibuilder Reporter: MackSix
Component: Natural LayoutAssignee: issues@guibuilder <issues>
Status: RESOLVED INCOMPLETE    
Severity: normal    
Priority: P3    
Version: 7.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 181788
Attachments: stacktrace
Project that exhibits the error.

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.