Forums Register Login

faultCode: Server.generalException

+Pie Number of slices to send: Send
Hi

When I am passing empty array or null from webservice client, My webservice working fine but when I am trying to add some value into array from client side and submit to the server side, I am getting following exception.


WebServicesFault
faultCode: Server.generalException
faultString: java.lang.NullPointerException
faultActor: null
faultDetail:

java.lang.NullPointerException
at com.ibm.ws.webservices.engine.xmlsoap.builders.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:228)
at com.ibm.ws.webservices.engine.xmlsoap.builders.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:156)
at com.ibm.ws.webservices.engine.events.P2DConverter.endElement(P2DConverter.java:409)
at sax.SAX2DocumentEntityParserBase.endElementAction(Unknown Source)
at util.DocumentEntityParserBase.endElementEvent(Unknown Source)
at com.ibm.xml.b2b.scan.latin.LatinWFCDocumentScanner.scanEndElement(Unknown Source)
at com.ibm.xml.b2b.scan.latin.LatinWFCDocumentScanner.scanContent(Unknown Source)
at com.ibm.xml.b2b.scan.latin.LatinWFCDocumentScanner.scanDocument(Unknown Source)
at sax.latin.LatinWFCSAX2DocumentEntityParser.scanDocument(Unknown Source)
at util.DocumentEntityParserBase.parse(Unknown Source)
at sax.SAX2DocumentEntityParserBase.parseEntity(Unknown Source)
at sax.SAX2DocumentEntityParserBase.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(Unknown Source)
at com.ibm.ws.webservices.engine.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:251)
at com.ibm.ws.webservices.engine.SOAPPart.getSOAPEnvelope(SOAPPart.java:864)
at com.ibm.ws.webservices.engine.SOAPPart.getFault(SOAPPart.java:1225)
at com.ibm.ws.webservices.engine.Message.getFault(Message.java:757)
at com.ibm.ws.webservices.engine.Message.ifFaultThrowSelf(Message.java:737)
at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:252)
at com.ibm.ws.webservices.engine.WebServicesEngine.invoke(WebServicesEngine.java:255)
at com.ibm.ws.webservices.engine.client.Connection.invokeEngine(Connection.java:685)
at com.ibm.ws.webservices.engine.client.Connection.invoke(Connection.java:611)
at com.ibm.ws.webservices.engine.client.Connection.invoke(Connection.java:441)
at com.ibm.ws.webservices.engine.client.Stub$Invoke.invoke(Stub.java:662)
at com.cce.insight.framework.connector.InsightConnectorSoapBindingStub.postHeader(InsightConnectorSoapBindingStub.java:152)
at com.cce.insight.framework.connector.InsightConnectorProxy.postHeader(InsightConnectorProxy.java:64)
at com.cce.insight.TestHarness.main(TestHarness.java:251)


Not able to understand, what is going wrong?

lirin.
+Pie Number of slices to send: Send
If this was my problem I would use TCPMON to capture the exact text of the request being sent and examine it carefylly. It sounds like something in the values you are passing is throwing off XML parsing.

If you have AXIS, TCPMON was probably part of the download, otherwise look at the Apache site. TCPMON now has its own project.

Bill
We cannot change unless we survive, but we will not survive unless we change. Evolving tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 4496 times.
Similar Threads
Getting WSWS3400I error
webservices.jar not found
WebService invoke fails..using jax-rpc
Deserialize error WSWS3047E
Problem invoking a standalone webservice client
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 02:46:19.