Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-2790

StaleObjectStateException: "Row was updated or deleted by another transaction" frequently thrown when joining forked tokens

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • jBPM 3.2.9
    • jBPM 3.2.7
    • Runtime Engine
    • None

      When executing the performance test (https://svn.devel.redhat.com/repos/jboss-soa/trunk/qa/tests/quickstarts/performance4/) the server processes the messages. After some time it starts to throw following exception traces over and over again. it flood the server's log.

      2010-02-10 09:54:52,736 INFO [org.hibernate.event.def.DefaultLoadEventListener] (WorkManager(2)-92) Error performing load command
      org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): org.jbpm.graph.exe.Token#392
      at org.hibernate.dialect.lock.SelectLockingStrategy.lock(SelectLockingStrategy.java:102)
      at org.hibernate.persister.entity.AbstractEntityPersister.lock(AbstractEntityPersister.java:1351)
      at org.hibernate.event.def.AbstractLockUpgradeEventListener.upgradeLock(AbstractLockUpgradeEventListener.java:108)
      at org.hibernate.event.def.DefaultLoadEventListener.loadFromSessionCache(DefaultLoadEventListener.java:488)
      at org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:378)
      at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:165)
      at org.hibernate.event.def.DefaultLoadEventListener.lockAndLoad(DefaultLoadEventListener.java:341)
      at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:129)
      at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:906)
      at org.hibernate.impl.SessionImpl.load(SessionImpl.java:887)
      at org.hibernate.impl.SessionImpl.load(SessionImpl.java:882)
      at org.jbpm.graph.node.Join.execute(Join.java:120)
      at org.jbpm.graph.def.Node.enter(Node.java:375)
      at sun.reflect.GeneratedMethodAccessor647.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:197)
      at org.jbpm.graph.def.Node_$$javassist_127.enter(Node$$_javassist_127.java)
      at org.jbpm.graph.def.Transition.take(Transition.java:151)
      at org.jbpm.graph.def.Node.leave(Node.java:453)
      at sun.reflect.GeneratedMethodAccessor643.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:197)
      at org.jbpm.graph.def.Node_$$javassist_127.leave(Node$$_javassist_127.java)
      at org.jbpm.graph.exe.Token.signal(Token.java:214)
      at org.jbpm.graph.exe.Token.signal(Token.java:143)
      at sun.reflect.GeneratedMethodAccessor642.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:197)
      at org.jbpm.graph.exe.Token_$$javassist_60.signal(Token$$_javassist_60.java)
      at org.jbpm.command.SignalCommand.execute(SignalCommand.java:97)
      at org.jboss.soa.esb.services.jbpm.cmd.AsyncProcessSignal$AsyncSignalAction.execute(AsyncProcessSignal.java:304)
      at org.jbpm.graph.def.Action.execute(Action.java:137)
      at sun.reflect.GeneratedMethodAccessor604.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:197)
      at org.jbpm.graph.def.Action_$$javassist_80.execute(Action$$_javassist_80.java)
      at org.jbpm.graph.def.GraphElement.executeAction(GraphElement.java:280)
      at sun.reflect.GeneratedMethodAccessor637.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:197)
      at org.jbpm.graph.def.Node_$$javassist_127.executeAction(Node$$_javassist_127.java)
      at org.jbpm.job.ExecuteActionJob.execute(ExecuteActionJob.java:33)
      at sun.reflect.GeneratedMethodAccessor635.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:197)
      at org.jbpm.job.Job_$$javassist_131.execute(Job$$_javassist_131.java)
      at org.jboss.soa.esb.services.jbpm.integration.job.ExecuteJobCommand.executeJob(ExecuteJobCommand.java:124)
      at org.jboss.soa.esb.services.jbpm.integration.job.ExecuteJobCommand.execute(ExecuteJobCommand.java:92)
      at org.jboss.soa.esb.services.jbpm.integration.command.AbstractMessageListener.onMessage(AbstractMessageListener.java:66)
      at org.jboss.soa.esb.services.jbpm.integration.command.JobListener.onMessage(JobListener.java:16)
      at sun.reflect.GeneratedMethodAccessor625.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.jboss.internal.soa.esb.dependencies.JCAInflowAdapter$1.invoke(JCAInflowAdapter.java:276)
      at org.jboss.soa.esb.listeners.jca.EndpointProxy.delivery(EndpointProxy.java:258)
      at org.jboss.soa.esb.listeners.jca.EndpointProxy.invoke(EndpointProxy.java:150)
      at $Proxy245.onMessage(Unknown Source)
      at org.jboss.resource.adapter.jms.inflow.JmsServerSession.onMessage(JmsServerSession.java:179)
      at org.jboss.jms.client.container.ClientConsumer.callOnMessageStatic(ClientConsumer.java:160)
      at org.jboss.jms.client.container.SessionAspect.handleRun(SessionAspect.java:831)
      at org.jboss.aop.advice.org.jboss.jms.client.container.SessionAspect_z_handleRun_184993470.invoke(SessionAspect_z_handleRun_184993470.java)
      at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java)
      at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:170)
      at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:86)
      at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java)
      at org.jboss.jms.client.delegate.ClientSessionDelegate.run(ClientSessionDelegate.java)
      at org.jboss.jms.client.JBossSession.run(JBossSession.java:199)
      at org.jboss.resource.adapter.jms.inflow.JmsServerSession.run(JmsServerSession.java:236)
      at org.jboss.resource.work.WorkWrapper.execute(WorkWrapper.java:205)
      at org.jboss.util.threadpool.BasicTaskWrapper.run(BasicTaskWrapper.java:260)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:619)

              aguizar_jira Alejandro Guizar (Inactive)
              pmacik@redhat.com Pavel Macik
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: