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 202068 - IllegalArgumentException: Comparison method violates its general contract!
Summary: IllegalArgumentException: Comparison method violates its general contract!
Status: RESOLVED WONTFIX
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: issues@guibuilder
URL:
Keywords: JDK_SPECIFIC
Depends on:
Blocks:
 
Reported: 2011-09-13 13:24 UTC by asenk
Modified: 2011-09-15 11:52 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 180519


Attachments
stacktrace (5.37 KB, text/plain)
2011-09-13 13:24 UTC, asenk
Details

Note You need to log in before you can comment on or make changes to this bug.
Description asenk 2011-09-13 13:24:40 UTC
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)
Comment 1 asenk 2011-09-13 13:24:44 UTC
Created attachment 110710 [details]
stacktrace
Comment 2 Jan Stola 2011-09-15 11:52:03 UTC
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