karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fabian Lange (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (KARAF-4951) Incorrect Equals/HashCode implementation crashes Deployer
Date Fri, 20 Jan 2017 10:00:35 GMT

     [ https://issues.apache.org/jira/browse/KARAF-4951?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Fabian Lange closed KARAF-4951.
-------------------------------
    Resolution: Fixed

> Incorrect Equals/HashCode implementation crashes Deployer
> ---------------------------------------------------------
>
>                 Key: KARAF-4951
>                 URL: https://issues.apache.org/jira/browse/KARAF-4951
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 4.0.8
>            Reporter: Fabian Lange
>            Priority: Critical
>             Fix For: 4.1.0, 4.0.9
>
>
> java.lang.IllegalArgumentException: Comparison method violates its general contract!
>         at java.util.TimSort.mergeLo(TimSort.java:777)[:1.8.0_101]
>         at java.util.TimSort.mergeAt(TimSort.java:514)[:1.8.0_101]
>         at java.util.TimSort.mergeCollapse(TimSort.java:441)[:1.8.0_101]
>         at java.util.TimSort.sort(TimSort.java:245)[:1.8.0_101]
>         at java.util.Arrays.sort(Arrays.java:1512)[:1.8.0_101]
>         at java.util.ArrayList.sort(ArrayList.java:1454)[:1.8.0_101]
>         at java.util.Collections.sort(Collections.java:175)[:1.8.0_101]
>         at org.apache.karaf.features.internal.service.Deployer.getBundlesToStop(Deployer.java:1334)[6:org.apache.karaf.features.core:4.0.5]
>         at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:798)[6:org.apache.karaf.features.core:4.0.5]
>         at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1152)[6:org.apache.karaf.features.core:4.0.5]
>         at org.apache.karaf.features.internal.service.FeaturesServiceImpl$1.call(FeaturesServiceImpl.java:1048)[6:org.apache.karaf.features.core:4.0.5]
>         at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_101]
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_101]
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_101]
>         at java.lang.Thread.run(Thread.java:745)[:1.8.0_101]



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message