Loading ...
Sorry, an error occurred while loading the content.

Strange error

Expand Messages
  • Vineet Agrawal
    I am using Apache Axis and Tomcat server. I have a server that throws user defined exceptions to the client. I am able to deploy the web service, but when I
    Message 1 of 1 , Nov 7, 2003
    • 0 Attachment
      I am using Apache Axis and Tomcat server. I have a server that throws
      user defined exceptions to the client. I am able to deploy the web
      service, but when I invoke my client, I get this
      NullPointerException .
      This is the stack trace :
      AxisFault
      faultCode: {http://schemas.xmlsoap.org/soap/envelope/}
      Server.userException
      faultSubcode:
      faultString: java.lang.NullPointerException
      faultActor:
      faultNode:
      faultDetail:
      {http://xml.apache.org/axis/}stackTrace: AxisFault
      faultCode: {http://schemas.xmlsoap.org/soap/envelope/}
      Server.userException
      faultSubcode:
      faultString: java.lang.NullPointerException
      faultActor:
      faultNode:
      faultDetail:

      java.lang.NullPointerException
      at org.apache.axis.message.SOAPFaultBuilder.createFault
      (SOAPFaultBuilder
      .java:260)
      at org.apache.axis.message.SOAPFaultBuilder.endElement
      (SOAPFaultBuilder.
      java:169)
      at
      org.apache.axis.encoding.DeserializationContextImpl.endElement(Deseri
      alizationContextImpl.java:1015)
      at org.apache.crimson.parser.Parser2.maybeElement
      (Parser2.java:1528)
      at org.apache.crimson.parser.Parser2.content
      (Parser2.java:1779)
      at org.apache.crimson.parser.Parser2.maybeElement
      (Parser2.java:1507)
      at org.apache.crimson.parser.Parser2.content
      (Parser2.java:1779)
      at org.apache.crimson.parser.Parser2.maybeElement
      (Parser2.java:1507)
      at org.apache.crimson.parser.Parser2.parseInternal
      (Parser2.java:500)
      at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
      at org.apache.crimson.parser.XMLReaderImpl.parse
      (XMLReaderImpl.java:442)

      at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
      at org.apache.axis.encoding.DeserializationContextImpl.parse
      (Deserializa
      tionContextImpl.java:242)
      at org.apache.axis.SOAPPart.getAsSOAPEnvelope
      (SOAPPart.java:538)
      at org.apache.axis.Message.getSOAPEnvelope(Message.java:376)
      at org.apache.axis.client.Call.invokeEngine(Call.java:2583)
      at org.apache.axis.client.Call.invoke(Call.java:2553)
      at org.apache.axis.client.Call.invoke(Call.java:2248)
      at org.apache.axis.client.Call.invoke(Call.java:2171)
      at org.apache.axis.client.Call.invoke(Call.java:1691)
      at school.adm.AdministratorSoapBindingStub.getGradesOfStudent
      (Administra
      torSoapBindingStub.java:635)
      at AdmClient.main(AdmClient.java:21)


      java.lang.NullPointerException
      at org.apache.axis.message.SOAPFaultBuilder.createFault
      (SOAPFaultBuilder
      .java:260)
      at org.apache.axis.message.SOAPFaultBuilder.endElement
      (SOAPFaultBuilder.
      java:169)
      at
      org.apache.axis.encoding.DeserializationContextImpl.endElement(Deseri
      alizationContextImpl.java:1015)
      at org.apache.crimson.parser.Parser2.maybeElement
      (Parser2.java:1528)
      at org.apache.crimson.parser.Parser2.content
      (Parser2.java:1779)
      at org.apache.crimson.parser.Parser2.maybeElement
      (Parser2.java:1507)
      at org.apache.crimson.parser.Parser2.content
      (Parser2.java:1779)
      at org.apache.crimson.parser.Parser2.maybeElement
      (Parser2.java:1507)
      at org.apache.crimson.parser.Parser2.parseInternal
      (Parser2.java:500)
      at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
      at org.apache.crimson.parser.XMLReaderImpl.parse
      (XMLReaderImpl.java:442)

      at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
      at org.apache.axis.encoding.DeserializationContextImpl.parse
      (Deserializa
      tionContextImpl.java:242)
      at org.apache.axis.SOAPPart.getAsSOAPEnvelope
      (SOAPPart.java:538)
      at org.apache.axis.Message.getSOAPEnvelope(Message.java:376)
      at org.apache.axis.client.Call.invokeEngine(Call.java:2583)
      at org.apache.axis.client.Call.invoke(Call.java:2553)
      at org.apache.axis.client.Call.invoke(Call.java:2248)
      at org.apache.axis.client.Call.invoke(Call.java:2171)
      at org.apache.axis.client.Call.invoke(Call.java:1691)
      at school.adm.AdministratorSoapBindingStub.getGradesOfStudent
      (AdministratorSoapBindingStub.java:635)
      at AdmClient.main(AdmClient.java:21)


      Please help me with this.

      Thanks in advance.
    Your message has been successfully submitted and would be delivered to recipients shortly.