camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-10887) pack200.exe is not work with camel 2.18.2
Date Thu, 23 Feb 2017 14:20:44 GMT

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

Claus Ibsen commented on CAMEL-10887:
-------------------------------------

The class is in the JAR
 1760 Sun Jan 22 16:42:44 CET 2017 org/apache/camel/com/github/benmanes/caffeine/cache/stats/StatsCounter.class

> pack200.exe is not work with camel 2.18.2
> -----------------------------------------
>
>                 Key: CAMEL-10887
>                 URL: https://issues.apache.org/jira/browse/CAMEL-10887
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.18.2
>            Reporter: Mattias Andersson
>            Priority: Minor
>
> we are packing camel-core-2.18.2 together using pack200.exe and get the following error:
> pack200.exe" -r camel-core-2.18.2.jar
> Exception in thread "main" java.io.IOException: null ref
>         at com.sun.java.util.jar.pack.NativeUnpack.start(Native Method)
>         at com.sun.java.util.jar.pack.NativeUnpack.run(NativeUnpack.java:198)
>         at com.sun.java.util.jar.pack.NativeUnpack.run(NativeUnpack.java:247)
>         at com.sun.java.util.jar.pack.UnpackerImpl.unpack(UnpackerImpl.java:138)
>         at com.sun.java.util.jar.pack.Driver.main(Driver.java:354)
> The offending class in the jar-file seems to be: org/apache/camel/com/github/benmanes/caffeine/cache/stats/StatsCounter
> Should this class really be part of the jar-file (and other classes from caffeine). We
excluded the class when we pack and then it works!! 
> There is no problem using camel-core-2.17.x and pack200.exe



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message