org.h2.jdbc.JdbcSQLException: General error: "java.lang.NullPointerException"; SQL statement: SELECT MAX(LOB) FROM INFORMATION_SCHEMA.LOB_MAP [50000-192]

GitHub | pratapsingh | 2 months ago
  1. 0

    GitHub comment 3560#253603063

    GitHub | 2 months ago | pratapsingh
    org.h2.jdbc.JdbcSQLException: General error: "java.lang.NullPointerException"; SQL statement: SELECT MAX(LOB) FROM INFORMATION_SCHEMA.LOB_MAP [50000-192]
  2. 0

    Using createCriteria in hibernate on @CollectionElement

    Stack Overflow | 5 years ago | upsidedown
    org.hibernate.exception.GenericJDBCException: could not execute query
  3. 0

    "Could not load an entity" error when upgrading module - Developers - OpenMRS Talk

    openmrs.org | 1 year ago
    org.hibernate.exception.GenericJDBCException: could not load an entity: [org.openmrs.GlobalProperty#order.nextOrderNumberSeed]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    more errors

    GitHub | 5 months ago | aaannndddyyy
    org.hibernate.PessimisticLockException: could not extract ResultSet
  6. 0

    GitHub comment 180#146286456

    GitHub | 1 year ago | mpoindexter
    org.h2.jdbc.JdbcSQLException: General error: "java.lang.NullPointerException"; SQL statement: SELECT * FROM test WHERE entity_id = ? FOR UPDATE [50000-189]

  1. kjhdofjosvs 1 times, last 3 weeks ago
6 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. java.lang.NullPointerException

    No message provided

    at org.h2.result.LocalResult.cloneLobs()
  2. H2 Database Engine
    JdbcPreparedStatement.executeQuery
    1. org.h2.result.LocalResult.cloneLobs(LocalResult.java:260)
    2. org.h2.result.LocalResult.addRow(LocalResult.java:285)
    3. org.h2.command.dml.Select.queryQuick(Select.java:575)
    4. org.h2.command.dml.Select.queryWithoutCache(Select.java:644)
    5. org.h2.command.dml.Query.query(Query.java:341)
    6. org.h2.command.dml.Query.query(Query.java:309)
    7. org.h2.command.dml.Query.query(Query.java:36)
    8. org.h2.command.CommandContainer.query(CommandContainer.java:110)
    9. org.h2.command.Command.executeQuery(Command.java:201)
    10. org.h2.jdbc.JdbcPreparedStatement.executeQuery(JdbcPreparedStatement.java:110)
    11. org.h2.store.LobStorageBackend.getNextLobId(LobStorageBackend.java:179)
    12. org.h2.store.LobStorageBackend.copyLob(LobStorageBackend.java:459)
    13. org.h2.value.ValueLobDb.copyToResult(ValueLobDb.java:486)
    14. org.h2.value.ValueLobDb.copyToResult(ValueLobDb.java:39)
    15. org.h2.result.LocalResult.cloneLobs(LocalResult.java:260)
    16. org.h2.result.LocalResult.addRow(LocalResult.java:285)
    17. org.h2.command.dml.Select.queryFlat(Select.java:553)
    18. org.h2.command.dml.Select.queryWithoutCache(Select.java:654)
    19. org.h2.command.dml.Query.query(Query.java:341)
    20. org.h2.command.dml.Query.query(Query.java:309)
    21. org.h2.command.dml.Query.query(Query.java:36)
    22. org.h2.command.CommandContainer.query(CommandContainer.java:110)
    23. org.h2.command.Command.executeQuery(Command.java:201)
    24. org.h2.jdbc.JdbcPreparedStatement.executeQuery(JdbcPreparedStatement.java:110)
    24 frames
  3. c3p0:JDBC DataSources/Resource Pools
    NewProxyPreparedStatement.executeQuery
    1. com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeQuery(NewProxyPreparedStatement.java:76)
    1 frame
  4. Clojure
    jdbc$query.invoke
    1. clojure.java.jdbc$db_query_with_resultset$run_query_with_params__2817.invoke(jdbc.clj:831)
    2. clojure.java.jdbc$db_query_with_resultset.invokeStatic(jdbc.clj:850)
    3. clojure.java.jdbc$db_query_with_resultset.invoke(jdbc.clj:818)
    4. clojure.java.jdbc$query.invokeStatic(jdbc.clj:874)
    5. clojure.java.jdbc$query.invoke(jdbc.clj:854)
    5 frames
  5. metabase
    db$query.doInvoke
    1. metabase.db$query.invokeStatic(db.clj:511)
    2. metabase.db$query.doInvoke(db.clj:507)
    2 frames
  6. Clojure
    RestFn.invoke
    1. clojure.lang.RestFn.invoke(RestFn.java:410)
    1 frame
  7. metabase
    db$select.doInvoke
    1. metabase.db$simple_select.invokeStatic(db.clj:572)
    2. metabase.db$simple_select.invoke(db.clj:564)
    3. metabase.db$select.invokeStatic(db.clj:816)
    4. metabase.db$select.doInvoke(db.clj:810)
    4 frames
  8. Clojure
    core$apply.invoke
    1. clojure.lang.RestFn.invoke(RestFn.java:410)
    2. clojure.lang.AFn.applyToHelper(AFn.java:154)
    3. clojure.lang.RestFn.applyTo(RestFn.java:132)
    4. clojure.core$apply.invokeStatic(core.clj:648)
    5. clojure.core$apply.invoke(core.clj:641)
    5 frames
  9. metabase
    db$select_field__GT_field.doInvoke
    1. metabase.db$select_field__GT_field.invokeStatic(db.clj:845)
    2. metabase.db$select_field__GT_field.doInvoke(db.clj:838)
    2 frames
  10. Clojure
    RestFn.invoke
    1. clojure.lang.RestFn.invoke(RestFn.java:445)
    1 frame
  11. metabase.models
    setting$get_string.invoke
    1. metabase.models.setting$restore_cache_if_needed_BANG_.invokeStatic(setting.clj:89)
    2. metabase.models.setting$restore_cache_if_needed_BANG_.invoke(setting.clj:87)
    3. metabase.models.setting$db_value.invokeStatic(setting.clj:117)
    4. metabase.models.setting$db_value.invoke(setting.clj:114)
    5. metabase.models.setting$get_string.invokeStatic(setting.clj:131)
    6. metabase.models.setting$get_string.invoke(setting.clj:121)
    6 frames
  12. Clojure
    core$partial$fn__4759.invoke
    1. clojure.core$partial$fn__4759.invoke(core.clj:2514)
    1 frame
  13. metabase.models
    setting$setting_fn$fn__16986.invoke
    1. metabase.models.setting$get.invokeStatic(setting.clj:168)
    2. metabase.models.setting$get.invoke(setting.clj:164)
    3. metabase.models.setting$setting_fn$fn__16986.invoke(setting.clj:282)
    3 frames
  14. metabase
    core$_main.doInvoke
    1. metabase.metabot$start_metabot_BANG_.invokeStatic(metabot.clj:307)
    2. metabase.metabot$start_metabot_BANG_.invoke(metabot.clj:302)
    3. metabase.core$init_BANG_.invokeStatic(core.clj:142)
    4. metabase.core$init_BANG_.invoke(core.clj:91)
    5. metabase.core$start_normally.invokeStatic(core.clj:195)
    6. metabase.core$start_normally.invoke(core.clj:189)
    7. metabase.core$_main.invokeStatic(core.clj:229)
    8. metabase.core$_main.doInvoke(core.clj:224)
    8 frames
  15. Clojure
    RestFn.applyTo
    1. clojure.lang.RestFn.invoke(RestFn.java:397)
    2. clojure.lang.AFn.applyToHelper(AFn.java:152)
    3. clojure.lang.RestFn.applyTo(RestFn.java:132)
    3 frames
  16. metabase
    core.main
    1. metabase.core.main(Unknown Source)
    1 frame