Hi,
FYI I got an NPE while executing a query. The query is as simple
as
SELECT * FROM testCol_ATTR WHERE ID IN (SELECT DISTINCT ID FROM
testCol_ATTR). The NPE is not there when run unit test that insert
little data but will happen when there's more data.
Let me know if db file is needed.
Caused by: org.h2.jdbc.JdbcSQLException: General error:
"java.lang.NullPointerException" [50000-148]
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:373)
at
org.h2.jdbc.JdbcPreparedStatement.executeQuery(JdbcPreparedStatement.java:
104)
at mapstore.spi.JdbcMapCollection.findAll(JdbcMapCollection.java:108)
... 20 more
Caused by: java.lang.NullPointerException
at org.h2.index.IndexCursor.nextCursor(IndexCursor.java:240)
at org.h2.index.IndexCursor.next(IndexCursor.java:217)
at org.h2.table.TableFilter.next(TableFilter.java:342)
at org.h2.command.dml.Select.queryFlat(Select.java:498)
at org.h2.command.dml.Select.queryWithoutCache(Select.java:597)
at org.h2.command.dml.Query.query(Query.java:257)
at org.h2.command.dml.Query.query(Query.java:227)
at org.h2.command.CommandContainer.query(CommandContainer.java:78)
at org.h2.command.Command.executeQuery(Command.java:131)
at
org.h2.jdbc.JdbcPreparedStatement.executeQuery(JdbcPreparedStatement.java:
96)
... 21 more
Thlee
--
You received this message because you are subscribed to the Google Groups "H2
Database" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/h2-database?hl=en.