You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
java embedded create() works but subsequent open() fails with NoSuchMethodError #262
Exception in thread "main" java.lang.NoSuchMethodError: org.json.JSONObject.keySet()Ljava/util/Set;
at com.arcadedb.ContextConfiguration.fromJSON(ContextConfiguration.java:68)
at com.arcadedb.database.EmbeddedDatabase.open(EmbeddedDatabase.java:172)
at com.arcadedb.database.DatabaseFactory.open(DatabaseFactory.java:65)
at com.arcadedb.database.DatabaseFactory.open(DatabaseFactory.java:59)
at com.kombi.test.ArcadeTest.initDB(ArcadeTest.java:27)
Steps to reproduce
create a database with:
DatabaseFactory databaseFactory = new DatabaseFactory(testDB.getPath());
try( Database db = databaseFactory.created(); ) {
// YOUR CODE
System.out.println("DB successfully created!");
} catch (Exception e) {
e.printStackTrace();
}
then try to reopen with:
DatabaseFactory databaseFactory = new DatabaseFactory(testDB.getPath());
try( Database db = databaseFactory.open(); ) {
// YOUR CODE
System.out.println("DB successfully opened!");
} catch (Exception e) {
e.printStackTrace();
}
Activity
grimace commentedon Jan 2, 2022
my bad! had an old json.jar file in my ~/.m2 repository
lvca commentedon Jan 3, 2022
NP.
chore(studio-deps-dev)(deps-dev): bump watchpack from 2.5.0 to 2.5.1 …
chore(deps-dev): bump org.codehaus.mojo:buildnumber-maven-plugin from…
chore(studio-deps-dev)(deps-dev): bump watchpack from 2.5.0 to 2.5.1 …
chore(deps-dev): bump org.codehaus.mojo:buildnumber-maven-plugin from…