axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Jordahl <>
Subject Re: [AXIS2-5320] org.apache.axis2.AxisFault: invalid entry size
Date Mon, 20 Jul 2015 14:26:29 GMT
I resolved and closed it.
Tom Jordahl

From: Eranda Sooriyabandara
Reply-To: "<>"
Date: Tuesday, July 14, 2015 at 10:54 PM
To: "<>"
Subject: [AXIS2-5320] org.apache.axis2.AxisFault: invalid entry

Hi All,
I went through the exception and related code and found that the only possibility of this
issue to happen is corrupted .aar file.
Tried to reproduce the exact case by corrupting the .aar file and was able to produce an exception
which thrown in the same place in axis2 code (org.apache.axis2.deployment.util.Utils.findLibJars)
but the cause is bit different.

Since the cause can be different with how it get corrupted, my opinion is that we don't need
to spend more on this because we narrow the issue down to be a issue with the .aar file. If
all the devs agreed we can close this issue.



[WARN] Exception extracting jars into temporary directory : invalid
code lengths set : switching to alternate class loading mechanism
[ERROR] The version.aar service, which is not valid, caused invalid
code lengths set
org.apache.axis2.AxisFault: invalid code lengths set
at org.apache.axis2.AxisFault.makeFault(
at org.apache.axis2.deployment.repository.util.DeploymentFileData.setClassLoader(
at org.apache.axis2.deployment.ServiceDeployer.deploy(
at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(
at org.apache.axis2.deployment.DeploymentEngine.doDeploy(
at org.apache.axis2.deployment.repository.util.WSInfoList.update(
at org.apache.axis2.deployment.RepositoryListener.update(
at org.apache.axis2.deployment.RepositoryListener.checkServices(
at org.apache.axis2.deployment.DeploymentEngine.loadServices(
at org.apache.axis2.deployment.FileSystemConfigurator.loadServices(
at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(
at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(
at org.apache.axis2.transport.SimpleAxis2Server.<init>(
at org.apache.axis2.transport.SimpleAxis2Server.main(
Caused by: java.lang.RuntimeException: invalid code lengths set
at org.apache.axis2.deployment.util.Utils.findLibJars(
at org.apache.axis2.deployment.util.Utils.createClassLoader(
at org.apache.axis2.deployment.repository.util.DeploymentFileData.setClassLoader(
... 12 more
Caused by: invalid code lengths set
at org.apache.axis2.deployment.util.Utils.findLibJars(
... 14 more

Eranda Sooriyabandara
E-mail: eranda.sooriyabandara AT<>
Mobile: +94 716 472 816
View raw message