activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ioannis Canellos (JIRA)" <j...@apache.org>
Subject [jira] Created: (AMQ-2954) NPE in JobSchedulerStore after restarts
Date Fri, 01 Oct 2010 12:06:40 GMT
NPE in JobSchedulerStore after restarts
---------------------------------------

                 Key: AMQ-2954
                 URL: https://issues.apache.org/activemq/browse/AMQ-2954
             Project: ActiveMQ
          Issue Type: Bug
    Affects Versions: 5.4.0
            Reporter: Ioannis Canellos


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.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message