jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Fromm ...@inubit.com>
Subject NPE in H2 1.2.23 using H2PersistenceManager
Date Mon, 30 Nov 2009 10:15:51 GMT
Hi,

I get a NPE at repository startup with H2 1.2.23.
Is this problem related to the H2 Persistence Manager in Jackrabbit or
a bug inside H2?


Thanks in advance,
--tf

Caused by: org.h2.jdbc.JdbcSQLException: Allgemeiner Fehler: 
java.lang.NullPointerException
General error: java.lang.NullPointerException [50000-121]
        at org.h2.message.Message.getSQLException(Message.java:106)
        at org.h2.message.Message.convert(Message.java:283)
        at org.h2.engine.Database.openDatabase(Database.java:257)
        at org.h2.engine.Database.<init>(Database.java:217)
        at org.h2.engine.Engine.openSession(Engine.java:58)
        at org.h2.engine.Engine.openSession(Engine.java:140)
        at org.h2.engine.Engine.getSession(Engine.java:120)
        at 
org.h2.engine.SessionFactoryEmbedded.createSession(SessionFactoryEmbedded.java:17)
        at 
org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:245)
        at org.h2.engine.SessionRemote.createSession(SessionRemote.java:223)
        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:58)
        at java.sql.DriverManager.getConnection(DriverManager.java:582)
        at java.sql.DriverManager.getConnection(DriverManager.java:185)
        at 
org.apache.jackrabbit.core.persistence.bundle.util.ConnectionFactory.getConnection(ConnectionFactory.java:92)
        at 
org.apache.jackrabbit.core.persistence.bundle.util.ConnectionRecoveryManager.setupConnection(ConnectionRecoveryManager.java:334)
        at 
org.apache.jackrabbit.core.persistence.bundle.util.ConnectionRecoveryManager.reestablishConnection(ConnectionRecoveryManager.java:409)
        at 
org.apache.jackrabbit.core.persistence.bundle.util.ConnectionRecoveryManager.getConnection(ConnectionRecoveryManager.java:159)
        at 
org.apache.jackrabbit.core.persistence.bundle.BundleDbPersistenceManager.prepareSchemaObjectPrefix(BundleDbPersistenceManager.java:969)
        at 
org.apache.jackrabbit.core.persistence.bundle.BundleDbPersistenceManager.init(BundleDbPersistenceManager.java:606)
        at 
org.apache.jackrabbit.core.persistence.bundle.H2PersistenceManager.init(H2PersistenceManager.java:91)
        at 
org.apache.jackrabbit.core.RepositoryImpl.createPersistenceManager(RepositoryImpl.java:1324)
        ... 33 more
Caused by: java.lang.NullPointerException
        at org.h2.index.PageDataLeaf.getRowAt(PageDataLeaf.java:317)
        at org.h2.index.PageDataLeaf.getRow(PageDataLeaf.java:409)
        at org.h2.index.PageDataNode.getRow(PageDataNode.java:283)
        at org.h2.index.PageDataNode.getRow(PageDataNode.java:283)
        at org.h2.index.PageDataIndex.getRow(PageDataIndex.java:366)
        at org.h2.store.PageStore.redoDelete(PageStore.java:1118)
        at org.h2.store.PageLog.recover(PageLog.java:299)
        at org.h2.store.PageStore.recover(PageStore.java:1003)
        at org.h2.store.PageStore.openExisting(PageStore.java:304)
        at org.h2.store.PageStore.open(PageStore.java:262)
        at org.h2.engine.Database.getPageStore(Database.java:2282)
        at org.h2.engine.Database.open(Database.java:613)
        at org.h2.engine.Database.openDatabase(Database.java:223)
        ... 53 more
org.h2.jdbc.JdbcSQLException: Allgemeiner Fehler: 
java.lang.NullPointerException
General error: java.lang.NullPointerException [50000-121]
        at org.h2.message.Message.getSQLException(Message.java:106)
        at org.h2.message.Message.convert(Message.java:283)
        at org.h2.engine.Database.openDatabase(Database.java:257)
        at org.h2.engine.Database.<init>(Database.java:217)
        at org.h2.engine.Engine.openSession(Engine.java:58)
        at org.h2.engine.Engine.openSession(Engine.java:140)
        at org.h2.engine.Engine.getSession(Engine.java:120)
        at 
org.h2.engine.SessionFactoryEmbedded.createSession(SessionFactoryEmbedded.java:17)
        at 
org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:245)
        at org.h2.engine.SessionRemote.createSession(SessionRemote.java:223)
        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:58)
        at java.sql.DriverManager.getConnection(DriverManager.java:582)
        at java.sql.DriverManager.getConnection(DriverManager.java:185)
        at 
org.apache.jackrabbit.core.persistence.bundle.util.ConnectionFactory.getConnection(ConnectionFactory.java:92)
        at 
org.apache.jackrabbit.core.persistence.bundle.util.ConnectionRecoveryManager.setupConnection(ConnectionRecoveryManager.java:334)
        at 
org.apache.jackrabbit.core.persistence.bundle.util.ConnectionRecoveryManager.reestablishConnection(ConnectionRecoveryManager.java:409)
        at 
org.apache.jackrabbit.core.persistence.bundle.util.ConnectionRecoveryManager.getConnection(ConnectionRecoveryManager.java:159)
        at 
org.apache.jackrabbit.core.persistence.bundle.BundleDbPersistenceManager.prepareSchemaObjectPrefix(BundleDbPersistenceManager.java:969)
        at 
org.apache.jackrabbit.core.persistence.bundle.BundleDbPersistenceManager.init(BundleDbPersistenceManager.java:606)
        at 
org.apache.jackrabbit.core.persistence.bundle.H2PersistenceManager.init(H2PersistenceManager.java:91)
        at 
org.apache.jackrabbit.core.RepositoryImpl.createPersistenceManager(RepositoryImpl.java:1324)
        at 
org.apache.jackrabbit.core.RepositoryImpl.createVersionManager(RepositoryImpl.java:459)
        at 
org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:319)
...

Mime
View raw message