You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Raul Kripalani (JIRA)" <ji...@apache.org> on 2008/04/10 20:22:06 UTC
[jira] Created: (AXIS2-3729) Log.debug statement causes
NullPointerException
Log.debug statement causes NullPointerException
-----------------------------------------------
Key: AXIS2-3729
URL: https://issues.apache.org/jira/browse/AXIS2-3729
Project: Axis 2.0 (Axis2)
Issue Type: Bug
Components: kernel
Affects Versions: 1.3
Environment: Windows XP SP2, Java 6, log4j
Reporter: Raul Kripalani
When setting the log4j.category.org.apache.axis2.transport=DEBUG in the log4j.properties config file, line 156 from class TransportUtils:
log.debug("createSOAPEnvelope using Builder (" +
builder.getClass() + ") selected from type (" + type +")");
causes the following uncontrolled NullPointerException to be thrown:
2008-04-10 18:14:10,577 [-] [I/O dispatcher 7] DEBUG ServerHandler HTTP connection [localhost/127.0.0.1:2591]: Content decoder [content length: 285; p
os: 252; completed: false]
Exception in thread "HttpServerWorker-1" java.lang.NullPointerException
at org.apache.axis2.transport.TransportUtils.createDocumentElement(TransportUtils.java:156)
at org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:111)
at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:270)
at org.apache.synapse.transport.nhttp.ServerWorker.processPost(ServerWorker.java:226)
at org.apache.synapse.transport.nhttp.ServerWorker.run(ServerWorker.java:190)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Resolved: (AXIS2-3729) Log.debug statement causes
NullPointerException
Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-3729?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Davanum Srinivas resolved AXIS2-3729.
-------------------------------------
Resolution: Fixed
already fixed. thanks!
-- dims
> Log.debug statement causes NullPointerException
> -----------------------------------------------
>
> Key: AXIS2-3729
> URL: https://issues.apache.org/jira/browse/AXIS2-3729
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: kernel
> Affects Versions: 1.3
> Environment: Windows XP SP2, Java 6, log4j
> Reporter: Raul K.
> Original Estimate: 0.08h
> Remaining Estimate: 0.08h
>
> When setting the log4j.category.org.apache.axis2.transport=DEBUG in the log4j.properties config file, line 156 from class TransportUtils:
> log.debug("createSOAPEnvelope using Builder (" +
> builder.getClass() + ") selected from type (" + type +")");
> causes the following uncontrolled NullPointerException to be thrown:
> 2008-04-10 18:14:10,577 [-] [I/O dispatcher 7] DEBUG ServerHandler HTTP connection [localhost/127.0.0.1:2591]: Content decoder [content length: 285; p
> os: 252; completed: false]
> Exception in thread "HttpServerWorker-1" java.lang.NullPointerException
> at org.apache.axis2.transport.TransportUtils.createDocumentElement(TransportUtils.java:156)
> at org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:111)
> at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:270)
> at org.apache.synapse.transport.nhttp.ServerWorker.processPost(ServerWorker.java:226)
> at org.apache.synapse.transport.nhttp.ServerWorker.run(ServerWorker.java:190)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
> at java.lang.Thread.run(Unknown Source)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org