tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan (JIRA)" <j...@apache.org>
Subject [jira] Updated: (OPENEJB-1042) NullPointerException is thrown while invoking Timer.getHandler()
Date Wed, 24 Jun 2009 07:14:07 GMT

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

Ivan updated OPENEJB-1042:
--------------------------

    Attachment: TimerWeb.war
                TimerEJB.jar

I attached a case used to reproduce this issue. I used Geronimo-2.2-SNAPSHOT as the server.

Steps: a. Deploy TimerEJB.jar
            b. Deploy TimerWeb.war
            c. Access http://localhost:8080/TimerWeb/HelloServlet


> NullPointerException is thrown while invoking Timer.getHandler()
> ----------------------------------------------------------------
>
>                 Key: OPENEJB-1042
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-1042
>             Project: OpenEJB
>          Issue Type: Bug
>            Reporter: Ivan
>         Attachments: OPENEJB-1042.patch, TimerEJB.jar, TimerWeb.war
>
>
> java.lang.NullPointerException
> at org.apache.openejb.core.BaseContext.isTimerMethodAllowed(BaseContext.java:167)
> 	at org.apache.openejb.core.timer.TimerImpl.checkState(TimerImpl.java:67)
> 	at org.apache.openejb.core.timer.TimerImpl.getHandle(TimerImpl.java:59)
> 	at org.mybean.TestBeanEJB.doOperation(TestBeanEJB.java:*)
> 	at org.mybean.TestBeanEJB.afterBegin(TestBeanEJB.java:)
> 	at sun.reflect.GeneratedMethodAccessor280.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:585)
> 	at org.apache.openejb.core.interceptor.ReflectionInvocationContext$Invocation.invoke(ReflectionInvocationContext.java:158)
> 	at org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed(ReflectionInvocationContext.java:141)
> 	at org.apache.openejb.core.interceptor.InterceptorStack.invoke(InterceptorStack.java:122)
> 	at org.apache.openejb.core.stateful.StatefulContainer$SessionSynchronizationCoordinator.registerSessionSynchronization(StatefulContainer.java:856)
> 	at org.apache.openejb.core.stateful.StatefulContainer$SessionSynchronizationCoordinator.access$200(StatefulContainer.java:802)
> 	at org.apache.openejb.core.stateful.StatefulContainer.registerSessionSynchronization(StatefulContainer.java:794)
> 	at org.apache.openejb.core.stateful.StatefulContainer.businessMethod(StatefulContainer.java:499)
> 	at org.apache.openejb.core.stateful.StatefulContainer.invoke(StatefulContainer.java:274)
> 	at org.apache.openejb.core.stateful.StatefulContainer.invoke(StatefulContainer.java:253)
> 	at org.apache.openejb.server.ejbd.EjbRequestHandler.doEjbObject_BUSINESS_METHOD(EjbRequestHandler.java:238)
> 	at org.apache.openejb.server.ejbd.EjbRequestHandler.processRequest(EjbRequestHandler.java:129)
> 	at org.apache.openejb.server.ejbd.EjbDaemon.processEjbRequest(EjbDaemon.java:196)
> 	at org.apache.openejb.server.ejbd.EjbDaemon.service(EjbDaemon.java:149)
> 	at org.apache.openejb.server.ejbd.EjbServer.service(EjbServer.java:71)
> 	at org.apache.openejb.server.ejbd.KeepAliveServer$Session.service(KeepAliveServer.java:213)
> 	at org.apache.openejb.server.ejbd.KeepAliveServer.service(KeepAliveServer.java:233)
> 	at org.apache.openejb.server.ejbd.EjbServer.service(EjbServer.java:66)
> 	at org.apache.openejb.server.ServicePool$2.run(ServicePool.java:91)
> 	at org.apache.openejb.server.ServicePool$3.run(ServicePool.java:120)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
> 	at java.lang.Thread.run(Thread.java:595)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message