You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Alex the Rocker (JIRA)" <ji...@apache.org> on 2013/02/17 16:03:12 UTC

[jira] [Updated] (TOMEE-773) Regression vs 1.5.1 for REST Services, NPR in String.compareTo from org.apache.openejb.server.cxf.rs.Logs$LogOperationEndpointInfo.compareTo

     [ https://issues.apache.org/jira/browse/TOMEE-773?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex the Rocker updated TOMEE-773:
----------------------------------

    Attachment: RestSampleKOWith152.war

This sample .war allows reproducing the the problem.
Intructions:
1. copy this war file into webapps directory,
2. restart TomEE++:
3. have a look to catalina*.log

Results:
- If ran with TomEE+ 1.5.1 then no exception and the webapp is deployed
 - If ran with TomEE 1.5.2 or 1.6.0 current snapshot, then webapp's deployement fails with the exception quoted in this JIRA(s description
                
> Regression vs 1.5.1 for REST Services, NPR in String.compareTo from org.apache.openejb.server.cxf.rs.Logs$LogOperationEndpointInfo.compareTo
> --------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: TOMEE-773
>                 URL: https://issues.apache.org/jira/browse/TOMEE-773
>             Project: TomEE
>          Issue Type: Bug
>    Affects Versions: 1.6.0, 1.5.2
>         Environment: 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
>            Reporter: Alex the Rocker
>            Priority: Critical
>         Attachments: RestSampleKOWith152.war
>
>
> 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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira