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 203405 - IllegalArgumentException: Following is not met: min<=pref<=max
Summary: IllegalArgumentException: Following is not met: min<=pref<=max
Status: RESOLVED INCOMPLETE
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-10-10 03:30 UTC by MackSix
Modified: 2011-10-10 13:05 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 181809


Attachments
stacktrace (3.03 KB, text/plain)
2011-10-10 03:30 UTC, MackSix
Details
Project that exhibits the error. (18.27 KB, application/zip)
2011-10-10 03:55 UTC, MackSix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description MackSix 2011-10-10 03:30:21 UTC
Build: NetBeans IDE Dev (Build 201110070600)
VM: Java HotSpot(TM) Client VM, 21.0-b17, Java(TM) SE Runtime Environment, 1.7.0-b147
OS: Windows Vista

User Comments:
MackSix: Moving a jText field on a jPanel under a jLabel.




Stacktrace: 
java.lang.IllegalArgumentException: Following is not met: min<=pref<=max
   at javax.swing.GroupLayout.checkLessThan(GroupLayout.java:360)
   at javax.swing.GroupLayout.checkSize(GroupLayout.java:346)
   at javax.swing.GroupLayout.access$500(GroupLayout.java:208)
   at javax.swing.GroupLayout$GapSpring.<init>(GroupLayout.java:3173)
   at javax.swing.GroupLayout$Group.addGap(GroupLayout.java:1550)
   at javax.swing.GroupLayout$SequentialGroup.addGap(GroupLayout.java:1855)
Comment 1 MackSix 2011-10-10 03:30:25 UTC
Created attachment 111747 [details]
stacktrace
Comment 2 MackSix 2011-10-10 03:55:46 UTC
Created attachment 111749 [details]
Project that exhibits the error.

I was slightly moving jTextField1 to the left on NewJPanel.java when this occurred.

It was repeatable as long as the form was open.

I saved to zip and then opened the content of the zip file int NetBeans and it does not throw the error. But it might do it for someone else. It may be useful even if it doesn't.
Comment 3 Jan Stola 2011-10-10 13:05:55 UTC
I am sorry, I am not able to reproduce this issue and the attached stack-trace is not sufficient to track the problem down. Feel free to reopen this issue if you find steps to reproduce the exception. Thank you in advance.