You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Timothy Bish (JIRA)" <ji...@apache.org> on 2011/02/24 22:37:38 UTC
[jira] Closed: (AMQ-2954) NPE in JobSchedulerStore after restarts
[ https://issues.apache.org/jira/browse/AMQ-2954?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Timothy Bish closed AMQ-2954.
-----------------------------
Resolution: Incomplete
Fix Version/s: 5.5.0
Marking this resolved as theirs no test to help reproduce and the scheduler has had a number of fixes that should have addressed these problems. Feel free to reopen if you still see this issue.
> NPE in JobSchedulerStore after restarts
> ---------------------------------------
>
> Key: AMQ-2954
> URL: https://issues.apache.org/jira/browse/AMQ-2954
> Project: ActiveMQ
> Issue Type: Bug
> Affects Versions: 5.4.0
> Reporter: Ioannis Canellos
> Fix For: 5.5.0
>
>
> The scenario is the following:
> 1) I schedule 1K messages with 1 hour delay
> 2) I restart the broker
> 3) Each time I try to schedule a message I get the following error:
> Caused by: java.lang.NullPointerException
> at org.apache.activemq.broker.scheduler.JobSchedulerStore$1.execute(JobSchedulerStore.java:196)
> at org.apache.kahadb.page.Transaction.execute(Transaction.java:728)
> at org.apache.activemq.broker.scheduler.JobSchedulerStore.getJobScheduler(JobSchedulerStore.java:192)
> at org.apache.activemq.broker.scheduler.SchedulerBroker.getInternalScheduler(SchedulerBroker.java:184)
> at org.apache.activemq.broker.scheduler.SchedulerBroker.send(SchedulerBroker.java:131)
> at org.apache.activemq.broker.CompositeDestinationBroker.send(CompositeDestinationBroker.java:96)
> at org.apache.activemq.broker.TransactionBroker.send(TransactionBroker.java:230)
> at org.apache.activemq.broker.MutableBrokerFilter.send(MutableBrokerFilter.java:135)
> at org.apache.activemq.broker.TransportConnection.processMessage(TransportConnection.java:460)
> at org.apache.activemq.command.ActiveMQMessage.visit(ActiveMQMessage.java:663)
> at org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:309)
> at org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:185)
> at org.apache.activemq.transport.ResponseCorrelator.onCommand(ResponseCorrelator.java:116)
> at org.apache.activemq.transport.TransportFilter.onCommand(TransportFilter.java:69)
> at org.apache.activemq.transport.vm.VMTransport.iterate(VMTransport.java:218)
> at org.apache.activemq.thread.PooledTaskRunner.runTask(PooledTaskRunner.java:122)
> at org.apache.activemq.thread.PooledTaskRunner$1.run(PooledTaskRunner.java:43)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> ... 1 more
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira