Hi,

> org.h2.jdbc.JdbcSQLException: General error:
> "java.lang.ArrayIndexOutOfBoundsException: 0"
> I'm unable to reproduce, but in at least one case I know this was
> preceded by a user's MacBook running out of power.

I'm not sure what the problem could be, but I guess it could be
related to running out of power. I did run a test case where power is
switched off, but only a relatively simple test case so far. I will
extend it to include larger binaries and additional indexes (with many
columns).

What file system do you use? While running the 'power failure' test I
did see file system problems sometime (specially with Windows FAT, but
also with EXT2 once where it had a corrupted last modification time).

With what version was the database created? You can find it out using:
select * from information_schema.settings where name='CREATE_BUILD'.

Is the database usually closed normally, or is process terminated
forcefully or the computer switched off? (Except in the case where you
know the battery died). Are there any other exceptions (maybe in the
.trace.db file)?

Could you send the .h2.db file where this exception occurs? If not,
could you run the Recover tool and check the result?

It could be related to running out of memory. Is there any exception
in the .trace.db file? In version 1.2.125, the behavior on out of
memory was changes: "The database is now closed after an out of memory
exception".
-- 
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.


Reply via email to