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.
Build: NetBeans IDE 6.1 (Build 200804211638) VM: Java HotSpot(TM) Client VM, 10.0-b22, Java(TM) SE Runtime Environment, 1.6.0_06-b02 OS: Windows XP, 5.1, x86 User Comments: Placing a Scroll Pane on a Panel
Created attachment 61589 [details] stacktrace
I am sorry I am not able to reproduce this issue and the attached exception is not enough to track the problem down. Could you, please, provide more details. It would be ideal to attach the problematic form (both .java and .form files) saved in the last good state and describe exact steps that lead to this exception. Thank you in advance.
No additional information provided => closing as non-reproducible.
Created attachment 75596 [details] Sample project
I attached a simple project (originally attached to issue 144121 by reporter). When double clicking on file appxx.HsDataShee_t.java , the Exception 'IllegalArgumentException: Invalid size' is thrown. Hope this can help to track it down.
*** Issue 144121 has been marked as a duplicate of this issue. ***
Issue 144121 originally reported AssertionError, but now all the sample project, attached to 144121 throws this IllegalArgumentException and the AssertionError cannot be reproduced.
himesh: Thank you for your test project. The problem is inside .form file, designer saved empty space with wrong pref size. Fast workaround for you is to replace value "-2147483648" with "0" using external plain text editor outside the ide. Ideal way to deal with this issue is to find problem source and fix it. Are you able to attach steps to reproduce? We need steps to force designer to generate that invalid value while we debugging it. For now we can only add range checking while saving/loading forms to avoid this type of issue.
*** Issue 159536 has been marked as a duplicate of this issue. ***
Made a check on several places to correct invalid gap size: http://hg.netbeans.org/cdev/rev/f2f939a908bc
Integrated into 'main-golden', will be available in build *200904070200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/f2f939a908bc User: Tomas Pavek <tpavek@netbeans.org> Log: #135387, 159536: recover from invalid pref. size of a layout interval