You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "William Tam (JIRA)" <ji...@apache.org> on 2007/01/05 17:15:27 UTC
[jira] Created: (CXF-355) WrapperClassInInterceptor throws NPE when
handling an oneway operator
WrapperClassInInterceptor throws NPE when handling an oneway operator
---------------------------------------------------------------------
Key: CXF-355
URL: https://issues.apache.org/jira/browse/CXF-355
Project: CXF
Issue Type: Bug
Affects Versions: 2.0-M1
Environment: Windows XP
Reporter: William Tam
Priority: Critical
Attachments: onewaybug.zip
I attach a zip which contains a README, a wsdl, and client/server code. Two way operators are working fine for that wsdl but the one way operation triggers server error. The server log is also attached. Below is the NPE.
java.lang.NullPointerException
at org.apache.cxf.jaxws.interceptors.WrapperClassInInterceptor.handleMessage(WrapperClassInInterceptor.java:98)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:159)
at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:64)
at org.apache.cxf.transport.http.JettyHTTPDestination.serviceRequest(JettyHTTPDestination.java:296)
at org.apache.cxf.transport.http.JettyHTTPDestination.doService(JettyHTTPDestination.java:268)
at org.apache.cxf.transport.http.JettyHTTPDestination$2.handle(JettyHTTPDestination.java:126)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
at org.mortbay.http.HttpServer.service(HttpServer.java:909)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:820)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837)
at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:245)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
--
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
[jira] Closed: (CXF-355) WrapperClassInInterceptor throws NPE when
handling an oneway operator
Posted by "Jervis Liu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jervis Liu closed CXF-355.
--------------------------
> WrapperClassInInterceptor throws NPE when handling an oneway operator
> ---------------------------------------------------------------------
>
> Key: CXF-355
> URL: https://issues.apache.org/jira/browse/CXF-355
> Project: CXF
> Issue Type: Bug
> Components: JAX-WS Runtime
> Affects Versions: 2.0-M1
> Environment: Windows XP
> Reporter: William Tam
> Assigned To: Jervis Liu
> Priority: Critical
> Attachments: logging.log, onewaybug.zip
>
>
> I attach a zip which contains a README, a wsdl, and client/server code. Two way operators are working fine for that wsdl but the one way operation triggers server error. The server log is also attached. Below is the NPE.
> java.lang.NullPointerException
> at org.apache.cxf.jaxws.interceptors.WrapperClassInInterceptor.handleMessage(WrapperClassInInterceptor.java:98)
> at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:159)
> at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:64)
> at org.apache.cxf.transport.http.JettyHTTPDestination.serviceRequest(JettyHTTPDestination.java:296)
> at org.apache.cxf.transport.http.JettyHTTPDestination.doService(JettyHTTPDestination.java:268)
> at org.apache.cxf.transport.http.JettyHTTPDestination$2.handle(JettyHTTPDestination.java:126)
> at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
> at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
> at org.mortbay.http.HttpServer.service(HttpServer.java:909)
> at org.mortbay.http.HttpConnection.service(HttpConnection.java:820)
> at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986)
> at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837)
> at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:245)
> at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
> at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (CXF-355) WrapperClassInInterceptor throws NPE when
handling an oneway operator
Posted by "Jervis Liu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jervis Liu updated CXF-355:
---------------------------
I just tried cxf-2.0-incubator-M1, I can not reproduce the stack trace reported, but it does look wrong, there is no indication of oneWay() is invoked on the server side according to the server side console.
Then I tried the kit built from trunk, it works.
Unless I am missing something, otherwise I would presume this bug has been fixed.
> WrapperClassInInterceptor throws NPE when handling an oneway operator
> ---------------------------------------------------------------------
>
> Key: CXF-355
> URL: https://issues.apache.org/jira/browse/CXF-355
> Project: CXF
> Issue Type: Bug
> Components: JAX-WS Runtime
> Affects Versions: 2.0-M1
> Environment: Windows XP
> Reporter: William Tam
> Assigned To: Jervis Liu
> Priority: Critical
> Attachments: logging.log, onewaybug.zip
>
>
> I attach a zip which contains a README, a wsdl, and client/server code. Two way operators are working fine for that wsdl but the one way operation triggers server error. The server log is also attached. Below is the NPE.
> java.lang.NullPointerException
> at org.apache.cxf.jaxws.interceptors.WrapperClassInInterceptor.handleMessage(WrapperClassInInterceptor.java:98)
> at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:159)
> at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:64)
> at org.apache.cxf.transport.http.JettyHTTPDestination.serviceRequest(JettyHTTPDestination.java:296)
> at org.apache.cxf.transport.http.JettyHTTPDestination.doService(JettyHTTPDestination.java:268)
> at org.apache.cxf.transport.http.JettyHTTPDestination$2.handle(JettyHTTPDestination.java:126)
> at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
> at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
> at org.mortbay.http.HttpServer.service(HttpServer.java:909)
> at org.mortbay.http.HttpConnection.service(HttpConnection.java:820)
> at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986)
> at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837)
> at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:245)
> at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
> at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (CXF-355) WrapperClassInInterceptor throws NPE when
handling an oneway operator
Posted by "William Tam (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
William Tam updated CXF-355:
----------------------------
Attachment: logging.log
> WrapperClassInInterceptor throws NPE when handling an oneway operator
> ---------------------------------------------------------------------
>
> Key: CXF-355
> URL: https://issues.apache.org/jira/browse/CXF-355
> Project: CXF
> Issue Type: Bug
> Affects Versions: 2.0-M1
> Environment: Windows XP
> Reporter: William Tam
> Priority: Critical
> Attachments: logging.log, onewaybug.zip
>
>
> I attach a zip which contains a README, a wsdl, and client/server code. Two way operators are working fine for that wsdl but the one way operation triggers server error. The server log is also attached. Below is the NPE.
> java.lang.NullPointerException
> at org.apache.cxf.jaxws.interceptors.WrapperClassInInterceptor.handleMessage(WrapperClassInInterceptor.java:98)
> at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:159)
> at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:64)
> at org.apache.cxf.transport.http.JettyHTTPDestination.serviceRequest(JettyHTTPDestination.java:296)
> at org.apache.cxf.transport.http.JettyHTTPDestination.doService(JettyHTTPDestination.java:268)
> at org.apache.cxf.transport.http.JettyHTTPDestination$2.handle(JettyHTTPDestination.java:126)
> at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
> at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
> at org.mortbay.http.HttpServer.service(HttpServer.java:909)
> at org.mortbay.http.HttpConnection.service(HttpConnection.java:820)
> at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986)
> at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837)
> at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:245)
> at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
> at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
--
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
[jira] Assigned: (CXF-355) WrapperClassInInterceptor throws NPE
when handling an oneway operator
Posted by "Bozhong Lin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bozhong Lin reassigned CXF-355:
-------------------------------
Assignee: Jervis Liu
> WrapperClassInInterceptor throws NPE when handling an oneway operator
> ---------------------------------------------------------------------
>
> Key: CXF-355
> URL: https://issues.apache.org/jira/browse/CXF-355
> Project: CXF
> Issue Type: Bug
> Components: JAX-WS Runtime
> Affects Versions: 2.0-M1
> Environment: Windows XP
> Reporter: William Tam
> Assigned To: Jervis Liu
> Priority: Critical
> Attachments: logging.log, onewaybug.zip
>
>
> I attach a zip which contains a README, a wsdl, and client/server code. Two way operators are working fine for that wsdl but the one way operation triggers server error. The server log is also attached. Below is the NPE.
> java.lang.NullPointerException
> at org.apache.cxf.jaxws.interceptors.WrapperClassInInterceptor.handleMessage(WrapperClassInInterceptor.java:98)
> at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:159)
> at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:64)
> at org.apache.cxf.transport.http.JettyHTTPDestination.serviceRequest(JettyHTTPDestination.java:296)
> at org.apache.cxf.transport.http.JettyHTTPDestination.doService(JettyHTTPDestination.java:268)
> at org.apache.cxf.transport.http.JettyHTTPDestination$2.handle(JettyHTTPDestination.java:126)
> at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
> at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
> at org.mortbay.http.HttpServer.service(HttpServer.java:909)
> at org.mortbay.http.HttpConnection.service(HttpConnection.java:820)
> at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986)
> at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837)
> at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:245)
> at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
> at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (CXF-355) WrapperClassInInterceptor throws NPE when
handling an oneway operator
Posted by "Jervis Liu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jervis Liu updated CXF-355:
---------------------------
Component/s: JAX-WS Runtime
> WrapperClassInInterceptor throws NPE when handling an oneway operator
> ---------------------------------------------------------------------
>
> Key: CXF-355
> URL: https://issues.apache.org/jira/browse/CXF-355
> Project: CXF
> Issue Type: Bug
> Components: JAX-WS Runtime
> Affects Versions: 2.0-M1
> Environment: Windows XP
> Reporter: William Tam
> Priority: Critical
> Attachments: logging.log, onewaybug.zip
>
>
> I attach a zip which contains a README, a wsdl, and client/server code. Two way operators are working fine for that wsdl but the one way operation triggers server error. The server log is also attached. Below is the NPE.
> java.lang.NullPointerException
> at org.apache.cxf.jaxws.interceptors.WrapperClassInInterceptor.handleMessage(WrapperClassInInterceptor.java:98)
> at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:159)
> at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:64)
> at org.apache.cxf.transport.http.JettyHTTPDestination.serviceRequest(JettyHTTPDestination.java:296)
> at org.apache.cxf.transport.http.JettyHTTPDestination.doService(JettyHTTPDestination.java:268)
> at org.apache.cxf.transport.http.JettyHTTPDestination$2.handle(JettyHTTPDestination.java:126)
> at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
> at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
> at org.mortbay.http.HttpServer.service(HttpServer.java:909)
> at org.mortbay.http.HttpConnection.service(HttpConnection.java:820)
> at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986)
> at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837)
> at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:245)
> at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
> at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
--
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
[jira] Updated: (CXF-355) WrapperClassInInterceptor throws NPE when
handling an oneway operator
Posted by "William Tam (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
William Tam updated CXF-355:
----------------------------
Attachment: onewaybug.zip
> WrapperClassInInterceptor throws NPE when handling an oneway operator
> ---------------------------------------------------------------------
>
> Key: CXF-355
> URL: https://issues.apache.org/jira/browse/CXF-355
> Project: CXF
> Issue Type: Bug
> Affects Versions: 2.0-M1
> Environment: Windows XP
> Reporter: William Tam
> Priority: Critical
> Attachments: onewaybug.zip
>
>
> I attach a zip which contains a README, a wsdl, and client/server code. Two way operators are working fine for that wsdl but the one way operation triggers server error. The server log is also attached. Below is the NPE.
> java.lang.NullPointerException
> at org.apache.cxf.jaxws.interceptors.WrapperClassInInterceptor.handleMessage(WrapperClassInInterceptor.java:98)
> at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:159)
> at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:64)
> at org.apache.cxf.transport.http.JettyHTTPDestination.serviceRequest(JettyHTTPDestination.java:296)
> at org.apache.cxf.transport.http.JettyHTTPDestination.doService(JettyHTTPDestination.java:268)
> at org.apache.cxf.transport.http.JettyHTTPDestination$2.handle(JettyHTTPDestination.java:126)
> at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
> at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
> at org.mortbay.http.HttpServer.service(HttpServer.java:909)
> at org.mortbay.http.HttpConnection.service(HttpConnection.java:820)
> at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986)
> at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837)
> at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:245)
> at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
> at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
--
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
[jira] Resolved: (CXF-355) WrapperClassInInterceptor throws NPE
when handling an oneway operator
Posted by "Jervis Liu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jervis Liu resolved CXF-355.
----------------------------
Resolution: Fixed
fixed
> WrapperClassInInterceptor throws NPE when handling an oneway operator
> ---------------------------------------------------------------------
>
> Key: CXF-355
> URL: https://issues.apache.org/jira/browse/CXF-355
> Project: CXF
> Issue Type: Bug
> Components: JAX-WS Runtime
> Affects Versions: 2.0-M1
> Environment: Windows XP
> Reporter: William Tam
> Assigned To: Jervis Liu
> Priority: Critical
> Attachments: logging.log, onewaybug.zip
>
>
> I attach a zip which contains a README, a wsdl, and client/server code. Two way operators are working fine for that wsdl but the one way operation triggers server error. The server log is also attached. Below is the NPE.
> java.lang.NullPointerException
> at org.apache.cxf.jaxws.interceptors.WrapperClassInInterceptor.handleMessage(WrapperClassInInterceptor.java:98)
> at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:159)
> at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:64)
> at org.apache.cxf.transport.http.JettyHTTPDestination.serviceRequest(JettyHTTPDestination.java:296)
> at org.apache.cxf.transport.http.JettyHTTPDestination.doService(JettyHTTPDestination.java:268)
> at org.apache.cxf.transport.http.JettyHTTPDestination$2.handle(JettyHTTPDestination.java:126)
> at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
> at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
> at org.mortbay.http.HttpServer.service(HttpServer.java:909)
> at org.mortbay.http.HttpConnection.service(HttpConnection.java:820)
> at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986)
> at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837)
> at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:245)
> at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
> at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CXF-355) WrapperClassInInterceptor throws NPE
when handling an oneway operator
Posted by "William Tam (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12471439 ]
William Tam commented on CXF-355:
---------------------------------
I tested against the latest trunk and it worked. Please close this issue.
> WrapperClassInInterceptor throws NPE when handling an oneway operator
> ---------------------------------------------------------------------
>
> Key: CXF-355
> URL: https://issues.apache.org/jira/browse/CXF-355
> Project: CXF
> Issue Type: Bug
> Components: JAX-WS Runtime
> Affects Versions: 2.0-M1
> Environment: Windows XP
> Reporter: William Tam
> Assigned To: Jervis Liu
> Priority: Critical
> Attachments: logging.log, onewaybug.zip
>
>
> I attach a zip which contains a README, a wsdl, and client/server code. Two way operators are working fine for that wsdl but the one way operation triggers server error. The server log is also attached. Below is the NPE.
> java.lang.NullPointerException
> at org.apache.cxf.jaxws.interceptors.WrapperClassInInterceptor.handleMessage(WrapperClassInInterceptor.java:98)
> at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:159)
> at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:64)
> at org.apache.cxf.transport.http.JettyHTTPDestination.serviceRequest(JettyHTTPDestination.java:296)
> at org.apache.cxf.transport.http.JettyHTTPDestination.doService(JettyHTTPDestination.java:268)
> at org.apache.cxf.transport.http.JettyHTTPDestination$2.handle(JettyHTTPDestination.java:126)
> at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
> at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
> at org.mortbay.http.HttpServer.service(HttpServer.java:909)
> at org.mortbay.http.HttpConnection.service(HttpConnection.java:820)
> at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986)
> at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837)
> at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:245)
> at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
> at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.