Skip to content

TestCrashAPI: another NPE #1354

@andreitokar

Description

@andreitokar
20:43:13 22:05:41.604 org.h2.test.synth.TestCrashAPI 20:43:13 seed: 2132477717
ERROR: new TestCrashAPI().init(test).testCase(2132477717); // Bug 717147565 id=-522 callCount=683 openCount=11 General error: "java.lang.NullPointerException"; SQL statement:
drop all objects [50000-198] org.h2.jdbc.JdbcSQLException: General error: "java.lang.NullPointerException"; SQL statement:
drop all objects [50000-198] ------------------------------
org.h2.jdbc.JdbcSQLException: General error: "java.lang.NullPointerException"; SQL statement:
drop all objects [50000-198]
	at org.h2.message.DbException.getJdbcSQLException(DbException.java:394)
	at org.h2.message.DbException.get(DbException.java:171)
	at org.h2.message.DbException.convert(DbException.java:311)
	at org.h2.command.Command.executeUpdate(Command.java:276)
	at org.h2.jdbc.JdbcStatement.executeInternal(JdbcStatement.java:233)
	at org.h2.jdbc.JdbcStatement.execute(JdbcStatement.java:205)
	at org.h2.test.synth.TestCrashAPI.getConnection(TestCrashAPI.java:285)
	at org.h2.test.synth.TestCrashAPI.testCase(TestCrashAPI.java:320)
	at org.h2.test.synth.TestCrashAPI.test(TestCrashAPI.java:187)
	at org.h2.test.synth.TestCrashAPI.main(TestCrashAPI.java:94)
Caused by: java.lang.NullPointerException
	at org.h2.engine.Session.removeLocalTempTable(Session.java:407)
	at org.h2.engine.Database.removeSchemaObject(Database.java:1969)
	at org.h2.table.Table.removeChildrenAndResources(Table.java:554)
	at org.h2.table.TableView.removeChildrenAndResources(TableView.java:446)
	at org.h2.engine.Database.removeSchemaObject(Database.java:2003)
	at org.h2.command.ddl.DropDatabase.dropAllObjects(DropDatabase.java:89)
	at org.h2.command.ddl.DropDatabase.update(DropDatabase.java:38)
	at org.h2.command.CommandContainer.update(CommandContainer.java:103)
	at org.h2.command.Command.executeUpdate(Command.java:263)
	... 6 more

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions