[ http://issues.apache.org/jira/browse/AXIS2-328?page=all ]
Eran Chinthaka resolved AXIS2-328:
----------------------------------
Fix Version: 0.94
Resolution: Fixed
This seems fixed. Please refere AxisEngine.java:164. Thanks for whoever fixed
this.
> NPE when writing fault
> ----------------------
>
> Key: AXIS2-328
> URL: http://issues.apache.org/jira/browse/AXIS2-328
> Project: Apache Axis 2.0 (Axis2)
> Type: Bug
> Components: core
> Versions: 0.93
> Reporter: Craig Chaney
> Fix For: 0.94
>
> I get the following walkback when axis attempts to write a fault (for example
> a mustUnderstand fault):
> java.lang.NullPointerException
> at java.io.Writer.<init>(Writer.java:70)
> at java.io.OutputStreamWriter.<init>(OutputStreamWriter.java:79)
> at
> com.bea.xml.stream.XMLOutputFactoryBase.createXMLStreamWriter(XMLOutputFactoryBase.java:58)
> at org.apache.axis2.om.impl.OMOutputImpl.<init>(OMOutputImpl.java:74)
> at
> org.apache.axis2.om.impl.llom.OMNodeImpl.serializeAndConsume(OMNodeImpl.java:373)
> at
> org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:254)
> at org.apache.axis2.engine.AxisEngine.sendFault(AxisEngine.java:186)
> at
> org.apache.axis2.transport.http.HTTPWorker.processRequest(HTTPWorker.java:184)
> at
> org.apache.axis2.transport.http.server.SimpleConnectionThread.run(SimpleConnectionThread.java:94)
> at
> org.apache.axis2.util.threadpool.ThreadWorker.run(ThreadWorker.java:54)
> This can be worked around by setting the TRANSPORT_OUT property on the
> faultContext near the bottom of the processRequest method (around line 182)
> in org.apache.axis2.transport.http.HttpWorker
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira