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 — class java.util.ArrayList cannot be cast to class java.util.Map · Issue #1193 · ArcadeData/arcadedb

class java.util.ArrayList cannot be cast to class java.util.Map #1193

New issue
Copy link
New issue
Copy link
Closed
Closed
class java.util.ArrayList cannot be cast to class java.util.Map#1193
Copy link
Assignees
lvca
Labels
questionFurther information is requestedwaiting for userwontfixThis will not be worked on

Description

@Ukuser36
Ukuser36
opened on Aug 2, 2023
Issue body actions

ArcadeDB Version:

23.6.1

Expected behavior

Providing data for a (?,?,?) parameters based insert query shouldn't need names on the fields (it didn't in Orient) and an ability to supply a JSON object for an EMBEDDED data type. Furthermore data appears to be inserted but isn't visible in the Web interface.

Actual behavior

  1. When inserting using INSERT and passing a 'params' attribute, if you omit the key for an insert field or (2) try to insert an array into an EMBEDDED field type, you get the error class java.util.ArrayList cannot be cast to class java.util.Map

  2. Furthermore running the following query produces an entry in the Companies table but no visible data.

Steps to reproduce

Create an INSERT statement with parameters and pass in an array of elements without field names. Furthermore, try to supply a JSON object as one of the values for an EMBEDDED field type.

  1. {"language":"sql","command":"INSERT INTO Companies (CompanyID,CompanyName,CountryID) VALUES (?,?,?)","params":[123,"Test company",826]}

  2. {"command":"UPDATE Companies SET SocialAccounts = ? WHERE @Rid = 'GIVEN_ID'","language":"sql","params":[{"SocialAccounts":[{"Url":"https://www.facebook.com/","Type":"fb"},{"Url":"https://www.linkedin.com/","Type":"li"}]}]}

  3. {"language":"sql","command":"INSERT INTO Companies (CompanyID,CompanyName,CountryID) VALUES (?,?,?)","params":{"CompanyID":123,"CompanyName":"Test company","CountryID":826}}

Activity

  1. DevWithVishesh commented on Sep 6, 2023

    @DevWithVishesh
    DevWithVishesh
    on Sep 6, 2023
    More actions

    @Ukuser36
    class java.util.ArrayList cannot be cast to class java.util.Map #1193
    Can i Get toknow that in which file we are facing such issue. It can easily be resolved Once known

  2. lvca commented on Dec 12, 2023

    @lvca
    lvca
    on Dec 12, 2023
    Member
    More actions

    @Ukuser36 how did you define the schema? Without the schema it's impossible to guess what's wrong. Also, if you have the exception, please attach it here.

  3. lvca
    self-assigned this
    on Dec 12, 2023
  4. lvca
    added
    questionFurther information is requested
    waiting for user
    on Dec 12, 2023
  5. mergify
    added a commit that references this issue on Sep 8, 2025

    chore(deps): bump org.codehaus.mojo:versions-maven-plugin from 2.18.0…

    686f577
  6. mergify
    added 2 commits that reference this issue on Dec 14, 2025

    chore(deps-dev): bump testcontainers from 11.9.0 to 11.10.0 in /e2e-s…

    cca1154

    chore(deps-dev): bump testcontainers from 11.9.0 to 11.10.0 in /e2e-j…

    2c7330a
  7. lvca commented on Jan 23, 2026

    @lvca
    lvca
    on Jan 23, 2026
    Member
    More actions

    Closing because of no response.

  8. lvca
    closed this as completedon Jan 23, 2026
  9. lvca
    added
    wontfixThis will not be worked on
    on Jan 23, 2026
  10. tae898
    added 3 commits that reference this issue on Jun 28, 2026

    chore(deps): bump org.codehaus.mojo:versions-maven-plugin from 2.18.0…

    686edd5

    chore(deps-dev): bump testcontainers from 11.9.0 to 11.10.0 in /e2e-s…

    00ea033

    chore(deps-dev): bump testcontainers from 11.9.0 to 11.10.0 in /e2e-j…

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

Metadata

Metadata

Assignees

  • @lvca
    lvca

Labels

questionFurther information is requestedwaiting for userwontfixThis will not be worked on

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.