Once in a while we're getting following exception in AMQ logs and there is no other way than purging the queue. How can we overcome this issue? Is it okay to use LevelDB store now? Any answers?
2014-09-01 13:25:52,065 [erSimpleAppMain] DEBUG AbstractRegion - localhost adding destination: queue://files/dead 2014-09-01 13:25:52,081 [erSimpleAppMain] DEBUG TaskRunnerFactory - Initialized TaskRunnerFactory[ActiveMQ BrokerService[localhost] Task] using ExecutorService: null 2014-09-01 13:25:52,098 [erSimpleAppMain] WARN LevelDBClient - DB operation failed. (entering recovery mode) 2014-09-01 13:25:52,099 [erSimpleAppMain] DEBUG LevelDBClient - java.lang.NullPointerException java.lang.NullPointerException at org.apache.activemq.leveldb.LevelDBClient$$anonfun$queueCursor$1.apply(LevelDBClient.scala:966) at org.apache.activemq.leveldb.LevelDBClient$$anonfun$queueCursor$1.apply(LevelDBClient.scala:962) at org.apache.activemq.leveldb.LevelDBClient$$anonfun$collectionCursor$1$$anonfun$apply$mcV$sp$9.apply(LevelDBClient.scala:1038) at org.apache.activemq.leveldb.LevelDBClient$$anonfun$collectionCursor$1$$anonfun$apply$mcV$sp$9.apply(LevelDBClient.scala:1037) at org.apache.activemq.leveldb.LevelDBClient$RichDB.check$4(LevelDBClient.scala:309) at org.apache.activemq.leveldb.LevelDBClient$RichDB.cursorRange(LevelDBClient.scala:311) at org.apache.activemq.leveldb.LevelDBClient$$anonfun$collectionCursor$1.apply$mcV$sp(LevelDBClient.scala:1037) at org.apache.activemq.leveldb.LevelDBClient$$anonfun$collectionCursor$1.apply(LevelDBClient.scala:1037) at org.apache.activemq.leveldb.LevelDBClient$$anonfun$collectionCursor$1.apply(LevelDBClient.scala:1037) at org.apache.activemq.leveldb.LevelDBClient.usingIndex(LevelDBClient.scala:760) at org.apache.activemq.leveldb.LevelDBClient$$anonfun$retryUsingIndex$1.apply(LevelDBClient.scala:766) at org.apache.activemq.leveldb.util.RetrySupport$.retry(RetrySupport.scala:38) at org.apache.activemq.leveldb.LevelDBClient.retry(LevelDBClient.scala:457) at org.apache.activemq.leveldb.LevelDBClient.retryUsingIndex(LevelDBClient.scala:766) at org.apache.activemq.leveldb.LevelDBClient.collectionCursor(LevelDBClient.scala:1036) at org.apache.activemq.leveldb.LevelDBClient.queueCursor(LevelDBClient.scala:962) at org.apache.activemq.leveldb.DBManager.cursorMessages(DBManager.scala:633) at org.apache.activemq.leveldb.LevelDBStore$LevelDBMessageStore.recoverNextMessages(LevelDBStore.scala:643) at org.apache.activemq.broker.region.Queue.initialize(Queue.java:381) at org.apache.activemq.broker.region.DestinationFactoryImpl.createDestination(DestinationFactoryImpl.java:87) -- View this message in context: http://activemq.2283324.n4.nabble.com/LevelDBClient-operation-failed-NullPointerException-after-entering-recovery-mode-tp4685208.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.