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 242547 - java.lang.IllegalArgumentException: Comparison method violates its general contract! - in hudson job properties view
Summary: java.lang.IllegalArgumentException: Comparison method violates its general co...
Status: NEW
Alias: None
Product: connecteddeveloper
Classification: Unclassified
Component: Hudson (show other bugs)
Version: 8.0
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Jaroslav Havlin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-04 11:12 UTC by markiewb
Modified: 2014-11-23 10:58 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description markiewb 2014-03-04 11:12:27 UTC
Checked the property "Watched" in the properties panel of a hudson job in the service panel.

java.lang.IllegalArgumentException: Comparison method violates its general contract!
	at java.util.ComparableTimSort.mergeHi(ComparableTimSort.java:835)
	at java.util.ComparableTimSort.mergeAt(ComparableTimSort.java:453)
	at java.util.ComparableTimSort.mergeForceCollapse(ComparableTimSort.java:392)
	at java.util.ComparableTimSort.sort(ComparableTimSort.java:191)
	at java.util.ComparableTimSort.sort(ComparableTimSort.java:146)
	at java.util.Arrays.sort(Arrays.java:472)
	at java.util.Collections.sort(Collections.java:155)
	at org.netbeans.modules.hudson.ui.nodes.HudsonInstanceNode$InstanceNodeChildren.refreshKeys(HudsonInstanceNode.java:330)
	at org.netbeans.modules.hudson.ui.nodes.HudsonInstanceNode$InstanceNodeChildren.access$300(HudsonInstanceNode.java:277)
	at org.netbeans.modules.hudson.ui.nodes.HudsonInstanceNode$InstanceNodeChildren$1.preferenceChange(HudsonInstanceNode.java:286)
[catch] at java.util.prefs.AbstractPreferences$EventDispatchThread.run(AbstractPreferences.java:1490)


Product Version: NetBeans IDE 8.0 RC1 (Build 201402202300)
Java: 1.7.0_45; Java HotSpot(TM) 64-Bit Server VM 24.45-b08
Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b18
System: Windows 7 version 6.1 running on amd64; Cp1252; de_DE (nb)
User directory: C:\Users\markiewb\AppData\Roaming\NetBeans\8.0rc1
Cache directory: C:\Users\markiewb\AppData\Local\NetBeans\Cache\8.0rc1
Comment 1 Jaroslav Havlin 2014-03-04 11:43:05 UTC
The property "Watched" was probably modified while a list that contained the HudsonJobImpl was being sorted.
Comment 2 Mardonis 2014-11-19 16:25:00 UTC
Is this bug beeing looked at any further?

This error keeps coming up when loading the newly updated javascript libs from cdn while updating and adding libs in a HTML5 project.

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)
	at java.util.Collections.sort(Collections.java:217)
	at org.netbeans.modules.web.clientproject.api.jslibs.JavaScriptLibrarySelectionPanel$LibrariesTableModel$1.run(JavaScriptLibrarySelectionPanel.java:1270)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1423)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)


Product Version: NetBeans IDE 8.0.1 (Build 201408251540)
Updates: NetBeans IDE is updated to version NetBeans 8.0.1 Patch 1.1
Java: 1.7.0_65; Java HotSpot(TM) Client VM 24.65-b04
Runtime: Java(TM) SE Runtime Environment 1.7.0_65-b19
System: Windows 7 version 6.1 running on x86; Cp1252; en_US (nb)
User directory: C:\Users\mardonis\AppData\Roaming\NetBeans\8.0
Cache directory: C:\Users\mardonis\AppData\Local\NetBeans\Cache\8.0
Comment 3 markiewb 2014-11-23 10:57:31 UTC
(In reply to Mardonis from comment #2)
> Is this bug beeing looked at any further?
> 
> This error keeps coming up when loading the newly updated javascript libs
> from cdn while updating and adding libs in a HTML5 project.
> 
Filed https://netbeans.org/bugzilla/show_bug.cgi?id=248834 because the fix would be in a different module