You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Willem Jiang (JIRA)" <ji...@apache.org> on 2014/04/17 16:54:15 UTC

[jira] [Resolved] (CXF-5700) IllegalStateException is throw when using netty server transport

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

Willem Jiang resolved CXF-5700.
-------------------------------

    Resolution: Fixed

Applied the patch into CXF master branch.

> IllegalStateException is throw when using netty server transport
> ----------------------------------------------------------------
>
>                 Key: CXF-5700
>                 URL: https://issues.apache.org/jira/browse/CXF-5700
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 3.0.0-milestone2
>            Reporter: Willem Jiang
>            Assignee: Willem Jiang
>             Fix For: 3.0.0
>
>
> I got this warning message when using http-netty-server transport.
> {code}
> WARNING: Interceptor for {http://server.customerservice.example.com/}CustomerServiceImplService#{http://customerservice.example.com/}updateCustomer has thrown exception, unwinding now
> java.lang.IllegalStateException: Method 'getAuthType' not yet implemented!
> 	at org.apache.cxf.transport.http.netty.server.servlet.NettyHttpServletRequest.getAuthType(NettyHttpServletRequest.java:419)
> 	at org.apache.cxf.transport.http.HttpServletRequestSnapshot.<init>(HttpServletRequestSnapshot.java:68)
> 	at org.apache.cxf.transport.http.AbstractHTTPDestination$1.cacheInput(AbstractHTTPDestination.java:298)
> 	at org.apache.cxf.interceptor.OneWayProcessorInterceptor.handleMessage(OneWayProcessorInterceptor.java:95)
> 	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:307)
> 	at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
> 	at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:243)
> 	at org.apache.cxf.transport.http.netty.server.NettyHttpDestination.doService(NettyHttpDestination.java:174)
> 	at org.apache.cxf.transport.http.netty.server.NettyHttpHandler.handle(NettyHttpHandler.java:64)
> 	at org.apache.cxf.transport.http.netty.server.NettyHttpContextHandler.handle(NettyHttpContextHandler.java:83)
> 	at org.apache.cxf.transport.http.netty.server.NettyHttpServletHandler.handleHttpServletRequest(NettyHttpServletHandler.java:135)
> 	at org.apache.cxf.transport.http.netty.server.NettyHttpServletHandler.channelRead(NettyHttpServletHandler.java:110)
> 	at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:334)
> 	at io.netty.channel.DefaultChannelHandlerContext.access$700(DefaultChannelHandlerContext.java:29)
> 	at io.netty.channel.DefaultChannelHandlerContext$8.run(DefaultChannelHandlerContext.java:325)
> 	at io.netty.util.concurrent.DefaultEventExecutor.run(DefaultEventExecutor.java:36)
> 	at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:101)
> 	at java.lang.Thread.run(Thread.java:744)
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)