Trying to compress a database named "Local" using the SCRIPT and
RUNSCRIPT sql commands. The SCRIPT command is getting the error:
05-18 10:47:49 jdbc[4]: SQLException
org.h2.jdbc.JdbcSQLException: General error:
"java.lang.NullPointerException"; SQL statement:
script drop to 'Local.sql' [50000-128]
at org.h2.message.Message.getSQLException(Message.java:110)
at org.h2.message.Message.convert(Message.java:287)
at org.h2.message.Message.convert(Message.java:248)
at org.h2.command.Command.executeQuery(Command.java:134)
at org.h2.jdbc.JdbcStatement.executeInternal(JdbcStatement.java:172)
at org.h2.jdbc.JdbcStatement.execute(JdbcStatement.java:151)
...
Caused by: java.lang.NullPointerException
at org.h2.index.PageDataIndex.getPageOverflow(PageDataIndex.java:201)
at org.h2.index.PageDataLeaf.getRowAt(PageDataLeaf.java:329)
at org.h2.index.PageDataCursor.nextRow(PageDataCursor.java:103)
at org.h2.index.PageDataCursor.next(PageDataCursor.java:55)
at org.h2.command.dml.ScriptCommand.query(ScriptCommand.java:241)
at org.h2.command.CommandContainer.query(CommandContainer.java:81)
at org.h2.command.Command.executeQuery(Command.java:132)
... 20 more
Is this a H2 bug? or an database corruption?
Thanks,
Kris
--
You received this message because you are subscribed to the Google Groups "H2 Database" group.
To post to this group, send email to
h2-da...@googlegroups.com.
To unsubscribe from this group, send email to
h2-database...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/h2-database?hl=en.