Project: talendesb
Issue TESB-15442: DemoRest (Esbdemo) Examples fails on Runtime
Fails with a CXF NPE on Talend Runtime (in this case it was Talend ESB Standard Edition Runtime) - It works in Studio (in this case I used TOS4ESB RC1 build) Even so it says it's a WARN the Rest Request comes back with a Fault (NPE) {code} 1WilliamSpringfieldNixon2AndrewHonoluluPolk3ThomasColumbiaHayesjava.lang.NullPointerException {code} {code} 11:54:12,073 | WARN | tp1147539306-316 | ache.cxf.common.logging.LogUtils 449 | 51 - org.apache.cxf.cxf-core - 3.1.1.SNAPSHOT | Interceptor for {http://demorest_0_1.esbdemo/}RestServiceProviderImpl4TalendJob has thrown exception, unwinding now java.lang.NullPointerException org.apache.cxf.management.interceptor.AbstractMessageResponseTimeInterceptor.getOperationCounterName(AbstractMessageResponseTimeInterceptor.java:161)[69:org.apache.cxf.cxf-rt-management:3.1.1.SNAPSHOT] org.apache.cxf.management.interceptor.AbstractMessageResponseTimeInterceptor.increaseCounter(AbstractMessageResponseTimeInterceptor.java:107)[69:org.apache.cxf.cxf-rt-management:3.1.1.SNAPSHOT] org.apache.cxf.management.interceptor.AbstractMessageResponseTimeInterceptor.endHandlingMessage(AbstractMessageResponseTimeInterceptor.java:76)[69:org.apache.cxf.cxf-rt-management:3.1.1.SNAPSHOT] org.apache.cxf.management.interceptor.ResponseTimeMessageOutInterceptor.handleMessage(ResponseTimeMessageOutInterceptor.java:54)[69:org.apache.cxf.cxf-rt-management:3.1.1.SNAPSHOT] org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)[51:org.apache.cxf.cxf-core:3.1.1.SNAPSHOT] org.apache.cxf.interceptor.OutgoingChainInterceptor.handleMessage(OutgoingChainInterceptor.java:83)[51:org.apache.cxf.cxf-core:3.1.1.SNAPSHOT] org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)[51:org.apache.cxf.cxf-core:3.1.1.SNAPSHOT] org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)[51:org.apache.cxf.cxf-core:3.1.1.SNAPSHOT] org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:251)[77:org.apache.cxf.cxf-rt-transports-http:3.1.1.SNAPSHOT] org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:234)[77:org.apache.cxf.cxf-rt-transports-http:3.1.1.SNAPSHOT] org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:208)[77:org.apache.cxf.cxf-rt-transports-http:3.1.1.SNAPSHOT] org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:160)[77:org.apache.cxf.cxf-rt-transports-http:3.1.1.SNAPSHOT] org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:171)[77:org.apache.cxf.cxf-rt-transports-http:3.1.1.SNAPSHOT] org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:293)[77:org.apache.cxf.cxf-rt-transports-http:3.1.1.SNAPSHOT] org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTPServlet.java:217)[77:org.apache.cxf.cxf-rt-transports-http:3.1.1.SNAPSHOT] javax.servlet.http.HttpServlet.service(HttpServlet.java:687)[13:javax.servlet-api:3.1.0] org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:268)[77:org.apache.cxf.cxf-rt-transports-http:3.1.1.SNAPSHOT] org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:808)[187:org.eclipse.jetty.servlet:9.2.10.v20150310] org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:587)[187:org.eclipse.jetty.servlet:9.2.10.v20150310] org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:70)[206:org.ops4j.pax.web.pax-web-jetty:4.1.2] org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)[186:org.eclipse.jetty.server:9.2.10.v20150310] org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)[185:org.eclipse.jetty.security:9.2.10.v20150310] org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)[186:org.eclipse.jetty.server:9.2.10.v20150310] org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)[186:org.eclipse.jetty.server:9.2.10.v20150310] org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:267)[206:org.ops4j.pax.web.pax-web-jetty:4.1.2] org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)[187:org.eclipse.jetty.servlet:9.2.10.v20150310] org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)[186:org.eclipse.jetty.server:9.2.10.v20150310] org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)[186:org.eclipse.jetty.server:9.2.10.v20150310] org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)[186:org.eclipse.jetty.server:9.2.10.v20150310] org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:80)[206:org.ops4j.pax.web.pax-web-jetty:4.1.2] org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)[186:org.eclipse.jetty.server:9.2.10.v20150310] org.eclipse.jetty.server.Server.handle(Server.java:497)[186:org.eclipse.jetty.server:9.2.10.v20150310] org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)[186:org.eclipse.jetty.server:9.2.10.v20150310] org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)[186:org.eclipse.jetty.server:9.2.10.v20150310] org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)[178:org.eclipse.jetty.io:9.2.10.v20150310] org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)[189:org.eclipse.jetty.util:9.2.10.v20150310] org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)[189:org.eclipse.jetty.util:9.2.10.v20150310] java.lang.Thread.run(Thread.java:745)[:1.7.0_67] {code}
Story points: 1