java.lang.NullPointerException

Apache's JIRA Issue Tracker | Stefan Lischke | 9 years ago
  1. 0

    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)

    Apache's JIRA Issue Tracker | 9 years ago | Stefan Lischke
    java.lang.NullPointerException
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Re: Rampart 1.4 to consume a WCF-Policy webservice

    ws-rampart-dev | 8 years ago | Nadine Hauteville
    org.apache.axis2.AxisFault: Error in obtaining a token

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.apache.rampart.RampartMessageData.<init>()
    2. Rampart - Core
      RampartSender.invoke
      1. org.apache.rampart.RampartMessageData.<init>(RampartMessageData.java:172)
      2. org.apache.rampart.MessageBuilder.build(MessageBuilder.java:61)
      3. org.apache.rampart.handler.RampartSender.invoke(RampartSender.java:64)
      3 frames
    3. org.apache.axis2
      AxisEngine.invoke
      1. org.apache.axis2.engine.Phase.invoke(Phase.java:317)
      2. org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:264)
      2 frames