sdk 5.10.0 SEVERE error javassist-3.20.0-GA EOFException

KC Integrations June 20, 2016

I am getting this error using the latest sdk with Confluence 5.10.0, all other confluence versions work, except 5.10.0.

 

I get hundreds of these in the log file.... My plugin is missing functionality, specifically XHtmlContent does not work, and I'm not sure if this is related or yet another failure of Confluence 5.10.0. 

 

INFO] [talledLocalContainer] SEVERE: Unable to process Jar entry [javassist/util/proxy/SerializedProxy.class] from Jar [jar:file:/C:/Builds/confluence-blog-tools-v5.9/target/container/tomcat8x/cargo-confluence-home/webapps/confluence/WEB-INF/lib/javassist-3.20.0-GA.jar!/] for annotations
[INFO] [talledLocalContainer] java.io.EOFException
[INFO] [talledLocalContainer] at java.io.DataInputStream.readUnsignedShort(DataInputStream.java:340)
[INFO] [talledLocalContainer] at org.apache.tomcat.util.bcel.classfile.Utility.swallowMethodParameters(Utility.java:188)
[INFO] [talledLocalContainer] at org.apache.tomcat.util.bcel.classfile.Attribute.readAttribute(Attribute.java:159)
[INFO] [talledLocalContainer] at org.apache.tomcat.util.bcel.classfile.FieldOrMethod.<init>(FieldOrMethod.java:76)
[INFO] [talledLocalContainer] at org.apache.tomcat.util.bcel.classfile.ClassParser.readMethods(ClassParser.java:226)
[INFO] [talledLocalContainer] at org.apache.tomcat.util.bcel.classfile.ClassParser.parse(ClassParser.java:101)
[INFO] [talledLocalContainer] at org.apache.catalina.startup.ContextConfig.processAnnotationsStream(ContextConfig.java:1987)
[INFO] [talledLocalContainer] at org.apache.catalina.startup.ContextConfig.processAnnotationsJar(ContextConfig.java:1940)
[INFO] [talledLocalContainer] at org.apache.catalina.startup.ContextConfig.processAnnotationsUrl(ContextConfig.java:1915)
[INFO] [talledLocalContainer] at org.apache.catalina.startup.ContextConfig.processAnnotations(ContextConfig.java:1876)
[INFO] [talledLocalContainer] at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1145)
[INFO] [talledLocalContainer] at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:767)
[INFO] [talledLocalContainer] at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:302)
[INFO] [talledLocalContainer] at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
[INFO] [talledLocalContainer] at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
[INFO] [talledLocalContainer] at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5083)
[INFO] [talledLocalContainer] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
[INFO] [talledLocalContainer] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:724)
[INFO] [talledLocalContainer] at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:700)
[INFO] [talledLocalContainer] at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:714)
[INFO] [talledLocalContainer] at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:919)
[INFO] [talledLocalContainer] at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1704)
[INFO] [talledLocalContainer] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[INFO] [talledLocalContainer] at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[INFO] [talledLocalContainer] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
[INFO] [talledLocalContainer] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[INFO] [talledLocalContainer] at java.lang.Thread.run(Thread.java:745)
[INFO] [talledLocalContainer]

11 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

2 votes
Rafael Franco
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 17, 2016

How do we exactly fix this in the pom?

1 vote
Marina Ferraz McCashin July 25, 2016

This issue can be resolved by adding the following line to your catalina.properties file:

tomcat.util.scan.DefaultJarScanner.jarsToSkip=javassist-*.jar

This needs to be added to both the confluence tomcat files as well as the tomcat jar referenced from your maven repo. 

 

0 votes
vsoued December 5, 2016

Hello, has anyone come up with a workaround or solution?

0 votes
Mel Paisley
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 4, 2016

Hi,

We've created a bug at https://ecosystem.atlassian.net/browse/ATLASSDK-78 - you can vote on and watch the issue, or add additional feedback to the ticket.  

Cheers,
Melissa 

0 votes
Rafael Franco
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 17, 2016

How do we exactly fix this in the pom? is there an issue opened at Atlassian?

0 votes
Steve Kling September 13, 2016

Very disconcerting in that level is SEVERE and this error ^ displays a huge amount of stacktraces. According to [this|http://stackoverflow.com/questions/30390487/openshift-tomcat-processing-annotations-error-deploying-war], it's a tomcat issue supposed to be fixed in tomcat 7.0.70 but the version packaged with Confluence 5.10.x is Tomcat 8.0.90. A few different fixes were tried including adding an ignore to the catalina.properties as per http://stackoverflow.com/a/23608847

Functionality doesn't SEEM to be impacted, but more thorough tests are needed.

0 votes
Marina Ferraz McCashin July 25, 2016

@Chris Kent Have you resolved this issue? 

0 votes
Stefan M July 11, 2016

I did a total new install of my operation system in order to get a absolutely clean Atlassian Sdk. Further I have created a totally new plugin using "atlas-create-confluence-plugin". However, the issue still exists.

Is this a bug of confluence or of the Atlassian SDK?

0 votes
Stefan M July 7, 2016

and here

0 votes
Mats July 4, 2016

and here

0 votes
Manuel Kummerländer June 24, 2016

Same here sad

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

TAGS
AUG Leaders

Atlassian Community Events