axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig Chaney (JIRA)" <j...@apache.org>
Subject [jira] Created: (AXIS2-328) NPE when writing fault
Date Thu, 08 Dec 2005 20:58:09 GMT
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


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


Mime
View raw message