Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 13050 invoked from network); 1 Oct 2010 12:07:10 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 1 Oct 2010 12:07:10 -0000 Received: (qmail 63132 invoked by uid 500); 1 Oct 2010 12:07:10 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 62920 invoked by uid 500); 1 Oct 2010 12:07:07 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 62911 invoked by uid 99); 1 Oct 2010 12:07:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Oct 2010 12:07:05 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Oct 2010 12:07:02 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o91C6elb019354 for ; Fri, 1 Oct 2010 12:06:40 GMT Message-ID: <32017295.40091285934800375.JavaMail.jira@thor> Date: Fri, 1 Oct 2010 08:06:40 -0400 (EDT) From: "Ioannis Canellos (JIRA)" To: dev@activemq.apache.org Subject: [jira] Created: (AMQ-2954) NPE in JobSchedulerStore after restarts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c X-Virus-Checked: Checked by ClamAV on apache.org 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.