org.h2.jdbc.JdbcSQLException: General error: "java.lang.NullPointerException" [50000-176]

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

Check if you're not creating unused SQL entities, as it might cause this exception.

Solutions on the web

via GitHub by GoogleCodeExporter
, 2 months ago
Allgemeiner Fehler: "java.lang.NullPointerException" General error: "java.lang.NullPointerException" [50000-161]
via GitHub by cstenac
, 2 months ago
General error: "java.lang.NullPointerException" [50000-196]
via GitHub by cstenac
, 2 months ago
General error: "java.lang.IllegalArgumentException: timeNanos out of range 86400998000000" [50000-196]
via Stack Overflow by Unknown author, 2 years ago
General error: "java.lang.IllegalStateException: **The transaction log might be corrupt for key 52051 [1.4.185/100]" [50000-185]**
via Google Groups by too, 1 year ago
General error: "java.lang.NullPointerException" [50000-176]
org.h2.jdbc.JdbcSQLException: General error: "java.lang.NullPointerException" [50000-176]
at org.h2.message.DbException.getJdbcSQLException(DbException.java:344)
at org.h2.message.DbException.get(DbException.java:167)
at org.h2.message.DbException.convert(DbException.java:294)
at org.h2.engine.Database.openDatabase(Database.java:291)
at org.h2.engine.Database.(Database.java:254)
at org.h2.engine.Engine.openSession(Engine.java:57)
at org.h2.engine.Engine.openSession(Engine.java:164)
at org.h2.engine.Engine.createSessionAndValidate(Engine.java:142)
at org.h2.engine.Engine.createSession(Engine.java:125)
at org.h2.engine.Engine.createSession(Engine.java:27)
at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:331)
at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:107)
at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:91)
at org.h2.Driver.connect(Driver.java:74)
at java.sql.DriverManager.getConnection(DriverManager.java:579)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.