org.h2.jdbc.JdbcSQLException: General error: "java.lang.ArrayIndexOutOfBoundsException"; SQL statement: INSERT INTO hand (gameid, casinoid, gamenumber, starttime) VALUES (?, ?, ?, ?) [50000-188]

Google Groups | Steve McLeod | 2 years ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael . Or join the community to write better ones.
  1. 0
    samebug tip
    Check if you're not creating unused SQL entities, as it might cause this exception.
  2. 0

    Database created with H2 1.3 possibly incompatible with H2 1.4 due to h2.storeLocalTime?

    Google Groups | 2 years ago | Steve McLeod
    org.h2.jdbc.JdbcSQLException: General error: "java.lang.ArrayIndexOutOfBoundsException"; SQL statement: INSERT INTO hand (gameid, casinoid, gamenumber, starttime) VALUES (?, ?, ?, ?) [50000-188]
  3. 0

    Grails: Hibernate and Data migrations

    Stack Overflow | 4 years ago | TroyB
    org.h2.jdbc.JdbcSQLException: NULL not allowed for column "ZIPCODE"; SQL statement: insert into customer (id, version, billaddr, billcity, billstate, billzipcode, cell, contact, country_id, custcode, custname, date_created, email, fax, last_updated, organization, phone, shipaddr, shipasbill, shipcity, shipstate, shipzipcode, status, tenant_id) values (null, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [23502-164]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    H2 "OTHER" data type throws Exception when storing String or Boolean

    Stack Overflow | 2 years ago | Steve McLeod
    org.h2.jdbc.JdbcSQLException: Hexadecimal string contains non-hex character: "foobar"; SQL statement: insert into test (key, value) values (?, ?) -- (?1, ?2) [90004-188]
  6. 0

    Unable to generate an api-token on rundeck 1.5

    GitHub | 4 years ago | connaryscott
    org.h2.jdbc.JdbcSQLException: Value too long for column AUTH_ROLES VARCHAR(255) NOT NULL: 'GS-Members-MISMO-CORP,GS-EComm-WebAdmins,GS-WebSiteAccess-MIS-CORP,Web Admins-eCommerce,$MISMO,GS-PrivNAS-AK-CORP,GS-Everyone-M... (303); SQL statement: insert into auth_token (id, version, auth_roles, token, user_id) values (null, ?, ?, ?, ?) [90005-112]

  1. Andreas Häber 1 times, last 2 days ago
  2. batwalrus76 3 times, last 1 month ago
  3. tvrmsmith 2 times, last 1 month ago
  4. andyglick 1 times, last 2 months ago
  5. kjhdofjosvs 3 times, last 2 months ago
4 more registered users
11 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.h2.jdbc.JdbcSQLException

    General error: "java.lang.ArrayIndexOutOfBoundsException"; SQL statement: INSERT INTO hand (gameid, casinoid, gamenumber, starttime) VALUES (?, ?, ?, ?) [50000-188]

    at org.h2.message.DbException.getJdbcSQLException()
  2. H2 Database Engine
    JdbcPreparedStatement.executeUpdate
    1. org.h2.message.DbException.getJdbcSQLException(DbException.java:345)
    2. org.h2.message.DbException.get(DbException.java:168)
    3. org.h2.message.DbException.convert(DbException.java:295)
    4. org.h2.table.RegularTable.addRow(RegularTable.java:137)
    5. org.h2.command.dml.Insert.insertRows(Insert.java:156)
    6. org.h2.command.dml.Insert.update(Insert.java:114)
    7. org.h2.command.CommandContainer.update(CommandContainer.java:78)
    8. org.h2.command.Command.executeUpdate(Command.java:254)
    9. org.h2.jdbc.JdbcPreparedStatement.executeUpdateInternal(JdbcPreparedStatement.java:157)
    10. org.h2.jdbc.JdbcPreparedStatement.executeUpdate(JdbcPreparedStatement.java:143)
    10 frames