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 244617 - NullPointerException at org.netbeans.modules.form.layoutdesign.LayoutInterval.getRoot
Summary: NullPointerException at org.netbeans.modules.form.layoutdesign.LayoutInterval...
Status: RESOLVED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-21 08:00 UTC by csjunker
Modified: 2015-09-24 01:29 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 209850


Attachments
stacktrace (3.11 KB, text/plain)
2014-05-21 08:00 UTC, csjunker
Details

Note You need to log in before you can comment on or make changes to this bug.
Description csjunker 2014-05-21 08:00:48 UTC
Build: NetBeans IDE Dev (Build nbms-and-javadoc-1611-on-20140428)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.0-b70, Java(TM) SE Runtime Environment, 1.8.0-b132
OS: Windows 7

User Comments:
csjunker: .




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.form.layoutdesign.LayoutInterval.getRoot(LayoutInterval.java:555)
   at org.netbeans.modules.form.layoutdesign.LayoutDesigner.encloseInContainer(LayoutDesigner.java:2237)
   at org.netbeans.modules.form.actions.EncloseAction$ContainersMenu$EncloseActionListener.actionPerformed(EncloseAction.java:291)
   at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
   at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2346)
   at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
Comment 1 csjunker 2014-05-21 08:00:50 UTC
Created attachment 147356 [details]
stacktrace
Comment 2 Tomas Pavek 2015-09-22 17:48:08 UTC
Fixed.
http://hg.netbeans.org/jet-main/rev/1d8773bd8780
Comment 3 Quality Engineering 2015-09-24 01:29:29 UTC
Integrated into 'main-silver', will be available in build *201509240002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/1d8773bd8780
User: Tomas Pavek <tpavek@netbeans.org>
Log: #244617: cannot enclose components from different layers