Fast Object Database for Java - with JPA/JDO support

Issue #2582: [ObjectDB 2.8.3_01] Unexpected exception (Error 990)

Type: Bug reoprtVersion: 2.8.3_01Priority: CriticalStatus: ClosedReplies: 2
#1

Seeing strange new error, with previously working code!

Objectdb: 2.8.3_01

JVM: 1.8.0_252

OS: Ubuntu: 18.0.4

----

 

[ObjectDB 2.8.3_01] Unexpected exception (Error 990)
  Generated by OpenJDK 64-Bit Server VM 1.8.0_252 (on Linux 5.4.0-52-generic).
Please report this error on http://www.objectdb.com/issue/new
com.objectdb.o.InternalException: null
com.objectdb.o.InternalException
    at com.objectdb.o.TYM.y(TYM.java:794)
    at com.objectdb.o.MUT.f(MUT.java:670)
    at com.objectdb.o.MUT.k(MUT.java:538)
    at com.objectdb.o.MUT.readAndAdjust(MUT.java:417)
    at com.objectdb.o.UMR.readAndAdjust(UMR.java:658)
    at common.model.UserSession.__odbReadContent(UserSession.groovy:1)
    at com.objectdb.o.MMM.I(MMM.java:1207)
    at com.objectdb.o.UTY.K(UTY.java:1514)
    at com.objectdb.o.UTY.L(UTY.java:1441)
    at com.objectdb.o.ENH.d(ENH.java:104)
    at com.objectdb.o.LDR.d(LDR.java:836)
    at com.objectdb.o.LDR.ZS(LDR.java:1071)
    at com.objectdb.o.MST.ay(MST.java:571)
    at com.objectdb.o.MST.au(MST.java:491)
    at com.objectdb.o.MST.Zj(MST.java:462)
    at com.objectdb.o.WRA.Zj(WRA.java:268)
    at com.objectdb.o.LDR.u(LDR.java:558)
    at com.objectdb.o.LDR.YY(LDR.java:475)
    at com.objectdb.o.OBC.YY(OBC.java:1128)
    at com.objectdb.o.ENT.YY(ENT.java:1217)
    at com.objectdb.o.ENT.extractCollection(ENT.java:1590)
    at objectdb.java.util.ArrayList.__odbBeforeAccess(Unknown Source)
    at objectdb.java.util.ArrayList.size(Unknown Source)
    at org.codehaus.groovy.runtime.DefaultGroovyMethodsSupport.createSimilarCollection(DefaultGroovyMethodsSupport.java:207)
    at org.codehaus.groovy.runtime.DefaultGroovyMethods.findAll(DefaultGroovyMethods.java:4784)
    at org.codehaus.groovy.runtime.DefaultGroovyMethods.findAll(DefaultGroovyMethods.java:4771)
    at common.model.Site.getActiveSessions(Site.groovy:25)
    at common.app.Transactor.execute(Transactor.groovy:82)
    at common.app.Transactor.access$0(Transactor.groovy)
    at common.app.Transactor$_handleRequest_closure1.doCall(Transactor.groovy:37)
    at common.app.Transactor$_handleRequest_closure1.call(Transactor.groovy)
    at common.app.Database.transact(Database.groovy:78)
    at common.app.Transactor.handleRequest(Transactor.groovy:29)
    at common.app.RedisService$1.message(RedisService.groovy:105)
    at common.app.RedisService$1.message(RedisService.groovy)
    at io.lettuce.core.pubsub.PubSubEndpoint.notifyListeners(PubSubEndpoint.java:217)
    at io.lettuce.core.pubsub.PubSubEndpoint.notifyMessage(PubSubEndpoint.java:206)
    at io.lettuce.core.pubsub.PubSubCommandHandler.doNotifyMessage(PubSubCommandHandler.java:292)
    at io.lettuce.core.pubsub.PubSubCommandHandler.notifyPushListeners(PubSubCommandHandler.java:223)
    at io.lettuce.core.protocol.CommandHandler.decode(CommandHandler.java:606)
    at io.lettuce.core.pubsub.PubSubCommandHandler.decode(PubSubCommandHandler.java:112)
    at io.lettuce.core.protocol.CommandHandler.channelRead(CommandHandler.java:560)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
    at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
    at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
    at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919)
    at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166)
    at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:714)
    at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:650)
    at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:576)
    at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493)
    at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
    at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
    at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
    at java.lang.Thread.run(Thread.java:748)
[ObjectDB 2.8.3_01] javax.persistence.RollbackException
Failed to commit transaction: Attempt to commit a rollback only transaction (error 613)
    at com.objectdb.jpa.EMImpl.commit(EMImpl.java:289)
    at common.app.Database.transact(Database.groovy:80)
    at common.app.Transactor.handleRequest(Transactor.groovy:29)
    at common.app.RedisService$1.message(RedisService.groovy:105)
    at common.app.RedisService$1.message(RedisService.groovy)
    at io.lettuce.core.pubsub.PubSubEndpoint.notifyListeners(PubSubEndpoint.java:217)
    at io.lettuce.core.pubsub.PubSubEndpoint.notifyMessage(PubSubEndpoint.java:206)
    at io.lettuce.core.pubsub.PubSubCommandHandler.doNotifyMessage(PubSubCommandHandler.java:292)
    at io.lettuce.core.pubsub.PubSubCommandHandler.notifyPushListeners(PubSubCommandHandler.java:223)
    at io.lettuce.core.protocol.CommandHandler.decode(CommandHandler.java:606)
    at io.lettuce.core.pubsub.PubSubCommandHandler.decode(PubSubCommandHandler.java:112)
    at io.lettuce.core.protocol.CommandHandler.channelRead(CommandHandler.java:560)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
    at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
    at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
    at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919)
    at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166)
    at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:714)
    at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:650)
    at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:576)
    at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493)
    at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
    at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
    at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
    at java.lang.Thread.run(Thread.java:748)
Caused by: javax.persistence.PersistenceException: com.objectdb.o.UserException: Attempt to commit a rollback only transaction
    at com.objectdb.o._PersistenceException.a(_PersistenceException.java:47)
    at com.objectdb.o.JPE.d(JPE.java:147)
    at com.objectdb.o.JPE.d(JPE.java:80)
    ... 30 more
Caused by: com.objectdb.o.UserException: Attempt to commit a rollback only transaction
    at com.objectdb.o.MSG.a(MSG.java:64)
    at com.objectdb.o.OBM.aU(OBM.java:849)
    at com.objectdb.o.OBM.aH(OBM.java:781)
    at com.objectdb.jpa.EMImpl.commit(EMImpl.java:286)
    ... 27 more
#2

Similar stack traces are usually related to partial enhancement or update of one side in a client-server mode (if you are using client-server mode rather than embedded mode).

Do you get the exception also after restarting the server or the application? Have you changed your application recently? In that case, verify that all your classes are rebuilt and re-enhanced.

It is also recommended to check the database using the ObjectDB Doctor.

 

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

Thanks, problem resolved by reregistering the actively code.

 

 

Post Reply