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 253115 - IllegalArgumentException: Comparison method violates its general contract!
Summary: IllegalArgumentException: Comparison method violates its general contract!
Status: NEW
Alias: None
Product: editor
Classification: Unclassified
Component: Navigation (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-23 06:23 UTC by Alexander Simon
Modified: 2015-06-24 14:54 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 218111


Attachments
stacktrace (3.14 KB, text/plain)
2015-06-23 06:23 UTC, Alexander Simon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Simon 2015-06-23 06:23:28 UTC
Build: NetBeans IDE Dev (Build 20150621-e84020a85246)
VM: OpenJDK 64-Bit Server VM, 24.79-b02, OpenJDK Runtime Environment, 1.7.0_79-b14
OS: Linux

User Comments:
alexvsimon: edit project properties




Stacktrace: 
java.lang.IllegalArgumentException: Comparison method violates its general contract!
   at java.util.TimSort.mergeLo(TimSort.java:747)
   at java.util.TimSort.mergeAt(TimSort.java:483)
   at java.util.TimSort.mergeCollapse(TimSort.java:408)
   at java.util.TimSort.sort(TimSort.java:214)
   at java.util.Arrays.sort(Arrays.java:727)
   at org.netbeans.modules.editor.structure.api.DocumentModel$ElementsArray.resort(DocumentModel.java:1430)
Comment 1 Alexander Simon 2015-06-23 06:23:30 UTC
Created attachment 154334 [details]
stacktrace
Comment 2 Milutin Kristofic 2015-06-23 11:19:42 UTC
Hi, do you have xml file that is throwing this exception? /tmp/vcs-1435037673634/vcs-1435040326365/configurations.xml or something else?
Comment 3 Alexander Simon 2015-06-24 14:54:11 UTC
(In reply to Milutin Kristofic from comment #2)
> Hi, do you have xml file that is throwing this exception?
> /tmp/vcs-1435037673634/vcs-1435040326365/configurations.xml or something
> else?
Unfortunately the folder /tmp was cleaned up after rebooting.
Original configurations.xml was in the hotspot project.
See http://netbeans.dzone.com/articles/hack-openjdk-netbeans-ide
I cloned sources, configure project and open NB project in the IDE.
I opened nbproject/configurations.xml in the editor to look at a changes.
The exception occurred after some manipulations in the project properties.