java.lang.NullPointerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Re: Rampart 1.4 to consume a WCF-Policy webservice
    via by Nadine Hauteville,
  • If an unexpected Exception happens in Rampart processing (for example a noclassdeffound). A NPE occurs in processing of the FaultMessage. That results in an HTML Error Page send to the caller. Cause Parameter clientSideParam = msgCtx.getAxisService().getParameter(PARAM_CLIENT_SIDE); msgCtx.getAxisService() seems to be null in the case of an earlier Exception original exception: 2008-05-08 10:28:22,358 [http-8080-Processor25] ERROR org.apache.axis2.transport.http.AxisServlet - org/saxpath/SAXPathException java.lang.NoClassDefFoundError: org/saxpath/SAXPathException at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:620) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1847) at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:873) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1326) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1205) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at org.apache.rampart.RampartEngine.process(RampartEngine.java:78) at org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:91) at org.apache.axis2.engine.Phase.invoke(Phase.java:317) Exception while processing faultmessage 2008-05-08 10:28:22,365 [http-8080-Processor25] ERROR org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/axis2].[AxisServlet] - Servlet.service() for servlet AxisServlet threw exception java.lang.NullPointerException at org.apache.rampart.RampartMessageData.<init>(RampartMessageData.java:172) at org.apache.rampart.MessageBuilder.build(MessageBuilder.java:61) at org.apache.rampart.handler.RampartSender.invoke(RampartSender.java:64) at org.apache.axis2.engine.Phase.invoke(Phase.java:317) at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:264)
    via by Stefan Lischke,
  • Completly lost
    via by COURTAULT Francois,
  • RE: Completly lost
    via by James Annesley,
    • java.lang.NullPointerException at org.apache.rampart.RampartMessageData.<init>(RampartMessageData.java:308) at org.apache.rampart.MessageBuilder.build(MessageBuilder.java:61) at org.apache.rampart.handler.RampartSender.invoke(RampartSender.java:64) 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.sendFault(AxisEngine.java:520) at org.apache.axis2.transport.http.AxisServlet.handleFault(AxisServlet.java:416) at org.apache.axis2.transport.http.AxisServlet.processAxisFault(AxisServlet.java:379) at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:167) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    No Bugmate found.