kashipai / h2database

H2 Database for reference.
0 stars 0 forks source link

rg.h2.jdbc.JdbcSQLException: General error: "java.lang.ArrayIndexOu tOfBoundsException: 16" [50000-159] #437

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.first,I drop some table and recreate these.
2.second, I reboot my h2 dbbase server and on it startting , it report:

org.h2.jdbc.JdbcSQLException: General error: "java.lang.ArrayIndexOutOfBoundsExc
eption: 16" [50000-159]
        at org.h2.message.DbException.getJdbcSQLException(DbException.java:329)
        at org.h2.message.DbException.get(DbException.java:158)
        at org.h2.message.DbException.convert(DbException.java:281)
        at org.h2.engine.Database.openDatabase(Database.java:250)
        at org.h2.engine.Database.<init>(Database.java:215)
        at org.h2.engine.Engine.openSession(Engine.java:56)
        at org.h2.engine.Engine.openSession(Engine.java:159)
        at org.h2.engine.Engine.createSessionAndValidate(Engine.java:138)
        at org.h2.engine.Engine.createSession(Engine.java:121)
        at org.h2.engine.Engine.createSession(Engine.java:28)
        at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.jav
a:285)
        at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:110)
        at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:94)
        at org.h2.Driver.connect(Driver.java:72)
        at java.sql.DriverManager.getConnection(Unknown Source)
        at java.sql.DriverManager.getConnection(Unknown Source)
        at com.nari.rmi.collect.memdb.MemDbServer.startServer(MemDbServer.java:1
71)
        at com.nari.rmi.collect.memdb.MemDbServer.runServer(MemDbServer.java:186
)
        at com.nari.rmi.collect.server.CollectRmiServer.main(CollectRmiServer.ja
va:135)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 16
        at org.h2.store.PageStore.addMeta(PageStore.java:1616)
        at org.h2.store.PageStore.readMetaData(PageStore.java:1535)
        at org.h2.store.PageStore.recover(PageStore.java:1329)
        at org.h2.store.PageStore.openExisting(PageStore.java:349)
        at org.h2.store.PageStore.open(PageStore.java:273)
        at org.h2.engine.Database.getPageStore(Database.java:2049)
        at org.h2.engine.Database.open(Database.java:553)
        at org.h2.engine.Database.openDatabase(Database.java:220)
        ... 15 more

how can I fixed this bug?

Original issue reported on code.google.com by chujia...@gmail.com on 4 Feb 2013 at 3:08

GoogleCodeExporter commented 9 years ago
What version are you using?
What database URL are you using?
Do you have a reproducible test case?

Original comment by noelgrandin on 8 Feb 2013 at 8:26

GoogleCodeExporter commented 9 years ago
version:1.3.159
url:jdbc:h2:tcp://192.168.133.123:9094/h2db/collectdb;IFEXISTS=TRUE
no,I have not

Original comment by chujia...@gmail.com on 8 Feb 2013 at 12:51

GoogleCodeExporter commented 9 years ago
Please try updating to the latest version and see if that helps.
You're about a year out of date.

Original comment by noelgrandin on 8 Feb 2013 at 2:08

GoogleCodeExporter commented 9 years ago
Closing this because of lack of feedback. Please reopen if you test with the 
latest version and it still occurs.

Original comment by noelgrandin on 1 Apr 2013 at 12:04