[
https://issues.apache.org/jira/browse/OPENEJB-539?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kevan Miller closed OPENEJB-539.
--------------------------------
Resolution: Fixed
Agreed.
> Fix NPE in InterceptorStack
> ---------------------------
>
> Key: OPENEJB-539
> URL: https://issues.apache.org/jira/browse/OPENEJB-539
> Project: OpenEJB
> Issue Type: Bug
> Affects Versions: 3.0
> Reporter: Kevan Miller
> Assignee: David Blevins
> Fix For: 3.0
>
>
> A NullPointerException occurs in InterceptorStack during an ejbTimout
> invocation. Here's a stacktrace:
> java.lang.NullPointerException
> at
> org.apache.openejb.core.interceptor.InterceptorStack.<init>(InterceptorStack.java:41)
> at
> org.apache.openejb.core.stateless.StatelessContainer._invoke(StatelessContainer.java:179)
> at
> org.apache.openejb.core.stateless.StatelessContainer.invoke(StatelessContainer.java:148)
> at
> org.apache.openejb.core.timer.EjbTimerServiceImpl.ejbTimeout(EjbTimerServiceImpl.java:264)
> at
> org.apache.openejb.core.timer.EjbTimerServiceImpl.access$100(EjbTimerServiceImpl.java:39)
> at
> org.apache.openejb.core.timer.EjbTimerServiceImpl$EjbTimeoutTimerTask$1.run(EjbTimerServiceImpl.java:330)
> 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:613)
> Either *every* possible method needs to have interceptors set, or
> CoreDeploymentInfo.getMethodInterceptors(Method) should always return a
> non-null (potentially size 0) list.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.