axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steven La Corte (JIRA)" <j...@apache.org>
Subject [jira] Created: (AXIS2-1937) writeNamespace NPE
Date Thu, 04 Jan 2007 17:25:27 GMT
writeNamespace NPE
------------------

                 Key: AXIS2-1937
                 URL: https://issues.apache.org/jira/browse/AXIS2-1937
             Project: Apache Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: om
    Affects Versions: 1.1
         Environment: Java 1.5,  Red Hat Enterprise Linux ES release 4 (Nahant)
            Reporter: Steven La Corte
            Priority: Blocker


A war file has been deployed and running on server with Tomcat 5. 
When my client (GetAndSendFMSData) invokes operation (setradsfmsRecords), the following NPE
is thrown:

java.lang.NullPointerException
        at java.io.Writer.write(Writer.java:126)
        at com.bea.xml.stream.XMLWriterBase.write(XMLWriterBase.java:82)
        at com.bea.xml.stream.XMLWriterBase.writeDefaultNamespace(XMLWriterBase.java:546)
        at com.bea.xml.stream.XMLWriterBase.writeNamespace(XMLWriterBase.java:513)
        at org.apache.axiom.om.impl.MTOMXMLStreamWriter.writeNamespace(MTOMXMLStreamWriter.java:150)
        at org.apache.axiom.om.impl.serialize.StreamingOMSerializer.serializeElement(StreamingOMSerializer.java:243)
        at org.apache.axiom.om.impl.serialize.StreamingOMSerializer.serializeNode(StreamingOMSerializer.java:76)
        at org.apache.axiom.om.impl.serialize.StreamingOMSerializer.serialize(StreamingOMSerializer.java:59)
        at org.apache.axiom.om.impl.util.OMSerializerUtil.serializeByPullStream(OMSerializerUtil.java:469)
        at org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMElementImpl.java:812)
        at org.apache.axiom.om.impl.llom.OMElementImpl.internalSerializeAndConsume(OMElementImpl.java:837)
        at org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMElementImpl.java:808)
        at org.apache.axiom.soap.impl.llom.SOAPEnvelopeImpl.internalSerialize(SOAPEnvelopeImpl.java:177)
        at org.apache.axiom.om.impl.llom.OMElementImpl.internalSerializeAndConsume(OMElementImpl.java:837)
        at org.apache.axiom.om.impl.llom.OMNodeImpl.serializeAndConsume(OMNodeImpl.java:411)
        at org.apache.axis2.transport.http.SOAPOverHTTPSender$AxisSOAPRequestEntity.handleOMOutput(SOAPOverHTTPSender.java:190)
        at org.apache.axis2.transport.http.SOAPOverHTTPSender$AxisSOAPRequestEntity.writeRequest(SOAPOverHTTPSender.java:232)
        at org.apache.commons.httpclient.methods.EntityEnclosingMethod.writeRequestBody(EntityEnclosingMethod.java:495)
        at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:1973)
        at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:993)
        at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:397)
        at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170)
        at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)
        at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346)
        at org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:534)
        at org.apache.axis2.transport.http.SOAPOverHTTPSender.send(SOAPOverHTTPSender.java:119)
        at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:334)
        at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:205)
        at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:670)
        at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:365)
        at org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:295)
        at org.itsradsaz.loggers.radsfmsservices.RadsfmsServiceStub.setradsfmsRecords(Unknown
Source)
        at org.adot.sendfmsdata2rads.GetAndSendFMSData.write(Unknown Source)
        at org.adot.sendfmsdata2rads.GetAndSendFMSData.sendData(Unknown Source)


I would appreciate any feedback on this issue. If somebody could recommend a workaround, I
would really appreciate it.

Thanks

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message