Was this the ArrayIndexOutOfBoundsException exception that was fixed
in 1.1.114? We received this during a select after all the rows in a
table had been deleted and a single row had been reinserted. The
issue was fixed by dropping and recreating the table.
java.lang.ArrayIndexOutOfBoundsException: i=0 size=0
at org.h2.util.IntArray.get(IntArray.java:54)
at org.h2.index.BtreeNode.findFirst(BtreeNode.java:234)
at org.h2.index.BtreeIndex.find(BtreeIndex.java:288)
at org.h2.index.BtreeIndex.find(BtreeIndex.java:274)
at org.h2.table.TableFilter.next(TableFilter.java:297)
at org.h2.command.dml.Select.queryFlat(Select.java:493)
at org.h2.command.dml.Select.queryWithoutCache(Select.java:
561)
at org.h2.command.dml.Query.query(Query.java:233)
at org.h2.expression.ConditionInSelect.getValue
(ConditionInSelect.java:47)
at org.h2.expression.ConditionAndOr.getValue
(ConditionAndOr.java:93)
at org.h2.expression.ConditionAndOr.getValue
(ConditionAndOr.java:93)
at org.h2.expression.Expression.getBooleanValue
(Expression.java:188)
at org.h2.command.dml.Select.queryFlat(Select.java:496)
at org.h2.command.dml.Select.queryWithoutCache(Select.java:
561)
at org.h2.command.dml.Query.query(Query.java:233)
at org.h2.index.ViewIndex.find(ViewIndex.java:196)
at org.h2.table.TableFilter.next(TableFilter.java:297)
at org.h2.table.TableFilter.next(TableFilter.java:352)
at org.h2.command.dml.Select.queryFlat(Select.java:493)
at org.h2.command.dml.Select.queryWithoutCache(Select.java:
561)
at org.h2.command.dml.Query.query(Query.java:233)
at org.h2.command.CommandContainer.query(CommandContainer.java:
81)
at org.h2.command.Command.executeQueryLocal(Command.java:141)
On Jun 1, 10:20 am, Thomas Mueller <[email protected]>
wrote:
> Hello,
>
> A new version of H2 is available for (http://www.h2database.com) download.
> (You may have to click 'Refresh').
>
> Changes and new functionality:
> - Java 1.5 is now required to run H2.
> - Fulltext search: Data is no longer deleted and
> re-inserted if there was no change.
> - Microsoft Windows: when using the the installer, Vista wrote
> "This program may not have installed correctly."
> This message should no longer appear.
>
> Bugfixes:
> - ResultSetMetaData.getColumnClassName returned the wrong
> class for CLOB and BLOB columns.
> - In some situations, an ArrayIndexOutOfBoundsException was
> thrown when adding rows.
> - The Recover tool did not always work.
>
> For details, see the 'Change Log'
> athttp://www.h2database.com/html/changelog.html
>
> For future plans, see the 'Roadmap' page
> athttp://www.h2database.com/html/roadmap.html
>
> P.S. If you reply to this message please use a different subject.
>
> Have fun,
> Thomas
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---