cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jervis Liu (JIRA)" <j...@apache.org>
Subject [jira] Closed: (CXF-732) Dispath does not work with LogicalHandlers (and maybe SoapHandlers as well).
Date Wed, 04 Jul 2007 17:30:04 GMT

     [ https://issues.apache.org/jira/browse/CXF-732?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jervis Liu closed CXF-732.
--------------------------


> Dispath does not work with LogicalHandlers (and maybe SoapHandlers as well). 
> -----------------------------------------------------------------------------
>
>                 Key: CXF-732
>                 URL: https://issues.apache.org/jira/browse/CXF-732
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-WS Runtime
>            Reporter: Jervis Liu
>            Assignee: Jervis Liu
>
> This is because DispatchOutInterceptor flush the content to output stream early than
reaching LogicalHandlers and SoapHandlers.
> See test case org.apache.cxf.systest.handlers.HandlerInvocationUsingAddNumbersTest.testInvokeFromDispatchWithJAXBPayload()
> java.lang.NullPointerException
> 	at org.apache.cxf.staxutils.StaxUtils.copy(StaxUtils.java:258)
> 	at org.apache.cxf.jaxws.handler.logical.LogicalMessageImpl.getPayload(LogicalMessageImpl.java:66)
> 	at org.apache.cxf.jaxws.handler.logical.LogicalMessageImpl.getPayload(LogicalMessageImpl.java:111)
> 	at org.apache.cxf.systest.handlers.SmallNumberHandler.handleMessage(SmallNumberHandler.java:75)
> 	at org.apache.cxf.systest.handlers.SmallNumberHandler.handleMessage(SmallNumberHandler.java:44)
> 	at org.apache.cxf.jaxws.handler.HandlerChainInvoker.invokeHandleMessage(HandlerChainInvoker.java:336)
> 	at org.apache.cxf.jaxws.handler.HandlerChainInvoker.invokeHandlerChain(HandlerChainInvoker.java:259)
> 	at org.apache.cxf.jaxws.handler.HandlerChainInvoker.invokeLogicalHandlers(HandlerChainInvoker.java:124)
> 	at org.apache.cxf.jaxws.handler.logical.LogicalHandlerOutInterceptor$LogicalHandlerOutEndingInterceptor.handleMessage(LogicalHandlerOutInterceptor.java:117)
> 	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:207)
> 	at org.apache.cxf.jaxws.DispatchImpl.invoke(DispatchImpl.java:151)
> 	at org.apache.cxf.jaxws.DispatchImpl.invoke(DispatchImpl.java:109)
> 	at org.apache.cxf.systest.handlers.HandlerInvocationUsingAddNumbersTest.testInvokeFromDispatchWithJAXBPayload(HandlerInvocationUsingAddNumbersTest.java:107)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> 	at java.lang.reflect.Method.invoke(Unknown Source)
> 	at org.junit.internal.runners.TestMethodRunner.executeMethodBody(TestMethodRunner.java:99)
> 	at org.junit.internal.runners.TestMethodRunner.runUnprotected(TestMethodRunner.java:81)
> 	at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
> 	at org.junit.internal.runners.TestMethodRunner.runMethod(TestMethodRunner.java:75)
> 	at org.junit.internal.runners.TestMethodRunner.run(TestMethodRunner.java:45)
> 	at org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod(TestClassMethodsRunner.java:66)
> 	at org.junit.internal.runners.TestClassMethodsRunner.run(TestClassMethodsRunner.java:35)
> 	at org.junit.internal.runners.TestClassRunner$1.runUnprotected(TestClassRunner.java:42)
> 	at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
> 	at org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52)
> 	at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:38)
> 	at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
> 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
> 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
> 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
> 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
> 2007-6-15 14:58:50 org.apache.cxf.testutil.common.ServerLauncher notifyServerIsStopped

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message