String orientUrl = "remote:solapp13:3424/PortalDS" ;
com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx database = new com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx(orientUrl).open(username,password);
com.orientechnologies.orient.core.exception.ODatabaseException: Cannot open database url=remote:solapp13:3424/PortalDS
at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.open(ODatabaseDocumentTx.java:281)
...
Caused by: java.lang.NullPointerException: Name is null
at java.lang.Enum.valueOf(Enum.java:235)
at com.orientechnologies.orient.core.config.OStorageClusterConfiguration$STATUS.valueOf(OStorageClusterConfiguration.java:24)
at com.orientechnologies.orient.core.config.OStorageConfiguration.fromStream(OStorageConfiguration.java:263)
at com.orientechnologies.orient.core.config.OStorageConfiguration.load(OStorageConfiguration.java:137)
at com.orientechnologies.orient.client.remote.OStorageRemote.open(OStorageRemote.java:223)
at com.orientechnologies.orient.client.remote.OStorageRemoteThread.open(OStorageRemoteThread.java:94)
at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.open(ODatabaseDocumentTx.java:248)
... 97 more
Thanks in advance.
Jon
--
---
You received this message because you are subscribed to the Google Groups "OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to orient-database+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.