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 257997 - IllegalArgumentException: Comparison method violates its general contract
Summary: IllegalArgumentException: Comparison method violates its general contract
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 8.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Antonin Nebuzelsky
Depends on:
Reported: 2016-02-15 18:48 UTC by ngx472
Modified: 2016-02-24 12:29 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description ngx472 2016-02-15 18:48:35 UTC
Did not find duplicate for this one although stak trace begins the same
Here it's rooted at 

Do not ask for repro, it's transient when editing folder property and asking to "sort by Modification Time"

Hint(?): the folder is big and under SVN

java.lang.IllegalArgumentException: Comparison method violates its general contract!
                at java.util.TimSort.mergeHi(
                at java.util.TimSort.mergeAt(
                at java.util.TimSort.mergeForceCollapse(
                at java.util.TimSort.sort(
                at java.util.TimSort.sort(
                at java.util.Arrays.sort(
                at java.util.Collections.sort(
                at org.openide.loaders.FolderList.carefullySort(
                at org.openide.loaders.FolderList.getObjects(
                at org.openide.loaders.FolderList.access$600(
                at org.openide.loaders.FolderList$
                at org.openide.util.RequestProcessor$
                at org.netbeans.modules.openide.util.GlobalLookup.execute(
                at org.openide.util.lookup.Lookups.executeWith(
[catch] at org.openide.util.RequestProcessor$