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 170059 - NullPointerException at org.netbeans.modules.form.layoutdesign.LayoutInterval.getEffectiveAlignment
Summary: NullPointerException at org.netbeans.modules.form.layoutdesign.LayoutInterval...
Status: RESOLVED INCOMPLETE
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Natural Layout (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@guibuilder
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-07 18:18 UTC by fenris_uy
Modified: 2009-08-20 18:22 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 155244


Attachments
stacktrace (2.56 KB, text/plain)
2009-08-07 18:18 UTC, fenris_uy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description fenris_uy 2009-08-07 18:18:28 UTC
Build: NetBeans IDE 6.7.1 (Build 200907230233)
VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-b33
OS: Windows XP, 5.1, x86

Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.form.layoutdesign.LayoutInterval.getEffectiveAlignment(LayoutInterval.java:1023)
        at org.netbeans.modules.form.layoutdesign.LayoutFeeder.addToGroup(LayoutFeeder.java:953)
        at org.netbeans.modules.form.layoutdesign.LayoutFeeder.mergeParallelInclusions(LayoutFeeder.java:2404)
        at org.netbeans.modules.form.layoutdesign.LayoutFeeder.add(LayoutFeeder.java:245)
        at org.netbeans.modules.form.layoutdesign.LayoutDesigner.addComponents(LayoutDesigner.java:826)
        at org.netbeans.modules.form.layoutdesign.LayoutDesigner.endMoving(LayoutDesigner.java:751)
Comment 1 fenris_uy 2009-08-07 18:18:37 UTC
Created attachment 85982 [details]
stacktrace
Comment 2 Tomas Pavek 2009-08-20 18:22:52 UTC
Any chance you could share the GUI form where the exception happened and descirbe steps to reproduce? I'm afraid we 
are not able to fix this just based on the exception itself. The exception looks like the layout model hierarchy is in 
a state that I have no idea how could happen (lookes like if one layout element obtained from a group had not point 
back to its parent).