Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 86387 invoked from network); 4 Jan 2007 18:06:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Jan 2007 18:06:56 -0000 Received: (qmail 96461 invoked by uid 500); 4 Jan 2007 17:59:08 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 95809 invoked by uid 500); 4 Jan 2007 17:59:03 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 95566 invoked by uid 99); 4 Jan 2007 17:59:01 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Jan 2007 09:59:01 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Jan 2007 09:27:48 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 19613714319 for ; Thu, 4 Jan 2007 09:27:28 -0800 (PST) Message-ID: <15845148.1167931648100.JavaMail.jira@brutus> Date: Thu, 4 Jan 2007 09:27:28 -0800 (PST) From: "Steven La Corte (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Updated: (AXIS2-1937) writeNamespace NPE In-Reply-To: <25437523.1167931527663.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2-1937?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steven La Corte updated AXIS2-1937: ----------------------------------- Attachment: radsfms.wsdl > 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 > Attachments: radsfms.wsdl, radsFMSInf.xsd > > > 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