Hi, We have had database corruption problem and I try to use org.h2.test.TestAll API to validate our system. We use 1.2.128 version now and plan to migrate upper version.
I built 1.2.135 version with ant and copied output files to our system and typed command below. java -cp . org.h2.test.TestAll crash > testCrash.txt And finally I got Exception after few hours I ran test. Is it OK that test is finished with Exception? I can't catch the meaning of this test. Is this a sort of stress test? org.h2.jdbc.JdbcSQLException: General error: "java.lang.NullPointerException" [50000-135] at org.h2.message.DbException.getJdbcSQLException(DbException.java:327) at org.h2.message.DbException.get(DbException.java:156) at org.h2.message.DbException.convert(DbException.java:279) at org.h2.message.DbException.toSQLException(DbException.java: 252) at org.h2.message.TraceObject.logAndConvert(TraceObject.java: 387) at org.h2.jdbc.JdbcConnection.prepareStatement(JdbcConnection.java:236) at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: 25) at java.lang.reflect.Method.invoke(Method.java:585) at org.h2.test.synth.TestCrashAPI.callRandom(TestCrashAPI.java: 333) at org.h2.test.synth.TestCrashAPI.testOne(TestCrashAPI.java: 292) at org.h2.test.synth.TestCrashAPI.testCase(TestCrashAPI.java: 486) at org.h2.test.synth.TestCrashAPI.test(TestCrashAPI.java:125) at org.h2.test.TestBase.runTest(TestBase.java:134) at org.h2.test.TestAll.run(TestAll.java:348) at org.h2.test.TestAll.main(TestAll.java:288) Caused by: java.lang.NullPointerException at org.h2.command.Parser.equalsToken(Parser.java:2601) at org.h2.command.Parser.readIdentifierWithSchema(Parser.java: 2541) at org.h2.command.Parser.readTableFilter(Parser.java:982) at org.h2.command.Parser.parseSelectSimpleFromPart(Parser.java: 1536) at org.h2.command.Parser.parseSelectSimple(Parser.java:1633) at org.h2.command.Parser.parseSelectSub(Parser.java:1530) at org.h2.command.Parser.parseSelectUnion(Parser.java:1375) at org.h2.command.Parser.parseSelect(Parser.java:1363) at org.h2.command.Parser.parsePrepared(Parser.java:395) at org.h2.command.Parser.parse(Parser.java:278) at org.h2.command.Parser.parse(Parser.java:250) at org.h2.command.Parser.prepareCommand(Parser.java:222) at org.h2.engine.Session.prepareLocal(Session.java:420) at org.h2.engine.Session.prepareCommand(Session.java:381) at org.h2.jdbc.JdbcConnection.prepareCommand(JdbcConnection.java:1071) at org.h2.jdbc.JdbcPreparedStatement.<init>(JdbcPreparedStatement.java: 71) at org.h2.jdbc.JdbcConnection.prepareStatement(JdbcConnection.java:234) ... 10 more java.lang.RuntimeException: org.h2.jdbc.JdbcSQLException: General error: "java.lang.NullPointerException" [50000-135] at org.h2.test.synth.TestCrashAPI.printError(TestCrashAPI.java: 321) at org.h2.test.synth.TestCrashAPI.printIfBad(TestCrashAPI.java: 370) at org.h2.test.synth.TestCrashAPI.callRandom(TestCrashAPI.java: 340) at org.h2.test.synth.TestCrashAPI.testOne(TestCrashAPI.java: 292) at org.h2.test.synth.TestCrashAPI.testCase(TestCrashAPI.java: 486) at org.h2.test.synth.TestCrashAPI.test(TestCrashAPI.java:125) at org.h2.test.TestBase.runTest(TestBase.java:134) at org.h2.test.TestAll.run(TestAll.java:348) at org.h2.test.TestAll.main(TestAll.java:288) Caused by: org.h2.jdbc.JdbcSQLException: General error: "java.lang.NullPointerException" [50000-135] at org.h2.message.DbException.getJdbcSQLException(DbException.java:327) at org.h2.message.DbException.get(DbException.java:156) at org.h2.message.DbException.convert(DbException.java:279) at org.h2.message.DbException.toSQLException(DbException.java: 252) at org.h2.message.TraceObject.logAndConvert(TraceObject.java: 387) at org.h2.jdbc.JdbcConnection.prepareStatement(JdbcConnection.java:236) at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: 25) at java.lang.reflect.Method.invoke(Method.java:585) at org.h2.test.synth.TestCrashAPI.callRandom(TestCrashAPI.java: 333) ... 6 more Caused by: java.lang.NullPointerException at org.h2.command.Parser.equalsToken(Parser.java:2601) at org.h2.command.Parser.readIdentifierWithSchema(Parser.java: 2541) at org.h2.command.Parser.readTableFilter(Parser.java:982) at org.h2.command.Parser.parseSelectSimpleFromPart(Parser.java: 1536) at org.h2.command.Parser.parseSelectSimple(Parser.java:1633) at org.h2.command.Parser.parseSelectSub(Parser.java:1530) at org.h2.command.Parser.parseSelectUnion(Parser.java:1375) at org.h2.command.Parser.parseSelect(Parser.java:1363) at org.h2.command.Parser.parsePrepared(Parser.java:395) at org.h2.command.Parser.parse(Parser.java:278) at org.h2.command.Parser.parse(Parser.java:250) at org.h2.command.Parser.prepareCommand(Parser.java:222) at org.h2.engine.Session.prepareLocal(Session.java:420) at org.h2.engine.Session.prepareCommand(Session.java:381) at org.h2.jdbc.JdbcConnection.prepareCommand(JdbcConnection.java:1071) at org.h2.jdbc.JdbcPreparedStatement.<init>(JdbcPreparedStatement.java: 71) at org.h2.jdbc.JdbcConnection.prepareStatement(JdbcConnection.java:234) ... 10 more -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To post to this group, send email to h2-datab...@googlegroups.com. To unsubscribe from this group, send email to h2-database+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/h2-database?hl=en.