CXF logbrowser sample not working in 2.6.0
------------------------------------------
Key: CXF-4193
URL: https://issues.apache.org/jira/browse/CXF-4193
Project: CXF
Issue Type: Bug
Components: Samples
Affects Versions: 2.6
Reporter: Glen Mazza
Priority: Minor
When following the instructions in the README to add the URL
http://localhost:9002/log/logs, the following exception occurs is reported by
the server:
Caused by: org.apache.cxf.interceptor.Fault
at
org.apache.cxf.service.invoker.AbstractInvoker.createFault(AbstractInvoker.java:154)
at
org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:120)
at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:167)
at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:94)
at
org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:58)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at
org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)
at
org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:106)
at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:262)
... 32 more
Caused by: java.lang.NullPointerException
at
org.apache.cxf.management.web.logging.atom.AtomPullServer.getCurrentCondition(AtomPullServer.java:277)
at
org.apache.cxf.management.web.logging.atom.AtomPullServer.getXmlFeedWithPage(AtomPullServer.java:165)
at
org.apache.cxf.management.web.logging.atom.AtomPullServer.getXmlFeed(AtomPullServer.java:146)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:172)
at
org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:88)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira