We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9602d5d commit f94d4d6Copy full SHA for f94d4d6
1 file changed
distributed/src/main/java/com/orientechnologies/orient/distributed/db/OrientDBDistributed.java
@@ -139,7 +139,11 @@ public ODistributedPlugin getPlugin() {
139
}
140
141
private boolean isDistributedPluginEnabled() {
142
- return server.isDistributedPluginEnabled();
+ if (server != null) {
143
+ return server.isDistributedPluginEnabled();
144
+ } else {
145
+ return false;
146
+ }
147
148
149
protected OSharedContext createSharedContext(OAbstractPaginatedStorage storage) {
0 commit comments