You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by hwaastad <he...@waastad.org> on 2013/10/02 14:17:08 UTC
Rest exception in latest 1.6.0 snapshot
Hi,
I noticed today an exception during deployment of my rest services:
[2013-10-02 14:12:14|INFO][org.apache.cxf.endpoint.ServerImpl
initDestination]: Setting the server's publish address to be
http://localhost:8080/DataApi/data
[2013-10-02
14:12:14|INFO][org.apache.openejb.server.cxf.rs.CxfRsHttpListener
logEndpoints]: REST Application: http://localhost:8080/DataApi/data
-> no.data..service.ApplicationConfig
[2013-10-02 14:12:14|SEVERE][org.apache.openejb.observer.ObserverManager
fireEvent]: error invoking
Observer{class=org.apache.tomee.webservices.TomeeJaxRsService}
java.lang.NullPointerException
at
org.apache.openejb.server.cxf.rs.CxfRsHttpListener$RestServiceMBean.<init>(CxfRsHttpListener.java:641)
at
org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints(CxfRsHttpListener.java:461)
at
org.apache.openejb.server.cxf.rs.CxfRsHttpListener.deployApplication(CxfRsHttpListener.java:387)
at
org.apache.openejb.server.rest.RESTService.deployApplication(RESTService.java:453)
at
org.apache.openejb.server.rest.RESTService.afterApplicationCreated(RESTService.java:231)
at
org.apache.tomee.webservices.TomeeJaxRsService.afterApplicationCreated(TomeeJaxRsService.java:51)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at
org.apache.openejb.observer.ObserverManager$Observer.invoke(ObserverManager.java:149)
at
org.apache.openejb.observer.ObserverManager.fireEvent(ObserverManager.java:69)
at
org.apache.openejb.loader.SystemInstance.fireEvent(SystemInstance.java:108)
at
org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:1530)
at
org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:113)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at
org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
at
org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:402)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:724)
Service works allright, though.
br hw
--
View this message in context: http://openejb.979440.n4.nabble.com/Rest-exception-in-latest-1-6-0-snapshot-tp4665390.html
Sent from the OpenEJB User mailing list archive at Nabble.com.
Re: Rest exception in latest 1.6.0 snapshot
Posted by Romain Manni-Bucau <rm...@gmail.com>.
Hi
i fixed it this morning
*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*
2013/10/2 hwaastad <he...@waastad.org>
> Hi,
> I noticed today an exception during deployment of my rest services:
>
> [2013-10-02 14:12:14|INFO][org.apache.cxf.endpoint.ServerImpl
> initDestination]: Setting the server's publish address to be
> http://localhost:8080/DataApi/data
> [2013-10-02
> 14:12:14|INFO][org.apache.openejb.server.cxf.rs.CxfRsHttpListener
> logEndpoints]: REST Application: http://localhost:8080/DataApi/data
> -> no.data..service.ApplicationConfig
> [2013-10-02 14:12:14|SEVERE][org.apache.openejb.observer.ObserverManager
> fireEvent]: error invoking
> Observer{class=org.apache.tomee.webservices.TomeeJaxRsService}
> java.lang.NullPointerException
> at
>
> org.apache.openejb.server.cxf.rs.CxfRsHttpListener$RestServiceMBean.<init>(CxfRsHttpListener.java:641)
> at
>
> org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints(CxfRsHttpListener.java:461)
> at
>
> org.apache.openejb.server.cxf.rs.CxfRsHttpListener.deployApplication(CxfRsHttpListener.java:387)
> at
>
> org.apache.openejb.server.rest.RESTService.deployApplication(RESTService.java:453)
> at
>
> org.apache.openejb.server.rest.RESTService.afterApplicationCreated(RESTService.java:231)
> at
>
> org.apache.tomee.webservices.TomeeJaxRsService.afterApplicationCreated(TomeeJaxRsService.java:51)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at
>
> org.apache.openejb.observer.ObserverManager$Observer.invoke(ObserverManager.java:149)
> at
>
> org.apache.openejb.observer.ObserverManager.fireEvent(ObserverManager.java:69)
> at
> org.apache.openejb.loader.SystemInstance.fireEvent(SystemInstance.java:108)
> at
>
> org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:1530)
> at
>
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:113)
> at
>
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> at
>
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
> at
>
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:402)
> at
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
> at
>
> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
> at
>
> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
> at
> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
> at java.util.concurrent.FutureTask.run(FutureTask.java:166)
> at
>
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:724)
>
> Service works allright, though.
>
> br hw
>
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/Rest-exception-in-latest-1-6-0-snapshot-tp4665390.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>