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 271300

Summary: IllegalArgumentException: Comparison method violates its general contract!
Product: editor Reporter: ondrejd
Component: NavigationAssignee: Milutin Kristofic <mkristofic>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 230042
Attachments: stacktrace

Description ondrejd 2017-08-15 13:56:17 UTC
Build: NetBeans IDE 8.2 (Build 201609300101)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.131-b11, Java(TM) SE Runtime Environment, 1.8.0_131-b11
OS: Linux

User Comments:
ondrejd: Opening generated RSS feed.




Stacktrace: 
java.lang.IllegalArgumentException: Comparison method violates its general contract!
   at java.util.TimSort.mergeHi(TimSort.java:899)
   at java.util.TimSort.mergeAt(TimSort.java:516)
   at java.util.TimSort.mergeCollapse(TimSort.java:441)
   at java.util.TimSort.sort(TimSort.java:245)
   at java.util.Arrays.sort(Arrays.java:1512)
   at org.netbeans.modules.editor.structure.api.DocumentModel$ElementsArray.resort(DocumentModel.java:1430)
Comment 1 ondrejd 2017-08-15 13:56:19 UTC
Created attachment 164957 [details]
stacktrace