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 7.1 (Build 201112071828) VM: Java HotSpot(TM) 64-Bit Server VM, 22.1-b02, Java(TM) SE Runtime Environment, 1.7.0_03-b04 OS: Linux User Comments: mb6802: Starting the debug on a maven-based project. (Resending under actual account instead of guest). GUEST: Trying to start debugger on a maven-based project. 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.mergeCollapse(TimSort.java:410) at java.util.TimSort.sort(TimSort.java:214) at java.util.TimSort.sort(TimSort.java:173) at java.util.Arrays.sort(Arrays.java:659)
Created attachment 116618 [details] stacktrace
It's likely, that the problem is caused by null indexes, that are compared as equals to other items. Thus two equal items (nulls) can be compared as equal to two items, that are not equal.
*** Bug 212456 has been marked as a duplicate of this bug. ***
Fixed by changeset: 222148:d3d3a12bd9c7 http://hg.netbeans.org/main/rev/d3d3a12bd9c7
Integrated into 'main-golden', will be available in build *201205190400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/d3d3a12bd9c7 User: mentlicher@netbeans.org Log: #209483: Fixed the sorting of source roots.
*** Bug 214586 has been marked as a duplicate of this bug. ***