GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — java embedded create() works but subsequent open() fails with NoSuchMethodError · Issue #262 · ArcadeData/arcadedb

java embedded create() works but subsequent open() fails with NoSuchMethodError #262

New issue
Copy link
New issue
Copy link
Closed
Closed
java embedded create() works but subsequent open() fails with NoSuchMethodError#262
Copy link
Assignees
lvca
Labels
invalidThis doesn't seem right

Description

@grimace
grimace
opened on Jan 2, 2022
Issue body actions

ArcadeDB Version: v21.12.1-SNAPSHOT (

JDK Version: 11.0.1

OS: OS/X

Expected behavior

open a created database

Actual behavior

fails with:

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

  1. grimace commented on Jan 2, 2022

    @grimace
    grimace
    on Jan 2, 2022
    SponsorAuthor
    More actions

    my bad! had an old json.jar file in my ~/.m2 repository

  2. grimace
    closed this as completedon Jan 2, 2022
  3. lvca commented on Jan 3, 2022

    @lvca
    lvca
    on Jan 3, 2022
    Member
    More actions

    NP.

  4. lvca
    self-assigned this
    on Jan 3, 2022
  5. lvca
    added
    invalidThis doesn't seem right
    on Jan 3, 2022
  6. mergify
    added a commit that references this issue on Jan 18, 2026

    chore(studio-deps-dev)(deps-dev): bump watchpack from 2.5.0 to 2.5.1 …

    3c6b2ee
  7. mergify
    added a commit that references this issue on Jan 28, 2026

    chore(deps-dev): bump org.codehaus.mojo:buildnumber-maven-plugin from…

    917f3f4
  8. tae898
    added 2 commits that reference this issue on Jun 28, 2026

    chore(studio-deps-dev)(deps-dev): bump watchpack from 2.5.0 to 2.5.1 …

    998d707

    chore(deps-dev): bump org.codehaus.mojo:buildnumber-maven-plugin from…

    11d6a4b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @lvca
    lvca

Labels

invalidThis doesn't seem right

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.