From 5488d8a030ca5e97ac4f4892f87ff96e5b4437d1 Mon Sep 17 00:00:00 2001 From: "Christopher L. Shannon (cshannon)" Date: Mon, 21 Sep 2015 17:37:02 +0000 Subject: [PATCH] https://issues.apache.org/jira/browse/AMQ-5968 Fixing a potential null pointer exception when attempting to use scheduler support with replicated levelDB, which is currently not supported. (cherry picked from commit 130455c925786c4bf3333e59240ff0789b9d026f) --- .../apache/activemq/leveldb/replicated/ProxyLevelDBStore.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activemq-leveldb-store/src/main/scala/org/apache/activemq/leveldb/replicated/ProxyLevelDBStore.scala b/activemq-leveldb-store/src/main/scala/org/apache/activemq/leveldb/replicated/ProxyLevelDBStore.scala index efd55f3b5f..7b62a955e7 100644 --- a/activemq-leveldb-store/src/main/scala/org/apache/activemq/leveldb/replicated/ProxyLevelDBStore.scala +++ b/activemq-leveldb-store/src/main/scala/org/apache/activemq/leveldb/replicated/ProxyLevelDBStore.scala @@ -46,7 +46,7 @@ abstract class ProxyLevelDBStore extends LockableServiceSupport with BrokerServi } def createJobSchedulerStore():JobSchedulerStore = { - return proxy_target.createJobSchedulerStore() + throw new UnsupportedOperationException(); } def setDirectory(dir: File) {