Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-7162

Fabric DeploymentAgent java.lang.IllegalArgumentException: Comparison method violates its general contract

XMLWordPrintable

    • % %

      Patching from Fuse 6.3 R2 to R4, a container was unable to patch due to a failure in updating the fabric agent.

      2017-07-27 21:59:03,413 | ERROR | 4.1.1-1-thread-1 | DeploymentAgent                  |  - 74 - io.fabric8.fabric-agent - 1.2.0.redhat-630283 | Unable to update agent
      java.lang.IllegalArgumentException: Comparison method violates its general contract!
              at java.util.TimSort.mergeLo(TimSort.java:777)[:1.8.0_121]
              at java.util.TimSort.mergeAt(TimSort.java:514)[:1.8.0_121]
              at java.util.TimSort.mergeCollapse(TimSort.java:441)[:1.8.0_121]
              at java.util.TimSort.sort(TimSort.java:245)[:1.8.0_121]
              at java.util.Arrays.sort(Arrays.java:1512)[:1.8.0_121]
              at java.util.ArrayList.sort(ArrayList.java:1454)[:1.8.0_121]
              at java.util.Collections.sort(Collections.java:175)[:1.8.0_121]
              at io.fabric8.agent.service.Deployer.getBundlesToStop(Deployer.java:1464)[74:io.fabric8.fabric-agent:1.2.0.redhat-630283]
              at io.fabric8.agent.service.Deployer.deploy(Deployer.java:909)[74:io.fabric8.fabric-agent:1.2.0.redhat-630283]
              at io.fabric8.agent.service.Agent.provision(Agent.java:366)[74:io.fabric8.fabric-agent:1.2.0.redhat-630283]
              at io.fabric8.agent.service.Agent.provision(Agent.java:199)[74:io.fabric8.fabric-agent:1.2.0.redhat-630283]
              at io.fabric8.agent.DeploymentAgent.doUpdate(DeploymentAgent.java:736)[74:io.fabric8.fabric-agent:1.2.0.redhat-630283]
              at io.fabric8.agent.DeploymentAgent$4.run(DeploymentAgent.java:287)[74:io.fabric8.fabric-agent:1.2.0.redhat-630283]
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_121]
              at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_121]
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_121]
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_121]
              at java.lang.Thread.run(Thread.java:745)[:1.8.0_121]
      

              pantinor@redhat.com Paolo Antinori
              rhn-support-mrobson Matt Robson
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: