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 240634 - IllegalStateException: Interval lost from root, please report this exception. Related to bug 222703.
Summary: IllegalStateException: Interval lost from root, please report this exception....
Status: NEW
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: issues@guibuilder
: 225498 (view as bug list)
Depends on:
Reported: 2014-01-18 05:28 UTC by mortoza
Modified: 2016-04-22 01:53 UTC (History)
7 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 202293

stacktrace (3.19 KB, text/plain)
2014-01-18 05:28 UTC, mortoza
stacktrace (3.26 KB, text/plain)
2014-06-03 21:50 UTC, Exceptions Reporter

Note You need to log in before you can comment on or make changes to this bug.
Description mortoza 2014-01-18 05:28:06 UTC
Build: NetBeans IDE 8.0 Beta (Build 201401141042)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.0-b56, Java(TM) SE Runtime Environment, 1.7.0_40-b43
OS: Windows 7

User Comments:
mortoza: When I moved a component in GUI interface, got this error

infonaut: Free Form Layouter, try to get some panels into the right position

gwimag: Design frame (JDialog)

kingpatron: I was working with forms, when I got this error.

GUEST: Unrelated Exception

java.lang.IllegalStateException: Interval lost from root, please report this exception. Related to bug 222703.
   at org.netbeans.modules.form.layoutdesign.LayoutFeeder.checkRoot(
   at org.netbeans.modules.form.layoutdesign.LayoutFeeder.addToGroup(
   at org.netbeans.modules.form.layoutdesign.LayoutFeeder.addInterval(
   at org.netbeans.modules.form.layoutdesign.LayoutFeeder.add(
   at org.netbeans.modules.form.layoutdesign.LayoutDesigner.addComponents(
   at org.netbeans.modules.form.layoutdesign.LayoutDesigner.endMoving(
Comment 1 mortoza 2014-01-18 05:28:08 UTC
Created attachment 144094 [details]
Comment 2 Tomas Pavek 2014-02-07 18:33:07 UTC
With this exception we have some more data in the log that narrow down the possible situations that might cause the data inconsistency, but it is still not enough (basically missing the state before the actual mouse operation).

Any chance anybody has a reproducible test case?

If this bug happened to you please save the form at the moment and attach it here, together with the log file. That would help a lot. Thanks.
Comment 3 Tomas Pavek 2014-02-10 10:30:38 UTC
*** Bug 225498 has been marked as a duplicate of this bug. ***
Comment 4 Tomas Pavek 2014-02-11 11:10:31 UTC
Added more diagnostics to this exception, should be in final 8.0. Next time it happens we should get an additional stacktrace showing where the actual inconsistency (a removed parent group) was caused.
Comment 5 Exceptions Reporter 2014-06-03 21:50:12 UTC
Created attachment 147560 [details]

<Please provide a description of the problem or the steps to reproduce>
i was designing using the Jpanel
Comment 6 Tomas Pavek 2015-09-22 13:01:24 UTC
The new logs from 8.0 provided some information about where the problem happened, though still not enough to reproduce the problem. I've tried to add some code that should fix the situation on the revealed three places.

One case (exc 760176) remains special and completely unclear how it could happen.

Keeping the bug opened, let's see if we get some new exceptions after the fix in 8.1.
Comment 7 Quality Engineering 2015-09-23 01:25:16 UTC
Integrated into 'main-silver', will be available in build *201509230002* on (upload may still be in progress)

User: Tomas Pavek <>
Log: #240634: some more fixes against using groups optimized out from hierarchy (original bug 222703)
Comment 8 Quality Engineering 2015-10-01 05:02:45 UTC
Integrated into 'main-silver', will be available in build *201510010328* on (upload may still be in progress)

User: Tomas Pavek <>
Log: #240634 (might be related): don't allow dragging layout operation to continue if some component is removed/added meanwhile (from pressing delete, Ctrl-Y, etc)