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 221920

Summary: AssertionError at org.netbeans.modules.form.layoutdesign.LayoutRegion.overlap
Product: guibuilder Reporter: Chiana
Component: CodeAssignee: issues@guibuilder <issues>
Status: RESOLVED WORKSFORME    
Severity: normal CC: markiewb, ovrabec
Priority: P3    
Version: 7.3   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 192048
Attachments: stacktrace
stacktrace
stacktrace
sample form - java file
sample form - java file
sample form - form file

Description Chiana 2012-11-12 08:41:15 UTC
Build: NetBeans IDE Dev (Build 201211080001)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.3-b01, Java(TM) SE Runtime Environment, 1.7.0_07-b11
OS: Windows 7

User Comments:
Chiana: Inserted a jLabel into a JDesktop window, made it the full width of that and then attempted to change the variable name, but this was thrown when changing the selection from selecting both the desktopPane and the jLabel to just beeing the jLabel (i.e. clicking on the jLabel)




Stacktrace: 
java.lang.AssertionError
   at org.netbeans.modules.form.layoutdesign.LayoutRegion.overlap(LayoutRegion.java:381)
   at org.netbeans.modules.form.layoutdesign.LayoutDragger.orthogonalOverlap(LayoutDragger.java:1078)
   at org.netbeans.modules.form.layoutdesign.LayoutDragger.scanLayoutForNextTo(LayoutDragger.java:983)
   at org.netbeans.modules.form.layoutdesign.LayoutDragger.moveComponents(LayoutDragger.java:842)
   at org.netbeans.modules.form.layoutdesign.LayoutDragger.move(LayoutDragger.java:485)
   at org.netbeans.modules.form.layoutdesign.LayoutDesigner.encloseInContainer(LayoutDesigner.java:2272)
Comment 1 Chiana 2012-11-12 08:41:17 UTC
Created attachment 127580 [details]
stacktrace
Comment 2 markiewb 2013-06-21 13:05:00 UTC
Created attachment 136141 [details]
stacktrace

Tried to enclose two complex panels (both selected, including scrollpanes) into a splitpane
Comment 3 Ondrej Vrabec 2013-11-07 14:41:53 UTC
Created attachment 141941 [details]
stacktrace

selected a jpanel in the navigator and ran Enclose in -> Scroll Pane
Comment 4 Tomas Pavek 2013-11-08 18:02:26 UTC
Created attachment 142005 [details]
sample form - java file
Comment 5 Tomas Pavek 2013-11-08 18:03:02 UTC
Created attachment 142006 [details]
sample form - java file
Comment 6 Tomas Pavek 2013-11-08 18:03:24 UTC
Created attachment 142007 [details]
sample form - form file
Comment 7 Tomas Pavek 2013-11-08 18:04:43 UTC
Steps to reproduce: open the form attached above and try to enclose the lower panel into a scroll pane.
Comment 8 Quality Engineering 2015-02-04 03:27:29 UTC
Reported for 7.3.x or earlier, no new info since then -> closing as worksforme, please reopen in case you see it.