Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
1.5.2, 1.6.0.beta1
-
None
-
None
-
I have reproduced this issue using TomEE+ 1.6.0-20130217.041139-4 and TomEE+ 1.5.2-20130213.041108-68 snapshots, on Windows 2008 R2 and on 64-bit Windows 7 with 64-bit JDK 1.7.0_13
Description
Our web application with was deploying (and runs) fine with TomEE+ 1.5.1 official release is broken with latest 1.5.2 and 1.6.0 Snapshots, it can't deploy to a SEVERE issue which hints an issue in REST services handling see below exception:
SEVERE: error invoking org.apache.openejb.observer.ObserverManager$Observer@12496e12
java.lang.reflect.InvocationTargetException
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:601)
at org.apache.openejb.observer.ObserverManager$Observer.invoke(ObserverManager.java:145)
at org.apache.openejb.observer.ObserverManager.fireEvent(ObserverManager.java:69)
at org.apache.openejb.loader.SystemInstance.fireEvent(SystemInstance.java:107)
at org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:1491)
at org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:110)
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.addChildInternal(ContainerBase.java:901)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:977)
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1655)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
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:722)
Caused by: java.lang.NullPointerException
at java.lang.String.compareTo(String.java:1139)
at org.apache.openejb.server.cxf.rs.Logs$LogOperationEndpointInfo.compareTo(Logs.java:138)
at org.apache.openejb.server.cxf.rs.Logs$LogOperationEndpointInfo.compareTo(Logs.java:125)
at java.util.ComparableTimSort.countRunAndMakeAscending(ComparableTimSort.java:290)
at java.util.ComparableTimSort.sort(ComparableTimSort.java:157)
at java.util.ComparableTimSort.sort(ComparableTimSort.java:146)
at java.util.Arrays.sort(Arrays.java:472)
at java.util.Collections.sort(Collections.java:155)
at org.apache.openejb.server.cxf.rs.CxfRsHttpListener.deployApplication(CxfRsHttpListener.java:379)
at org.apache.openejb.server.rest.RESTService.deployApplication(RESTService.java:405)
at org.apache.openejb.server.rest.RESTService.afterApplicationCreated(RESTService.java:241)
at org.apache.tomee.webservices.TomeeJaxRsService.afterApplicationCreated(TomeeJaxRsService.java:51)
... 24 more
This is a very big application, but I have reduced it to a small .war, I need to figure out how to upload it and attach it to this JIRA.
Thanks,
Alex