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 214586 - IllegalArgumentException: Comparison method violates its general contract!
Summary: IllegalArgumentException: Comparison method violates its general contract!
Status: RESOLVED DUPLICATE of bug 209483
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 7.1
Hardware: All All
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-21 15:35 UTC by lallafa
Modified: 2012-06-28 14:14 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 185377


Attachments
stacktrace (4.16 KB, text/plain)
2012-06-21 15:35 UTC, lallafa
Details
stacktrace (4.16 KB, text/plain)
2012-06-27 12:02 UTC, tomzi
Details
stacktrace (4.16 KB, text/plain)
2012-06-28 11:02 UTC, tomzi
Details
stacktrace (4.16 KB, text/plain)
2012-06-28 14:14 UTC, tomzi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description lallafa 2012-06-21 15:35:38 UTC
This issue was reported manually by lallafa.
It already has 3 duplicates 


Build: NetBeans IDE 7.1.2 (Build 201204101705)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.1-b03, Java(TM) SE Runtime Environment, 1.7.0_05-b05
OS: Windows 7

User Comments:
lallafa: debugging single maven test

kaisuchomel: Start project in debug

GUEST: Trying to debug maven project.

After this exception :
- Threads list in Debugging Panel is hidden;
- I can't stop the debugger with the stop button (netbeans crash).




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 lallafa 2012-06-21 15:35:43 UTC
Created attachment 121182 [details]
stacktrace
Comment 2 Martin Entlicher 2012-06-22 14:21:37 UTC

*** This bug has been marked as a duplicate of bug 209483 ***
Comment 3 tomzi 2012-06-27 12:02:05 UTC
Created attachment 121444 [details]
stacktrace
Comment 4 tomzi 2012-06-28 11:02:08 UTC
Created attachment 121490 [details]
stacktrace
Comment 5 Exceptions Reporter 2012-06-28 11:02:25 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=185377
Comment 6 tomzi 2012-06-28 14:14:07 UTC
Created attachment 121503 [details]
stacktrace

Apperently there seems to be a mixup with ant libraries.
Our project uses ant as dependencies. But if I try to debug a test it will start with this exception and the following lines in the output:

Have no file for C:\OtherPrograms\Java\jdk1.5.0_22\jre\lib\i18n.jar
WARNING: multiple versions of ant detected in path for junit 
         jar:file:/C:/Program%20Files%20(x86)/NetBeans%207.2%20Beta/java/ant/lib/ant.jar!/org/apache/tools/ant/Project.class
     and jar:file:/C:/Benutzer/Thomas/.m2/repository/ant/ant/1.6.5/ant-1.6.5.jar!/org/apache/tools/ant/Project.class