Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2020-06-08 06:55:23 +0000
committerEike Stepper2020-06-08 06:55:23 +0000
commitda4253a8b5ce2d03ec19e82dc260b1db07657022 (patch)
tree5d16896dab63655d89538da2946a44757ea5ba43
parent6f7ba059f4f77ef12a11f7692b5890fff8094948 (diff)
downloadcdo-da4253a8b5ce2d03ec19e82dc260b1db07657022.tar.gz
cdo-da4253a8b5ce2d03ec19e82dc260b1db07657022.tar.xz
cdo-da4253a8b5ce2d03ec19e82dc260b1db07657022.zip
[564054] DBStore.properties can be null
https://bugs.eclipse.org/bugs/show_bug.cgi?id=564054
-rw-r--r--plugins/org.eclipse.emf.cdo.server.db/src/org/eclipse/emf/cdo/server/internal/db/DBStore.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/org.eclipse.emf.cdo.server.db/src/org/eclipse/emf/cdo/server/internal/db/DBStore.java b/plugins/org.eclipse.emf.cdo.server.db/src/org/eclipse/emf/cdo/server/internal/db/DBStore.java
index df6ff802b3..790a39b5dc 100644
--- a/plugins/org.eclipse.emf.cdo.server.db/src/org/eclipse/emf/cdo/server/internal/db/DBStore.java
+++ b/plugins/org.eclipse.emf.cdo.server.db/src/org/eclipse/emf/cdo/server/internal/db/DBStore.java
@@ -602,6 +602,11 @@ public class DBStore extends Store implements IDBStore, IMappingConstants, CDOAl
checkNull(mappingStrategy, Messages.getString("DBStore.2")); //$NON-NLS-1$
checkNull(dbAdapter, Messages.getString("DBStore.1")); //$NON-NLS-1$
checkNull(dbConnectionProvider, Messages.getString("DBStore.0")); //$NON-NLS-1$
+
+ if (properties == null)
+ {
+ properties = new HashMap<>();
+ }
}
@Override

Back to the top