Fix for "CONFIG SET storage.encryptionKey T1JJRU5UREJfSVNfQ09PTA=="
@@ -2487,7 +2487,7 @@ public class OConsoleDatabaseApp extends OrientConsole implements OCommandOutput
if (config == null)
throw new IllegalArgumentException("Configuration variable '" + iConfigName + "' not found");
- if (!OrientDBInternal.extract(orientDB).isEmbedded()) {
+ if (orientDB != null && !OrientDBInternal.extract(orientDB).isEmbedded()) {
((OrientDBRemote) OrientDBInternal.extract(orientDB))
.setGlobalConfiguration(currentDatabaseUserName, currentDatabaseUserPassword, config, iConfigValue);
message("\nRemote configuration value changed correctly");
