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 Dev (Build 201109120600) VM: Java HotSpot(TM) Client VM, 21.0-b17, Java(TM) SE Runtime Environment, 1.7.0-b147 OS: Linux User Comments: asenk: Product Version: NetBeans IDE Dev (Build 201109120600) Java: 1.7.0; Java HotSpot(TM) Client VM 21.0-b17 System: Linux version 2.6.38-11-generic running on i386; UTF-8; en_US (nb) 1.Create new JFrame form, add some swing controls, set GridBagLayout 2.Customize Layout... 3.Enable uniform gaps 4.Close 5.Customize Layout... GUEST: trying to edit gridbaglayout for a topcomponent in a netbeans platform app GUEST: I try to change the "Weight X" value of an GridBagLayout. Stacktrace: java.lang.IllegalArgumentException: Comparison method violates its general contract! at java.util.TimSort.mergeLo(TimSort.java:747) at java.util.TimSort.mergeAt(TimSort.java:483) at java.util.TimSort.mergeForceCollapse(TimSort.java:426) at java.util.TimSort.sort(TimSort.java:223) at java.util.TimSort.sort(TimSort.java:173) at java.util.Arrays.sort(Arrays.java:659)
Created attachment 110710 [details] stacktrace
It seems to be a bug in JDK (as the stack-trace that contains no code from GUI Builder suggests). See http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7075600