I have an app that creates a database if not present by copying a blank database, running a set of create table statements and then running a set of inserts to add the data. This has been running successfully for about a year using build 1.4.198. I have recently upgraded to 1.4.200 and I get a nullpointerexception with a JdbcSQLNonTransientException. The log is:
org.h2.jdbc.JdbcSQLNonTransientException: General error: "java.lang.NullPointerException" [50000-200] at org.h2.message.DbException.getJdbcSQLException(DbException.java:505) at org.h2.message.DbException.getJdbcSQLException(DbException.java:429) at org.h2.message.DbException.get(DbException.java:194) at org.h2.message.DbException.convert(DbException.java:347) at org.h2.server.TcpServerThread.sendError(TcpServerThread.java:234) at org.h2.server.TcpServerThread.run(TcpServerThread.java:185) at java.base/java.lang.Thread.run(Thread.java:834) Caused by: java.lang.NullPointerException at org.h2.command.dml.TableValueConstructor.isEverything(TableValueConstructor.java:262) at org.h2.command.dml.Query.collectDependencies(Query.java:935) at org.h2.command.CommandList.getDependencies(CommandList.java:123) at org.h2.engine.Session.startStatementWithinTransaction(Session.java:1819) at org.h2.command.Command.executeUpdate(Command.java:245) at org.h2.server.TcpServerThread.process(TcpServerThread.java:406) at org.h2.server.TcpServerThread.run(TcpServerThread.java:183) ... 1 more at org.h2.message.DbException.getJdbcSQLException(DbException.java:505) at org.h2.engine.SessionRemote.done(SessionRemote.java:611) at org.h2.command.CommandRemote.executeUpdate(CommandRemote.java:237) at org.h2.jdbc.JdbcStatement.executeInternal(JdbcStatement.java:228) at org.h2.jdbc.JdbcStatement.execute(JdbcStatement.java:201) at application.DatabaseManager.createDatabase(DatabaseManager.java:153) at application.Main.start(Main.java:35) Is this a known issue? Has a change in builds 199 or 200 caused this? Any help would be appreciated -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/h2-database/8475864a-4ab6-443b-8bf7-b490406bcbcco%40googlegroups.com.
