Hi,

While stress-testing my timers I sometimes get this exception:

SEVERE: EjbTransactionUtil.handleSystemException: null
java.lang.NullPointerException
        at 
org.apache.openejb.core.timer.TimerData.getTimeRemaining(TimerData.java:375)
        at 
org.apache.openejb.core.timer.TimerImpl.getTimeRemaining(TimerImpl.java:52)

This is in a loop that calls getTimeRemaining() for all timers
returned by TimerService.getTimers(), so occasional race conditions
are expected. But shouldn't it be NoMoreTimeoutsException for that
situation?

TomEE version is apache-tomee-jaxrs-1.7.0

-- 
Bjorn Danielsson
Cuspy Code AB

Reply via email to