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 204814 - [71cat] AssertionError at org.netbeans.modules.form.layoutdesign.LayoutInterval.getCurrentSpace
Summary: [71cat] AssertionError at org.netbeans.modules.form.layoutdesign.LayoutInterv...
Status: RESOLVED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Natural Layout (show other bugs)
Version: 7.1
Hardware: All All
: P3 normal (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-08 07:19 UTC by MackSix
Modified: 2011-11-17 07:26 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 182689


Attachments
stacktrace (3.13 KB, text/plain)
2011-11-08 07:19 UTC, MackSix
Details
Project that exhibits the error. (17.09 KB, application/zip)
2011-11-08 07:21 UTC, MackSix
Details
Screenshot of action. (199.64 KB, image/png)
2011-11-08 07:22 UTC, MackSix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description MackSix 2011-11-08 07:19:50 UTC
Build: NetBeans IDE Dev (Build 201111070600)
VM: Java HotSpot(TM) Client VM, 21.1-b02, Java(TM) SE Runtime Environment, 1.7.0_01-b08
OS: Windows Vista

User Comments:
MackSix: Moving a jSplitPane1 on a jPanel and trying to snap it into place next to some other components.




Stacktrace: 
java.lang.AssertionError
   at org.netbeans.modules.form.layoutdesign.LayoutInterval.getCurrentSpace(LayoutInterval.java:507)
   at org.netbeans.modules.form.layoutdesign.LayoutFeeder.addToGroup(LayoutFeeder.java:2306)
   at org.netbeans.modules.form.layoutdesign.LayoutFeeder.mergeParallelInclusions(LayoutFeeder.java:4615)
   at org.netbeans.modules.form.layoutdesign.LayoutFeeder.add(LayoutFeeder.java:508)
   at org.netbeans.modules.form.layoutdesign.LayoutDesigner.addComponents(LayoutDesigner.java:1244)
   at org.netbeans.modules.form.layoutdesign.LayoutDesigner.endMoving(LayoutDesigner.java:1156)
Comment 1 MackSix 2011-11-08 07:19:54 UTC
Created attachment 112978 [details]
stacktrace
Comment 2 MackSix 2011-11-08 07:21:36 UTC
Created attachment 112979 [details]
Project that exhibits the error.

1) Open Project.
2) Move jSplitPane1 over and down and try to snap into place as shown in the attached screenshot.

This error happens.
Comment 3 MackSix 2011-11-08 07:22:28 UTC
Created attachment 112980 [details]
Screenshot of action.
Comment 4 Jan Stola 2011-11-08 10:30:06 UTC
Thank you for the test-case. I am able to reproduce the mentioned exception
using the attached project and the described steps.
Comment 5 Tomas Pavek 2011-11-16 19:04:54 UTC
Fixed.
http://hg.netbeans.org/jet-main/rev/43c4a49970f7
Comment 6 Quality Engineering 2011-11-17 07:26:56 UTC
Integrated into 'main-golden', will be available in build *201111170600* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/43c4a49970f7
User: Tomas Pavek <tpavek@netbeans.org>
Log: #204814: tweaking two-step parallel merging