You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by jijisv <ji...@gmail.com> on 2009/01/17 10:08:47 UTC

java.lang.NullPointerException while invoking a service deployed in weblogic 9.2

I deployed small webservice into weblogic9.2 using axis2 1.4.1 (latest
release) in war form. When i invoke the service i am getting the following
error

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
   <soapenv:Body>
      <soapenv:Fault>
         <faultcode>soapenv:Server</faultcode>
         <faultstring>java.lang.NullPointerException</faultstring>
         <detail>
            <Exception>org.apache.axis2.AxisFault:
java.lang.NullPointerException
	at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:195)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
	at
weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:223)
	at
weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
	at
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
	at
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
	at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3245)
	at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
	at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
	at
weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2003)
	at
weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1909)
	at
weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1359)
	at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
	at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
Caused by: java.lang.NullPointerException
	at
org.apache.axis2.engine.AbstractDispatcher.invoke(AbstractDispatcher.java:122)
	at org.apache.axis2.engine.Phase.invoke(Phase.java:317)
	at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:264)
	at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:163)
	at
org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)
	at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:133)
	... 14 more</Exception>
         </detail>
      </soapenv:Fault>
   </soapenv:Body>
</soapenv:Envelope>

But the same war file is working perfectly in tomcat.

the war file is organized as
HelloWorld.war
   -WEB-INF
       -lib 
            (contains all the axis2 libraries)
       -services
           -HelloWorldService.aar
           -services.list

Any idea why I am getting this error?? The below link says this issue is
already fixed.
http://www.nabble.com/java.lang.NullPointerException-AbstractDispatcher.invoke-tt18070227.html

Thanks
Jiji 
 
-- 
View this message in context: http://www.nabble.com/java.lang.NullPointerException-while-invoking-a-service-deployed-in-weblogic-9.2-tp21514430p21514430.html
Sent from the Axis - User mailing list archive at Nabble.com.