cancel
Showing results for 
Search instead for 
Did you mean: 

BPM Process stop to work

Former Member
0 Kudos
71

when i start a bpm process during the runtime the process stop to work and in the default trace i found this error:

Follower.run():An error occurred while executing transition INTERMEDIATE_EVENT_TIMER_START_ActivationDeadlineIntermediateTimerEvent(Token_0_WorkOrderTask_Apply_ee714563618c5ad7dd0d8f2bac559755{45b554fa-722e-11e1-88e9-0000066c1b36}(Instance_0_WorkOrderTask_Apply_ee714563618c5ad7dd0d8f2bac559755{45b554f9-722e-11e1-ad84-0000066c1b36}(?),3,null,null,null), Instance_0_WorkOrderTask_Apply_ee714563618c5ad7dd0d8f2bac559755{45b554f9-722e-11e1-ad84-0000066c1b36}(Instance_0_WorkOrderPro_ce218359b0aaf8de6474fd5ca1f3abd8{457613d6-722e-11e1-9567-0000066c1b36}(?),null,Token_0_WorkOrderPro_ce218359b0aaf8de6474fd5ca1f3abd8{457613d7-722e-11e1-b19b-0000066c1b36}(?),false), Context_4_TaskAttributes_ee714563618c5ad7dd0d8f2bac559755{45b609d2-722e-11e1-900c-0000066c1b36}(Instance_0_WorkOrderTask_Apply_ee714563618c5ad7dd0d8f2bac559755{45b554f9-722e-11e1-ad84-0000066c1b36}(?),Scope_20_WorkOrderTask_Apply_ee714563618c5ad7dd0d8f2bac559755{45b609d1-722e-11e1-b832-0000066c1b36}(?),2,true,false,null)): com.sap.glx.core.kernel.api.TransitionRollbackException: Exception during prepare, rolling back

at com.sap.glx.core.kernel.mmtx.AbstractTransactionBase.rollback(AbstractTransactionBase.java:742)

at com.sap.glx.core.kernel.mmtx.AbstractTransaction.do_prepare(AbstractTransaction.java:202)

at com.sap.glx.core.kernel.mmtx.AbstractTransaction.commit(AbstractTransaction.java:81)

at com.sap.glx.core.kernel.execution.LeaderWorkerPool$Follower.run(LeaderWorkerPool.java:129)

at com.sap.glx.core.resource.impl.common.WorkWrapper.run(WorkWrapper.java:58)

at com.sap.glx.core.resource.impl.j2ee.J2EEResourceImpl$Sessionizer.run(J2EEResourceImpl.java:216)

at com.sap.glx.core.resource.impl.j2ee.ServiceUserManager$ServiceUserImpersonator$1.run(ServiceUserManager.java:150)

at java.security.AccessController.doPrivileged(Native Method)

at javax.security.auth.Subject.doAs(Subject.java:337)

at com.sap.glx.core.resource.impl.j2ee.ServiceUserManager$ServiceUserImpersonator.run(ServiceUserManager.java:147)

at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)

at java.security.AccessController.doPrivileged(Native Method)

at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:182)

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:299)

Caused by: com.sap.glx.core.kernel.api.KernelException: com.sap.glx.core.dock.api.StorageException: java.lang.NullPointerException: while trying to invoke the method com.sap.scheduler.api.Scheduler.getJobDefinitionByName(java.lang.String) of an object loaded from field com.sap.glx.core.resource.impl.j2ee.J2EEResourceImpl.scheduler of an object loaded from local variable 'this'

at com.sap.glx.core.kernel.mmtx.PrimaryTransaction.inPrepare(PrimaryTransaction.java:196)

at com.sap.glx.core.kernel.mmtx.AbstractTransaction.do_prepare(AbstractTransaction.java:200)

... 12 more

Caused by: com.sap.glx.core.dock.api.StorageException: java.lang.NullPointerException: while trying to invoke the method com.sap.scheduler.api.Scheduler.getJobDefinitionByName(java.lang.String) of an object loaded from field com.sap.glx.core.resource.impl.j2ee.J2EEResourceImpl.scheduler of an object loaded from local variable 'this'

at com.sap.glx.core.dock.storage.impl.StorageManagerImpl.persist(StorageManagerImpl.java:567)

at com.sap.glx.core.kernel.mmtx.PrimaryTransaction.inPrepare(PrimaryTransaction.java:187)

... 13 more

Caused by: java.lang.NullPointerException: while trying to invoke the method com.sap.scheduler.api.Scheduler.getJobDefinitionByName(java.lang.String) of an object loaded from field com.sap.glx.core.resource.impl.j2ee.J2EEResourceImpl.scheduler of an object loaded from local variable 'this'

at com.sap.glx.core.resource.impl.j2ee.J2EEResourceImpl.startScheduledJob(J2EEResourceImpl.java:302)

at com.sap.glx.core.internaladapter.Chronometer$PulsarPersistenceHandler.startJob(Chronometer.java:224)

at com.sap.glx.core.internaladapter.Chronometer$PulsarPersistenceHandler.persist(Chronometer.java:212)

at com.sap.glx.core.dock.impl.DockObjectImpl.save(DockObjectImpl.java:750)

at com.sap.glx.core.dock.storage.impl.PermanentStorageControllerImpl.persistObject(PermanentStorageControllerImpl.java:152)

at com.sap.glx.core.dock.storage.impl.PermanentStorageControllerImpl.persist(PermanentStorageControllerImpl.java:212)

at com.sap.glx.core.dock.storage.impl.PermanentStorageControllerImpl.persist(PermanentStorageControllerImpl.java:243)

at com.sap.glx.core.dock.storage.impl.StorageManagerImpl.persist(StorageManagerImpl.java:531)

... 14 more

anyone know how can i resolve it?

Accepted Solutions (0)

Answers (1)

Answers (1)

junwu
Active Contributor
0 Kudos

are you using intermediate event?

intermediate event is really crappy,  your nightmare will come when you start to use that ****.
search in the oss note to see if any tip can be found.
meanwhile please open ticket to sap.