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] [Commented] (KARAF-4951) Incorrect Equals/HashCode implementation crashes Deployer
Date Fri, 20 Jan 2017 09:59:26 GMT

    [ https://issues.apache.org/jira/browse/KARAF-4951?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15831493#comment-15831493
] 

Fabian Lange commented on KARAF-4951:
-------------------------------------

closed via https://github.com/apache/karaf/commit/c9efa88037652a91073ed31702a016a9b5b36136
for master
and for 4.0.x on https://github.com/apache/karaf/commit/d7c5d3858d802f48e4ef23ae78089499184dbc8b

> 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
>
> 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