Issue #1440: Error in production. Failed to commit transaction: Unexpected database state: BTree -152 is not found

Type: BugVersion: 2.5.5Priority: NormalStatus: ActiveReplies: 1
2014-06-16 11:52:26,684 ERROR cl.intelidata.servlet.Fact .respondeRut (122 ): Unexpected internal exception
[ObjectDB 2.5.5] Unexpected exception (Error 990)
Generated by OpenJDK 64-Bit Server VM 1.7.0_25 (on Linux 3.11.0-12-generic).
Please report this error on
com.objectdb.o.InternalException: java.lang.NullPointerException: null
at com.objectdb.o.VAR.S(
at com.objectdb.o.VAR.R(
at com.objectdb.o.VAR.ap(
at com.objectdb.o.QNF.C(
at com.objectdb.o.QNF.C(
at com.objectdb.o.QNF.z(
at com.objectdb.o.QNF.k(
at com.objectdb.o.QNF.q(
at com.objectdb.o.QNF.k(
at com.objectdb.o.QNF.t(
at com.objectdb.o.QNF.t(
at com.objectdb.o.QNF.t(
at com.objectdb.o.QNF.k(
at com.objectdb.o.QNF.j(
at com.objectdb.o.QRC.B(
at com.objectdb.o.QRC.x(
at com.objectdb.o.QRC.w(
at com.objectdb.o.QRM.Vb(
at com.objectdb.o.MST.Vb(
at com.objectdb.o.WRA.Vb(
at com.objectdb.o.WSM.Vb(
at com.objectdb.o.STC.r(
at com.objectdb.o.SHN.aj(
at com.objectdb.o.SHN.K(
at Source)
2014-06-16 11:52:26,686 ERROR cl.intelidata.servlet.Read .doGet (115 ): Failed to commit transaction: Unexpected database state: BTree -152 is not found
[ObjectDB 2.5.5] javax.persistence.RollbackException
Failed to commit transaction: Unexpected database state: BTree -152 is not found (error 613)
at com.objectdb.jpa.EMImpl.commit(
at cl.intelidata.servlet.Read.actualizaLectura(
at cl.intelidata.servlet.Read.doGet(
at javax.servlet.http.HttpServlet.service(
at javax.servlet.http.HttpServlet.service(
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
at org.apache.catalina.core.ApplicationFilterChain.doFilter(
at org.apache.catalina.core.StandardWrapperValve.invoke(
at org.apache.catalina.core.StandardContextValve.invoke(
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(
at org.apache.catalina.core.StandardHostValve.invoke(
at com.googlecode.psiprobe.Tomcat70AgentValve.invoke(
at org.apache.catalina.valves.ErrorReportValve.invoke(
at org.apache.catalina.valves.AccessLogValve.invoke(
at org.apache.catalina.core.StandardEngineValve.invoke(
at org.apache.catalina.connector.CoyoteAdapter.service(
at org.apache.coyote.http11.AbstractHttp11Processor.process(
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(
at java.util.concurrent.ThreadPoolExecutor.runWorker(
at java.util.concurrent.ThreadPoolExecutor$
Caused by: javax.persistence.PersistenceException: com.objectdb.o.UserException: Unexpected database state: BTree -152 is not found
at com.objectdb.o._PersistenceException.b(
at com.objectdb.o.JPE.g(
at com.objectdb.o.JPE.g(
... 24 more
Caused by: com.objectdb.o.UserException: Unexpected database state: BTree -152 is not found
at com.objectdb.o.MSG.d(
at com.objectdb.o.UTT.A(
at com.objectdb.o.UTT.l(
at com.objectdb.o.TSK.i(
at com.objectdb.o.TSK.f(
at com.objectdb.o.TSM.e(
at com.objectdb.o.MST.Vh(
at com.objectdb.o.WRA.Vh(
at com.objectdb.o.WSM.Vh(
at com.objectdb.o.STC.v(
at com.objectdb.o.SHN.K(
at Source)



This exception is unknown and more information will be needed.

Please try to stop the server and then start it again, do you still have the problem?

Check the database file using the Doctor and publish the result.

Have you changed the schema recently? any new index added?

There are 2 different exceptions in your post. The first us during a query and the second is during commit. How are these two stack traces related? Can you identify a problematic query that caused the problem?

ObjectDB Support
ObjectDB - Fast Object Database for Java (JPA/JDO)

Post Reply

To post a reply and/or subscribe to update notifications - please login