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 256293

Summary: IllegalArgumentException: Comparison method violates its general contract!
Product: web Reporter: andrewgilmartin <andrewgilmartin>
Component: HTML ProjectAssignee: Tomas Mysik <tmysik>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 220874
Attachments: stacktrace

Description andrewgilmartin 2015-10-31 14:55:14 UTC
Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.71-b01, Java(TM) SE Runtime Environment, 1.7.0_71-b14
OS: Mac OS X

User Comments:
andrewgilmartin: I was updating the CDNJS libraries. They had never been updated before. The first time I tried NB ran out of heap. I increased the heap to 4G, cleaner the ~/Library/Cache/NetBeans directory, and updating again. This is when the exception occured.




Stacktrace: 
java.lang.IllegalArgumentException: Comparison method violates its general contract!
   at java.util.TimSort.mergeHi(TimSort.java:868)
   at java.util.TimSort.mergeAt(TimSort.java:485)
   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 andrewgilmartin 2015-10-31 14:55:16 UTC
Created attachment 157081 [details]
stacktrace
Comment 2 Tomas Mysik 2015-11-02 06:42:14 UTC

*** This bug has been marked as a duplicate of bug 243494 ***