Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-7376

JAX-RS Async feature does not work in Karaf 4/Undertow/XNIO

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • fuse-7.0
    • fuse-7.0
    • CXF
    • None
    • % %
    • Hide

      1. Build the project:

      mvn clean install
      

      2. install bundle into the karaf 4:

      bundle:install -s mvn:org.jboss.fuse.quickstarts/cxf-rest/7.0.0.fuse-000079
      

      3. Invoke from browser following URL:

      localhost:8181/cxf/rest-async/greeting-service/?name=Viliam
      
      Show
      1. Build the project: mvn clean install 2. install bundle into the karaf 4: bundle:install -s mvn:org.jboss.fuse.quickstarts/cxf-rest/7.0.0.fuse-000079 3. Invoke from browser following URL: localhost:8181/cxf/rest-async/greeting-service/?name=Viliam
    • Fuse 7.0 Sprint 21

    Description

      JAX-RS Asynchronous feature does not work as in FUSE 6.3. It might be connected with the jetty -> undertow http upgrade. There is async-rest.zip example attached. The exception:

      ID: 3
      Address: http://localhost:8181/cxf/rest-async/greeting-service/?name=Viliam
      Http-Method: GET
      Content-Type:
      Headers: {Accept=[text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8], accept-encoding=[gzip, deflate, br], Accept-Language=[en-US,en;q=0.8,la;q=0.6,cs;q=0.4,sk;q=0.2,fr;q=0.2,de;q=0.2], connection=[keep-alive], Content-Type=[null], Host=[localhost:8181], Upgrade-Insecure-Requests=[1], User-Agent=[Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36]}
      --------------------------------------
      2017-10-13 10:40:51,844 | WARN  | XNIO-1 task-6    | PhaseInterceptorChain            | 72 - org.apache.cxf.cxf-core - 3.1.11.fuse-000084 | Interceptor for {http://rest.cxf.quickstarts.fuse.jboss.org/}AsyncGreetingServiceImpl has thrown exception, unwinding now
      java.lang.NullPointerException: null
      	at org.apache.cxf.jaxrs.impl.AsyncResponseImpl.initContinuation(AsyncResponseImpl.java:306) ~[85:org.apache.cxf.cxf-rt-frontend-jaxrs:3.1.11.fuse-000084]
      	at org.apache.cxf.jaxrs.impl.AsyncResponseImpl.<init>(AsyncResponseImpl.java:68) ~[85:org.apache.cxf.cxf-rt-frontend-jaxrs:3.1.11.fuse-000084]
      	at org.apache.cxf.jaxrs.utils.JAXRSUtils.processParameter(JAXRSUtils.java:815) ~[85:org.apache.cxf.cxf-rt-frontend-jaxrs:3.1.11.fuse-000084]
      	at org.apache.cxf.jaxrs.utils.JAXRSUtils.processParameters(JAXRSUtils.java:789) ~[85:org.apache.cxf.cxf-rt-frontend-jaxrs:3.1.11.fuse-000084]
      	at org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.processRequest(JAXRSInInterceptor.java:212) ~[85:org.apache.cxf.cxf-rt-frontend-jaxrs:3.1.11.fuse-000084]
      	at org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.handleMessage(JAXRSInInterceptor.java:77) ~[85:org.apache.cxf.cxf-rt-frontend-jaxrs:3.1.11.fuse-000084]
      	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308) ~[72:org.apache.cxf.cxf-core:3.1.11.fuse-000084]
      	at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121) ~[72:org.apache.cxf.cxf-core:3.1.11.fuse-000084]
      	at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:262) ~[99:org.apache.cxf.cxf-rt-transports-http:3.1.11.fuse-000084]
      	at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:234) ~[99:org.apache.cxf.cxf-rt-transports-http:3.1.11.fuse-000084]
      	at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:208) ~[99:org.apache.cxf.cxf-rt-transports-http:3.1.11.fuse-000084]
      	at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:160) ~[99:org.apache.cxf.cxf-rt-transports-http:3.1.11.fuse-000084]
      	at org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:180) ~[99:org.apache.cxf.cxf-rt-transports-http:3.1.11.fuse-000084]
      	at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:299) ~[99:org.apache.cxf.cxf-rt-transports-http:3.1.11.fuse-000084]
      	at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTPServlet.java:223) ~[99:org.apache.cxf.cxf-rt-transports-http:3.1.11.fuse-000084]
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:687) ~[32:javax.servlet-api:3.1.0]
      	at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:274) ~[99:org.apache.cxf.cxf-rt-transports-http:3.1.11.fuse-000084]
      	at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85) ~[202:org.ops4j.pax.tipi.undertow.servlet:1.3.25.1]
      	at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62) ~[202:org.ops4j.pax.tipi.undertow.servlet:1.3.25.1]
      	at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36) ~[202:org.ops4j.pax.tipi.undertow.servlet:1.3.25.1]
      	at org.ops4j.pax.web.service.undertow.internal.Context$1.lambda$wrap$0(Context.java:552) ~[?:?]
      	at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131) [202:org.ops4j.pax.tipi.undertow.servlet:1.3.25.1]
      	at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57) [202:org.ops4j.pax.tipi.undertow.servlet:1.3.25.1]
      	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [26:io.undertow.core:1.4.18.Final]
      	at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46) [26:io.undertow.core:1.4.18.Final]
      	at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64) [202:org.ops4j.pax.tipi.undertow.servlet:1.3.25.1]
      	at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60) [26:io.undertow.core:1.4.18.Final]
      	at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77) [202:org.ops4j.pax.tipi.undertow.servlet:1.3.25.1]
      	at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43) [26:io.undertow.core:1.4.18.Final]
      	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [26:io.undertow.core:1.4.18.Final]
      	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [26:io.undertow.core:1.4.18.Final]
      	at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:285) [202:org.ops4j.pax.tipi.undertow.servlet:1.3.25.1]
      	at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:264) [202:org.ops4j.pax.tipi.undertow.servlet:1.3.25.1]
      	at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81) [202:org.ops4j.pax.tipi.undertow.servlet:1.3.25.1]
      	at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:175) [202:org.ops4j.pax.tipi.undertow.servlet:1.3.25.1]
      	at io.undertow.server.Connectors.executeRootHandler(Connectors.java:326) [26:io.undertow.core:1.4.18.Final]
      	at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:812) [26:io.undertow.core:1.4.18.Final]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
      	at java.lang.Thread.run(Thread.java:748) [?:?]
      2017-10-13 10:40:51,856 | WARN  | XNIO-1 task-6    | PhaseInterceptorChain            | 72 - org.apache.cxf.cxf-core - 3.1.11.fuse-000084 | Exception in handleFault on interceptor org.apache.cxf.jaxrs.interceptor.JAXRSDefaultFaultOutInterceptor@738f9e0a
      org.apache.cxf.interceptor.Fault: null
      	at org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessage(AbstractFaultChainInitiatorObserver.java:75) ~[72:org.apache.cxf.cxf-core:3.1.11.fuse-000084]
      	at org.apache.cxf.phase.PhaseInterceptorChain.wrapExceptionAsFault(PhaseInterceptorChain.java:366) ~[72:org.apache.cxf.cxf-core:3.1.11.fuse-000084]
      	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:324) ~[72:org.apache.cxf.cxf-core:3.1.11.fuse-000084]
      	at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121) ~[72:org.apache.cxf.cxf-core:3.1.11.fuse-000084]
      	at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:262) ~[99:org.apache.cxf.cxf-rt-transports-http:3.1.11.fuse-000084]
      	at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:234) ~[99:org.apache.cxf.cxf-rt-transports-http:3.1.11.fuse-000084]
      	at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:208) ~[99:org.apache.cxf.cxf-rt-transports-http:3.1.11.fuse-000084]
      	at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:160) ~[99:org.apache.cxf.cxf-rt-transports-http:3.1.11.fuse-000084]
      	at org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:180) ~[99:org.apache.cxf.cxf-rt-transports-http:3.1.11.fuse-000084]
      	at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:299) ~[99:org.apache.cxf.cxf-rt-transports-http:3.1.11.fuse-000084]
      	at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTPServlet.java:223) ~[99:org.apache.cxf.cxf-rt-transports-http:3.1.11.fuse-000084]
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:687) ~[32:javax.servlet-api:3.1.0]
      	at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:274) ~[99:org.apache.cxf.cxf-rt-transports-http:3.1.11.fuse-000084]
      	at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85) ~[202:org.ops4j.pax.tipi.undertow.servlet:1.3.25.1]
      	at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62) ~[202:org.ops4j.pax.tipi.undertow.servlet:1.3.25.1]
      	at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36) ~[202:org.ops4j.pax.tipi.undertow.servlet:1.3.25.1]
      	at org.ops4j.pax.web.service.undertow.internal.Context$1.lambda$wrap$0(Context.java:552) ~[?:?]
      	at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131) [202:org.ops4j.pax.tipi.undertow.servlet:1.3.25.1]
      	at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57) [202:org.ops4j.pax.tipi.undertow.servlet:1.3.25.1]
      	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [26:io.undertow.core:1.4.18.Final]
      	at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46) [26:io.undertow.core:1.4.18.Final]
      	at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64) [202:org.ops4j.pax.tipi.undertow.servlet:1.3.25.1]
      	at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60) [26:io.undertow.core:1.4.18.Final]
      	at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77) [202:org.ops4j.pax.tipi.undertow.servlet:1.3.25.1]
      	at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43) [26:io.undertow.core:1.4.18.Final]
      	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [26:io.undertow.core:1.4.18.Final]
      	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [26:io.undertow.core:1.4.18.Final]
      	at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:285) [202:org.ops4j.pax.tipi.undertow.servlet:1.3.25.1]
      	at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:264) [202:org.ops4j.pax.tipi.undertow.servlet:1.3.25.1]
      	at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81) [202:org.ops4j.pax.tipi.undertow.servlet:1.3.25.1]
      	at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:175) [202:org.ops4j.pax.tipi.undertow.servlet:1.3.25.1]
      	at io.undertow.server.Connectors.executeRootHandler(Connectors.java:326) [26:io.undertow.core:1.4.18.Final]
      	at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:812) [26:io.undertow.core:1.4.18.Final]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
      	at java.lang.Thread.run(Thread.java:748) [?:?]
      Caused by: java.lang.NullPointerException
      	at org.apache.cxf.jaxrs.impl.AsyncResponseImpl.initContinuation(AsyncResponseImpl.java:306) ~[85:org.apache.cxf.cxf-rt-frontend-jaxrs:3.1.11.fuse-000084]
      	at org.apache.cxf.jaxrs.impl.AsyncResponseImpl.<init>(AsyncResponseImpl.java:68) ~[85:org.apache.cxf.cxf-rt-frontend-jaxrs:3.1.11.fuse-000084]
      	at org.apache.cxf.jaxrs.utils.JAXRSUtils.processParameter(JAXRSUtils.java:815) ~[85:org.apache.cxf.cxf-rt-frontend-jaxrs:3.1.11.fuse-000084]
      	at org.apache.cxf.jaxrs.utils.JAXRSUtils.processParameters(JAXRSUtils.java:789) ~[85:org.apache.cxf.cxf-rt-frontend-jaxrs:3.1.11.fuse-000084]
      	at org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.processRequest(JAXRSInInterceptor.java:212) ~[85:org.apache.cxf.cxf-rt-frontend-jaxrs:3.1.11.fuse-000084]
      	at org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.handleMessage(JAXRSInInterceptor.java:77) ~[85:org.apache.cxf.cxf-rt-frontend-jaxrs:3.1.11.fuse-000084]
      	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308) ~[72:org.apache.cxf.cxf-core:3.1.11.fuse-000084]
      	... 33 more
      2017-10-13 10:40:51,858 | ERROR | XNIO-1 task-6    | tractFaultChainInitiatorObserver | 72 - org.apache.cxf.cxf-core - 3.1.11.fuse-000084 | Error occurred during error handling, give up!
      org.apache.cxf.interceptor.Fault: null
      	at org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessage(AbstractFaultChainInitiatorObserver.java:75) ~[72:org.apache.cxf.cxf-core:3.1.11.fuse-000084]
      	at org.apache.cxf.phase.PhaseInterceptorChain.wrapExceptionAsFault(PhaseInterceptorChain.java:366) ~[72:org.apache.cxf.cxf-core:3.1.11.fuse-000084]
      	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:324) ~[72:org.apache.cxf.cxf-core:3.1.11.fuse-000084]
      	at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121) ~[72:org.apache.cxf.cxf-core:3.1.11.fuse-000084]
      	at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:262) ~[99:org.apache.cxf.cxf-rt-transports-http:3.1.11.fuse-000084]
      	at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:234) ~[99:org.apache.cxf.cxf-rt-transports-http:3.1.11.fuse-000084]
      	at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:208) ~[99:org.apache.cxf.cxf-rt-transports-http:3.1.11.fuse-000084]
      	at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:160) ~[99:org.apache.cxf.cxf-rt-transports-http:3.1.11.fuse-000084]
      	at org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:180) ~[99:org.apache.cxf.cxf-rt-transports-http:3.1.11.fuse-000084]
      	at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:299) ~[99:org.apache.cxf.cxf-rt-transports-http:3.1.11.fuse-000084]
      	at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTPServlet.java:223) ~[99:org.apache.cxf.cxf-rt-transports-http:3.1.11.fuse-000084]
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:687) ~[32:javax.servlet-api:3.1.0]
      	at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:274) ~[99:org.apache.cxf.cxf-rt-transports-http:3.1.11.fuse-000084]
      	at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85) ~[202:org.ops4j.pax.tipi.undertow.servlet:1.3.25.1]
      	at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62) ~[202:org.ops4j.pax.tipi.undertow.servlet:1.3.25.1]
      	at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36) ~[202:org.ops4j.pax.tipi.undertow.servlet:1.3.25.1]
      	at org.ops4j.pax.web.service.undertow.internal.Context$1.lambda$wrap$0(Context.java:552) ~[?:?]
      	at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131) [202:org.ops4j.pax.tipi.undertow.servlet:1.3.25.1]
      	at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57) [202:org.ops4j.pax.tipi.undertow.servlet:1.3.25.1]
      	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [26:io.undertow.core:1.4.18.Final]
      	at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46) [26:io.undertow.core:1.4.18.Final]
      	at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64) [202:org.ops4j.pax.tipi.undertow.servlet:1.3.25.1]
      	at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60) [26:io.undertow.core:1.4.18.Final]
      	at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77) [202:org.ops4j.pax.tipi.undertow.servlet:1.3.25.1]
      	at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43) [26:io.undertow.core:1.4.18.Final]
      	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [26:io.undertow.core:1.4.18.Final]
      	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [26:io.undertow.core:1.4.18.Final]
      	at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:285) [202:org.ops4j.pax.tipi.undertow.servlet:1.3.25.1]
      	at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:264) [202:org.ops4j.pax.tipi.undertow.servlet:1.3.25.1]
      	at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81) [202:org.ops4j.pax.tipi.undertow.servlet:1.3.25.1]
      	at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:175) [202:org.ops4j.pax.tipi.undertow.servlet:1.3.25.1]
      	at io.undertow.server.Connectors.executeRootHandler(Connectors.java:326) [26:io.undertow.core:1.4.18.Final]
      	at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:812) [26:io.undertow.core:1.4.18.Final]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
      	at java.lang.Thread.run(Thread.java:748) [?:?]
      Caused by: java.lang.NullPointerException
      	at org.apache.cxf.jaxrs.impl.AsyncResponseImpl.initContinuation(AsyncResponseImpl.java:306) ~[85:org.apache.cxf.cxf-rt-frontend-jaxrs:3.1.11.fuse-000084]
      	at org.apache.cxf.jaxrs.impl.AsyncResponseImpl.<init>(AsyncResponseImpl.java:68) ~[85:org.apache.cxf.cxf-rt-frontend-jaxrs:3.1.11.fuse-000084]
      	at org.apache.cxf.jaxrs.utils.JAXRSUtils.processParameter(JAXRSUtils.java:815) ~[85:org.apache.cxf.cxf-rt-frontend-jaxrs:3.1.11.fuse-000084]
      	at org.apache.cxf.jaxrs.utils.JAXRSUtils.processParameters(JAXRSUtils.java:789) ~[85:org.apache.cxf.cxf-rt-frontend-jaxrs:3.1.11.fuse-000084]
      	at org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.processRequest(JAXRSInInterceptor.java:212) ~[85:org.apache.cxf.cxf-rt-frontend-jaxrs:3.1.11.fuse-000084]
      	at org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.handleMessage(JAXRSInInterceptor.java:77) ~[85:org.apache.cxf.cxf-rt-frontend-jaxrs:3.1.11.fuse-000084]
      	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308) ~[72:org.apache.cxf.cxf-core:3.1.11.fuse-000084]
      	... 33 more
      2017-10-13 10:40:51,860 | ERROR | XNIO-1 task-6    | request                          | 26 - io.undertow.core - 1.4.18.Final | UT005023: Exception handling request to /cxf/rest-async/greeting-service/
      java.lang.NullPointerException: null
      	at org.apache.cxf.jaxrs.impl.AsyncResponseImpl.initContinuation(AsyncResponseImpl.java:306) ~[85:org.apache.cxf.cxf-rt-frontend-jaxrs:3.1.11.fuse-000084]
      	at org.apache.cxf.jaxrs.impl.AsyncResponseImpl.<init>(AsyncResponseImpl.java:68) ~[85:org.apache.cxf.cxf-rt-frontend-jaxrs:3.1.11.fuse-000084]
      	at org.apache.cxf.jaxrs.utils.JAXRSUtils.processParameter(JAXRSUtils.java:815) ~[85:org.apache.cxf.cxf-rt-frontend-jaxrs:3.1.11.fuse-000084]
      	at org.apache.cxf.jaxrs.utils.JAXRSUtils.processParameters(JAXRSUtils.java:789) ~[85:org.apache.cxf.cxf-rt-frontend-jaxrs:3.1.11.fuse-000084]
      	at org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.processRequest(JAXRSInInterceptor.java:212) ~[85:org.apache.cxf.cxf-rt-frontend-jaxrs:3.1.11.fuse-000084]
      	at org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.handleMessage(JAXRSInInterceptor.java:77) ~[85:org.apache.cxf.cxf-rt-frontend-jaxrs:3.1.11.fuse-000084]
      	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308) ~[72:org.apache.cxf.cxf-core:3.1.11.fuse-000084]
      	at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121) ~[72:org.apache.cxf.cxf-core:3.1.11.fuse-000084]
      	at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:262) ~[99:org.apache.cxf.cxf-rt-transports-http:3.1.11.fuse-000084]
      	at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:234) ~[99:org.apache.cxf.cxf-rt-transports-http:3.1.11.fuse-000084]
      	at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:208) ~[99:org.apache.cxf.cxf-rt-transports-http:3.1.11.fuse-000084]
      	at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:160) ~[99:org.apache.cxf.cxf-rt-transports-http:3.1.11.fuse-000084]
      	at org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:180) ~[99:org.apache.cxf.cxf-rt-transports-http:3.1.11.fuse-000084]
      	at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:299) ~[99:org.apache.cxf.cxf-rt-transports-http:3.1.11.fuse-000084]
      	at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTPServlet.java:223) ~[99:org.apache.cxf.cxf-rt-transports-http:3.1.11.fuse-000084]
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:687) ~[32:javax.servlet-api:3.1.0]
      	at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:274) ~[99:org.apache.cxf.cxf-rt-transports-http:3.1.11.fuse-000084]
      	at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85) ~[202:org.ops4j.pax.tipi.undertow.servlet:1.3.25.1]
      	at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62) ~[202:org.ops4j.pax.tipi.undertow.servlet:1.3.25.1]
      	at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36) ~[202:org.ops4j.pax.tipi.undertow.servlet:1.3.25.1]
      	at org.ops4j.pax.web.service.undertow.internal.Context$1.lambda$wrap$0(Context.java:552) ~[217:org.ops4j.pax.web.pax-web-undertow:6.0.6]
      	at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131) [202:org.ops4j.pax.tipi.undertow.servlet:1.3.25.1]
      	at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57) [202:org.ops4j.pax.tipi.undertow.servlet:1.3.25.1]
      	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [26:io.undertow.core:1.4.18.Final]
      	at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46) [26:io.undertow.core:1.4.18.Final]
      	at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64) [202:org.ops4j.pax.tipi.undertow.servlet:1.3.25.1]
      	at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60) [26:io.undertow.core:1.4.18.Final]
      	at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77) [202:org.ops4j.pax.tipi.undertow.servlet:1.3.25.1]
      	at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43) [26:io.undertow.core:1.4.18.Final]
      	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [26:io.undertow.core:1.4.18.Final]
      	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [26:io.undertow.core:1.4.18.Final]
      	at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:285) [202:org.ops4j.pax.tipi.undertow.servlet:1.3.25.1]
      	at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:264) [202:org.ops4j.pax.tipi.undertow.servlet:1.3.25.1]
      	at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81) [202:org.ops4j.pax.tipi.undertow.servlet:1.3.25.1]
      	at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:175) [202:org.ops4j.pax.tipi.undertow.servlet:1.3.25.1]
      	at io.undertow.server.Connectors.executeRootHandler(Connectors.java:326) [26:io.undertow.core:1.4.18.Final]
      	at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:812) [26:io.undertow.core:1.4.18.Final]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
      	at java.lang.Thread.run(Thread.java:748) [?:?]
      

      Attachments

        1. async-rest.zip
          38 kB
        2. fuse.log
          226 kB

        Activity

          People

            yfang@redhat.com Freeman(Yue) Fang
            vkasala@redhat.com Viliam Kasala
            Viliam Kasala Viliam Kasala
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: