RE: Exception after upgrading to Axis2 1.7.3

"Dinshaw, Afshad" <[email protected]>
Newsgroups gmane.text.xml.axis.user
Message-ID <AT5PR84MB00846D383DE5838210FCCDD791D00@AT5PR84MB0084.NAMPRD84.PROD.OUTLOOK.COM>
Use apache-cxf. It is more widely used and has better and legitimate documentation.
AXIS2 says you can use XmlBeans for databinding. When you goto the XmlBeans website they say the project is retired!

From: Bill Phillips [mailto:[email protected]]
Sent: Monday, October 17, 2016 3:58 PM
To: [email protected]
Subject: Exception after upgrading to Axis2 1.7.3

I was tasked out with upgrading our legacy Axis2 implemtation from 1.5.6  to 1.7.3.

I have worked through all the various library and compilation changes and it seems to be compiling and packaging as expected.

However, when I attempt to start the app, I receive the following:


2016-10-17 20:38:49.688 [localhost-startStop-1] ERROR org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/axis2] null - StandardWrapper.Throwable
java.lang.ExceptionInInitializerError
        at org.apache.axis2.description.AxisDescription.<init>(AxisDescription.java:72) ~[axis2-kernel-1.7.3.jar:1.7.3]
        at org.apache.axis2.engine.AxisConfiguration.<init>(AxisConfiguration.java:175) ~[axis2-kernel-1.7.3.jar:1.7.3]
        at org.apache.axis2.deployment.DeploymentEngine.populateAxisConfiguration(DeploymentEngine.java:627) ~[axis2-kernel-1.7.3.jar:1.7.3]
        at org.apache.axis2.deployment.WarBasedAxisConfigurator.<init>(WarBasedAxisConfigurator.java:157) ~[axis2-kernel-1.7.3.jar:1.7.3]
        at org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:620) ~[axis2-transport-http-1.7.3.jar:1.7.3]
        at org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:471) ~[axis2-transport-http-1.7.3.jar:1.7.3]
        at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1183) [catalina.jar:8.5.5]
        at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1099) [catalina.jar:8.5.5]
        at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:989) [catalina.jar:8.5.5]
        at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4913) [catalina.jar:8.5.5]
        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5223) [catalina.jar:8.5.5]
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) [catalina.jar:8.5.5]
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:724) [catalina.jar:8.5.5]
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:700) [catalina.jar:8.5.5]
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734) [catalina.jar:8.5.5]
        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:952) [catalina.jar:8.5.5]
        at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1823) [catalina.jar:8.5.5]
        at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_102]
        at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_102]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:1.8.0_102]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:1.8.0_102]
        at java.lang.Thread.run(Unknown Source) [?:1.8.0_102]
Caused by: java.lang.NullPointerException
        at org.apache.crimson.tree.ElementNode.getAttributeNodeNS(ElementNode.java:415) ~[crimson.jar:1.1]
        at org.apache.crimson.tree.ElementNode.getAttributeNS(ElementNode.java:392) ~[crimson.jar:1.1]
        at org.apache.axiom.locator.ImplementationFactory.parseImplementation(ImplementationFactory.java:131) ~[axiom-api-1.2.19.jar:1.2.19]
        at org.apache.axiom.locator.ImplementationFactory.parseDescriptor(ImplementationFactory.java:98) ~[axiom-api-1.2.19.jar:1.2.19]
        at org.apache.axiom.locator.DefaultOMMetaFactoryLocator.<init>(DefaultOMMetaFactoryLocator.java:87) ~[axiom-api-1.2.19.jar:1.2.19]
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_102]
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) ~[?:1.8.0_102]
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) ~[?:1.8.0_102]
        at java.lang.reflect.Constructor.newInstance(Unknown Source) ~[?:1.8.0_102]
        at java.lang.Class.newInstance(Unknown Source) ~[?:1.8.0_102]
        at org.apache.axiom.om.OMAbstractFactory.<clinit>(OMAbstractFactory.java:104) ~[axiom-api-1.2.19.jar:1.2.19]
        ... 22 more


I'm at a loss at to what is causing this problem.

Can anyone point me to a likely cause of this error?


Thanks,


Bill
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.