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 134915 - IllegalArgumentException: Pref and max must be either DEFAULT_VALUE or >= 0 and pref <= max
Summary: IllegalArgumentException: Pref and max must be either DEFAULT_VALUE or >= 0 a...
Status: RESOLVED WORKSFORME
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@guibuilder
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-13 07:23 UTC by lukcze
Modified: 2008-11-28 12:53 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 2445


Attachments
stacktrace (2.91 KB, text/plain)
2008-05-13 07:23 UTC, lukcze
Details
stacktrace (2.79 KB, text/plain)
2008-06-02 03:30 UTC, daryanto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description lukcze 2008-05-13 07:23:24 UTC
Build: NetBeans IDE 6.1 (Build 200804211638)
VM: Java HotSpot(TM) Client VM, 1.6.0_01-b06, Java(TM) SE Runtime Environment, 1.6.0_01-b06
OS: Windows XP, 5.1, x86

User Comments: 
An exception has occured during entering Design Mode of the Frame
Comment 1 lukcze 2008-05-13 07:23:33 UTC
Created attachment 61307 [details]
stacktrace
Comment 2 Exceptions Reporter 2008-05-19 13:36:14 UTC
This issue has already 20 duplicates 
Comment 3 daryanto 2008-06-02 03:30:10 UTC
Created attachment 62226 [details]
stacktrace
Comment 4 Petr Suchomel 2008-06-19 15:40:29 UTC
This really does not look like mobility issue, reassigning to form for eveluation
Comment 5 Jan Stola 2008-06-19 18:03:19 UTC
I am sorry, I am not able to reproduce this issue and the attached stack trace is not enough to track the problem down. 
It is clear what is wrong, but it is not clear what to do in this situation and how it is possible to get into this 
situation.

Are you still able to reproduce it? If so, could you, please, attach the problematic form (both .java and .form files) 
or provide exact steps to reproduce? Thank you in advance.
Comment 6 Jana Maleckova 2008-06-20 08:13:38 UTC
StackTrace:
===========
java.lang.IllegalArgumentException: Pref and max must be either DEFAULT_VALUE or >= 0 and pref <= max
        at org.jdesktop.layout.GroupLayout$SequentialGroup.addContainerGap(GroupLayout.java:1732)
        at org.netbeans.modules.form.layoutdesign.support.SwingLayoutBuilder.fillGroup(SwingLayoutBuilder.java:291)
        at org.netbeans.modules.form.layoutdesign.support.SwingLayoutBuilder.composeGroup(SwingLayoutBuilder.java:232)
        at org.netbeans.modules.form.layoutdesign.support.SwingLayoutBuilder.fillGroup(SwingLayoutBuilder.java:253)
Comment 7 Jan Stola 2008-07-01 10:53:38 UTC
No additional information provided => closing as non-reproducible. Feel free to reopen if you are still able to 
reproduce it, but provide more information then. Thank you in advance.