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 - AssertionError at org.netbeans.modules.form.layoutdesign.LayoutRegion.overlap
Summary: AssertionError at org.netbeans.modules.form.layoutdesign.LayoutRegion.overlap
Status: RESOLVED WORKSFORME
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-12 08:41 UTC by Chiana
Modified: 2015-02-04 03:27 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 192048


Attachments
stacktrace (3.48 KB, text/plain)
2012-11-12 08:41 UTC, Chiana
Details
stacktrace (3.48 KB, text/plain)
2013-06-21 13:05 UTC, markiewb
Details
stacktrace (3.48 KB, text/plain)
2013-11-07 14:41 UTC, Ondrej Vrabec
Details
sample form - java file (2.94 KB, application/octet-stream)
2013-11-08 18:02 UTC, Tomas Pavek
Details
sample form - java file (3.29 KB, application/octet-stream)
2013-11-08 18:03 UTC, Tomas Pavek
Details
sample form - form file (3.33 KB, application/octet-stream)
2013-11-08 18:03 UTC, Tomas Pavek
Details

Note You need to log in before you can comment on or make changes to this bug.
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.