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

Type: Bug ReoprtVersion: 2.5.5Priority: NormalStatus: ActiveReplies: 1
#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 http://www.objectdb.com/database/issue/new
com.objectdb.o.InternalException: java.lang.NullPointerException: null
java.lang.NullPointerException
at com.objectdb.o.PRG.ae(PRG.java:529)
at com.objectdb.o.VAR.S(VAR.java:304)
at com.objectdb.o.VAR.R(VAR.java:259)
at com.objectdb.o.VAR.ap(VAR.java:616)
at com.objectdb.o.QNF.C(QNF.java:1101)
at com.objectdb.o.QNF.C(QNF.java:996)
at com.objectdb.o.QNF.z(QNF.java:789)
at com.objectdb.o.QNF.k(QNF.java:258)
at com.objectdb.o.QNF.q(QNF.java:518)
at com.objectdb.o.QNF.k(QNF.java:189)
at com.objectdb.o.QNF.t(QNF.java:611)
at com.objectdb.o.QNF.t(QNF.java:603)
at com.objectdb.o.QNF.t(QNF.java:603)
at com.objectdb.o.QNF.k(QNF.java:218)
at com.objectdb.o.QNF.j(QNF.java:135)
at com.objectdb.o.QRC.B(QRC.java:340)
at com.objectdb.o.QRC.x(QRC.java:231)
at com.objectdb.o.QRC.w(QRC.java:185)
at com.objectdb.o.QRM.Vb(QRM.java:272)
at com.objectdb.o.MST.Vb(MST.java:949)
at com.objectdb.o.WRA.Vb(WRA.java:311)
at com.objectdb.o.WSM.Vb(WSM.java:115)
at com.objectdb.o.STC.r(STC.java:450)
at com.objectdb.o.SHN.aj(SHN.java:488)
at com.objectdb.o.SHN.K(SHN.java:155)
at com.objectdb.o.HND.run(HND.java:133)
at java.lang.Thread.run(Unknown 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(EMImpl.java:302)
at cl.intelidata.servlet.Read.actualizaLectura(Read.java:143)
at cl.intelidata.servlet.Read.doGet(Read.java:108)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at com.googlecode.psiprobe.Tomcat70AgentValve.invoke(Tomcat70AgentValve.java:38)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:724)
Caused by: javax.persistence.PersistenceException: com.objectdb.o.UserException: Unexpected database state: BTree -152 is not found
at com.objectdb.o._PersistenceException.b(_PersistenceException.java:47)
at com.objectdb.o.JPE.g(JPE.java:142)
at com.objectdb.o.JPE.g(JPE.java:78)
... 24 more
Caused by: com.objectdb.o.UserException: Unexpected database state: BTree -152 is not found
at com.objectdb.o.MSG.d(MSG.java:61)
at com.objectdb.o.UTT.A(UTT.java:312)
at com.objectdb.o.UTT.l(UTT.java:218)
at com.objectdb.o.TSK.i(TSK.java:145)
at com.objectdb.o.TSK.f(TSK.java:95)
at com.objectdb.o.TSM.e(TSM.java:86)
at com.objectdb.o.MST.Vh(MST.java:1340)
at com.objectdb.o.WRA.Vh(WRA.java:396)
at com.objectdb.o.WSM.Vh(WSM.java:184)
at com.objectdb.o.STC.v(STC.java:514)
at com.objectdb.o.SHN.an(SHN.java:562)
at com.objectdb.o.SHN.K(SHN.java:169)
at com.objectdb.o.HND.run(HND.java:133)
at java.lang.Thread.run(Unknown Source)

 

#2

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

Reply