Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-5700

IllegalStateException is throw when using netty server transport

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.0-milestone2
    • 3.0
    • None
    • None
    • Unknown

    Description

      I got this warning message when using http-netty-server transport.

      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)
      

      Attachments

        Activity

          People

            njiang Willem Jiang
            njiang Willem Jiang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: