Mattias Andersson created CAMEL-10887:
-----------------------------------------

             Summary: 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)

Reply via email to