[jbosstools-issues] [JBoss JIRA] (JBIDE-26171) Delete resources: deleting all causes error "Comparison method violates its general contract!"

Andre Dietisheim (JIRA) issues at jboss.org
Wed Jul 4 15:52:00 EDT 2018


     [ https://issues.jboss.org/browse/JBIDE-26171?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andre Dietisheim updated JBIDE-26171:
-------------------------------------
    Labels: delete_resources  (was: )


> Delete resources: deleting all causes error "Comparison method violates its general contract!"
> ----------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-26171
>                 URL: https://issues.jboss.org/browse/JBIDE-26171
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: openshift
>    Affects Versions: 4.6.0.AM3
>            Reporter: Andre Dietisheim
>            Assignee: Andre Dietisheim
>              Labels: delete_resources
>             Fix For: 4.6.0.Final
>
>         Attachments: image-2018-07-04-21-50-14-821.png
>
>
> steps:
> # EXEC: create an app based on the nodejs-mongo-persistent template, have project imported and a server adapter for it
> # EXEC: restart server adapter several times in "Debug" then in "Run" then in "Debug" then in "Run" etc 
> # ASSERT: have many deployments, replication controllers, deployment configs etc.
> # EXEC: select the project and pick "Delete Resources..." in the context menu
> # ASSERT: delete resources wizard shows up
> # EXEC: select all resources & finish the wizard
> Result:
>  !image-2018-07-04-21-50-14-821.png! 
> in the Eclipse log you'll find the following
> {code}
> java.lang.IllegalArgumentException: Comparison method violates its general contract!
> 	at java.base/java.util.TimSort.mergeLo(TimSort.java:777)
> 	at java.base/java.util.TimSort.mergeAt(TimSort.java:514)
> 	at java.base/java.util.TimSort.mergeForceCollapse(TimSort.java:457)
> 	at java.base/java.util.TimSort.sort(TimSort.java:254)
> 	at java.base/java.util.Arrays.sort(Arrays.java:1514)
> 	at java.base/java.util.stream.SortedOps$SizedRefSortingSink.end(SortedOps.java:348)
> 	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
> 	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
> 	at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913)
> 	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
> 	at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:511)
> 	at org.jboss.tools.openshift.internal.core.job.DeleteResourcesJob.doRun(DeleteResourcesJob.java:57)
> 	at org.jboss.tools.openshift.internal.common.core.job.AbstractDelegatingMonitorJob.run(AbstractDelegatingMonitorJob.java:37)
> 	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:60)
> {code}



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jbosstools-issues mailing list