Here's another example of ArrayIndexOutOfBoundsException at 
org.h2.index.PageDataLeaf.getRowAt: this happened on 1.3.168. The most 
recent fix i found in changelog about this kind of error was 1.3.166, so 
probably there's still something wrong since then, or have there been fixes 
related to this, since 1.3.168?

Unfortunately i don't have the corrupted db file.

 
Caused by: org.h2.jdbc.JdbcSQLException: General error: 
"java.lang.ArrayIndexOutOfBoundsException: 0"; SQL statement:
select device0_.string as string5_, device0_.lastSeen as lastSeen5_, 
device0_.sources as sources5_, device0_.id as id5_, device0_.name as 
name5_, device0_.options as options5_, device0_.assets2 as assets8_5_, 
device0_.parent_string as parent16_5_, device0_.boardNumber as 
boardNum9_5_, device0_.outputBoardVersion as outputB11_5_, 
device0_.rgbFromScaler as rgbFrom12_5_, device0_.timing as timing5_, 
device0_.genlock as genlock5_, device0_.DTYPE as DTYPE5_ from Element 
device0_ inner join Interface interfaces1_ on 
device0_.string=interfaces1_.device_string where device0_.DTYPE in 
('Device', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 
'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'w', 'y', 'z', 'aa', 
'ab', 'ac', 'ad', 'ae', 'af', 'ag', 'ah', 'ai', 'aj', 'ak', 'al', 'am', 
'an') and interfaces1_.DTYPE='RJ45Connector' order by device0_.string 
[50000-168] 
    at org.h2.message.DbException.getJdbcSQLException(DbException.java:329) 
[h2-1.3.168.jar:1.3.168] 
    at org.h2.message.DbException.get(DbException.java:158) 
[h2-1.3.168.jar:1.3.168] 
    at org.h2.message.DbException.convert(DbException.java:281) 
[h2-1.3.168.jar:1.3.168] 
    at org.h2.command.Command.executeQuery(Command.java:195) 
[h2-1.3.168.jar:1.3.168] 
    at 
org.h2.jdbc.JdbcPreparedStatement.executeQuery(JdbcPreparedStatement.java:109) 
[h2-1.3.168.jar:1.3.168] 
    at 
org.jboss.jca.adapters.jdbc.WrappedPreparedStatement.executeQuery(WrappedPreparedStatement.java:462)
 

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
[rt.jar:1.6.0_27] 
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 
[rt.jar:1.6.0_27] 
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 
[rt.jar:1.6.0_27] 
    at java.lang.reflect.Method.invoke(Unknown Source) [rt.jar:1.6.0_27] 
    at 
org.hibernate.engine.jdbc.internal.proxy.AbstractStatementProxyHandler.continueInvocation(AbstractStatementProxyHandler.java:122)
 
[hibernate-core-4.1.6.Final.jar:4.1.6.Final] 
    ... 105 more 
Caused by: java.lang.ArrayIndexOutOfBoundsException: 0 
    at org.h2.index.PageDataLeaf.getRowAt(PageDataLeaf.java:327) 
[h2-1.3.168.jar:1.3.168] 
    at org.h2.index.PageDataLeaf.getRowWithKey(PageDataLeaf.java:443) 
[h2-1.3.168.jar:1.3.168] 
    at org.h2.index.PageDataNode.getRowWithKey(PageDataNode.java:270) 
[h2-1.3.168.jar:1.3.168] 
    at org.h2.index.PageDataIndex.getRowWithKey(PageDataIndex.java:406) 
[h2-1.3.168.jar:1.3.168] 
    at org.h2.index.PageDataIndex.getRow(PageDataIndex.java:395) 
[h2-1.3.168.jar:1.3.168] 
    at org.h2.table.RegularTable.getRow(RegularTable.java:109) 
[h2-1.3.168.jar:1.3.168] 
    at org.h2.index.PageBtreeIndex.getRow(PageBtreeIndex.java:295) 
[h2-1.3.168.jar:1.3.168] 
    at org.h2.index.PageBtreeCursor.get(PageBtreeCursor.java:45) 
[h2-1.3.168.jar:1.3.168] 
    at org.h2.index.IndexCursor.get(IndexCursor.java:223) 
[h2-1.3.168.jar:1.3.168] 
    at org.h2.table.TableFilter.getValue(TableFilter.java:875) 
[h2-1.3.168.jar:1.3.168] 
    at 
org.h2.expression.ExpressionColumn.getValue(ExpressionColumn.java:175) 
[h2-1.3.168.jar:1.3.168] 
    at org.h2.expression.ConditionIn.getValue(ConditionIn.java:44) 
[h2-1.3.168.jar:1.3.168] 
    at org.h2.expression.ConditionAndOr.getValue(ConditionAndOr.java:83) 
[h2-1.3.168.jar:1.3.168] 
    at org.h2.expression.ConditionAndOr.getValue(ConditionAndOr.java:83) 
[h2-1.3.168.jar:1.3.168] 
    at org.h2.expression.Expression.getBooleanValue(Expression.java:180) 
[h2-1.3.168.jar:1.3.168] 
    at org.h2.command.dml.Select.queryFlat(Select.java:515) 
[h2-1.3.168.jar:1.3.168] 
    at org.h2.command.dml.Select.queryWithoutCache(Select.java:618) 
[h2-1.3.168.jar:1.3.168] 
    at org.h2.command.dml.Query.query(Query.java:307) 
[h2-1.3.168.jar:1.3.168] 
    at org.h2.command.dml.Query.query(Query.java:277) 
[h2-1.3.168.jar:1.3.168] 
    at org.h2.command.dml.Query.query(Query.java:36) 
[h2-1.3.168.jar:1.3.168] 
    at org.h2.command.CommandContainer.query(CommandContainer.java:86) 
[h2-1.3.168.jar:1.3.168] 
    at org.h2.command.Command.executeQuery(Command.java:191) 
[h2-1.3.168.jar:1.3.168] 
    ... 112 more 

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to h2-database+unsubscr...@googlegroups.com.
To post to this group, send email to h2-database@googlegroups.com.
Visit this group at http://groups.google.com/group/h2-database.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to