0 Replies Latest reply on Nov 9, 2010 10:21 AM by Julian Hirjoi

    OptionalDataException causing Assign Task to stall

    Julian Hirjoi Level 1

      I have an awkward issue when updating an application lca in LiveCycle. Although everything is currently cleaned up, so no instances of the previous application version are running when the new lca is imported, i get an exception in the logs, java.io.OptionalDataException, and all assigned tasks are stalled. What is even stranger, is if I turn on recording on the process containing the AssignTask and start another instance of the process, everything works correctly, no stalled actions...

       

      Has anybody experienced this issue? Any help would be highly appreciated...

       

      Exception stack trace:

       

      java.io.OptionalDataException: java.lang.RuntimeException: java.io.OptionalDataException

                  at com.adobe.idp.jobmanager.execution.InternalJobManager.deserializeObject(InternalJobManage r.java:1368)

                  at com.adobe.idp.jobmanager.execution.InternalJobManager.createJob(InternalJobManager.java:1 04)

                  at com.adobe.idp.jobmanager.service.JobManagerService.createJob(JobManagerService.java:82)

                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

                  at java.lang.reflect.Method.invoke(Method.java:585)

                  at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.jav a:118)

                  at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor. java:140)

                  at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)

                  at com.adobe.idp.dsc.interceptor.impl.DocumentPassivationInterceptor.intercept(DocumentPassi vationInterceptor.java:53)

                  at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)

                  at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(Transa ctionInterceptor.java:74)

                  at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.execute(EjbTr ansactionCMTAdapterBean.java:357)

                  at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.doSupports(Ej bTransactionCMTAdapterBean.java:227)

                  at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EJSLocalStatelessEjbTransactionCMTAdapter_ caf58c4f.doSupports(Unknown Source)

                  at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:104)

                  at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.intercept(TransactionInt erceptor.java:72)

                  at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)

                  at com.adobe.idp.dsc.interceptor.impl.InvocationStrategyInterceptor.intercept(InvocationStra tegyInterceptor.java:55)

                  at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)

                  at com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept(InvalidStateIntercep tor.java:37)

                  at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)

                  at com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterc eptor.java:165)

                  at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)

                  at com.adobe.idp.dsc.interceptor.impl.JMXInterceptor.intercept(JMXInterceptor.java:48)

                  at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)

                  at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:121)

                  at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:121)

                  at com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.routeMessage(AbstractMessage Receiver.java:93)

                  at com.adobe.idp.dsc.provider.impl.vm.VMMessageDispatcher.doSend(VMMessageDispatcher.java:22 5)

                  at com.adobe.idp.dsc.provider.impl.base.AbstractMessageDispatcher.send(AbstractMessageDispat cher.java:66)

                  at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:208)

                  at com.adobe.workflow.engine.PEUtil.invokeAction(PEUtil.java:861)

                  at com.adobe.workflow.engine.SynchronousBranch.handleInvokeAction(SynchronousBranch.java:510 )

                  at com.adobe.workflow.engine.SynchronousBranch.execute(SynchronousBranch.java:888)

                  at com.adobe.workflow.engine.ProcessEngineBMTBean.continueBranchAtAction(ProcessEngineBMTBea n.java:2797)

                  at com.adobe.workflow.engine.ProcessEngineBMTBean.asyncInvokeProcessCommand(ProcessEngineBMT Bean.java:697)

                  at com.adobe.workflow.engine.EJSLocalStatelessadobe_ProcessEngineBMTEJB_7d3cbd67.asyncInvoke ProcessCommand(Unknown Source)

                  at com.adobe.idp.workflow.dsc.service.ProcessCommandExecutorService.invokeProcess(ProcessCom mandExecutorService.java:55)

                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

                  at java.lang.reflect.Method.invoke(Method.java:585)

                  at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.jav a:118)

                  at com.adobe.idp.workflow.dsc.invoker.WorkflowDSCInvoker.invoke(WorkflowDSCInvoker.java:154)

                  at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor. java:140)

                  at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)

                  at com.adobe.idp.dsc.interceptor.impl.DocumentPassivationInterceptor.intercept(DocumentPassi vationInterceptor.java:53)

                  at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)

                  at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(Transa ctionInterceptor.java:74)

                  at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.execute(EjbTr ansactionCMTAdapterBean.java:357)

                  at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.doSupports(Ej bTransactionCMTAdapterBean.java:227)

                  at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EJSLocalStatelessEjbTransactionCMTAdapter_ caf58c4f.doSupports(Unknown Source)

                  at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:104)

                  at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.intercept(TransactionInt erceptor.java:72)

                  at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)

                  at com.adobe.idp.dsc.interceptor.impl.InvocationStrategyInterceptor.intercept(InvocationStra tegyInterceptor.java:55)

                  at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)

                  at com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept(InvalidStateIntercep tor.java:37)

                  at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)

                  at com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterc eptor.java:165)

                  at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)

                  at com.adobe.idp.dsc.interceptor.impl.JMXInterceptor.intercept(JMXInterceptor.java:48)

                  at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)

                  at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:121)

                  at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:129)

                  at com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.routeMessage(AbstractMessage Receiver.java:93)

                  at com.adobe.idp.dsc.provider.impl.vm.VMMessageDispatcher.doSend(VMMessageDispatcher.java:22 5)

                  at com.adobe.idp.dsc.provider.impl.base.AbstractMessageDispatcher.send(AbstractMessageDispat cher.java:66)

                  at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:208)

                  at com.adobe.workflow.engine.PEInvokeProcessCommand.execute(PEInvokeProcessCommand.java:126)

                  at com.adobe.workflow.workadapter.WorkflowCommandExecutionUnit.execute(WorkflowCommandExecut ionUnit.java:22)

                  at com.adobe.idp.dsc.workmanager.adapter.ManagedAsynchronousWorkAdapter.run(ManagedAsynchron ousWorkAdapter.java:70)

                  at com.adobe.idp.dsc.workmanager.adapter.websphere.J2WA_Work.run(J2WA_Work.java:34)

                  at com.ibm.ws.asynchbeans.J2EEContext$RunProxy.run(J2EEContext.java:261)

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

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

                  at com.ibm.websphere.security.auth.WSSubject.doAs(WSSubject.java:118)

                  at com.ibm.ws.asynchbeans.J2EEContext$DoAsProxy.run(J2EEContext.java:328)

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

                  at com.ibm.ws.asynchbeans.J2EEContext.run(J2EEContext.java:757)

                  at com.ibm.ws.asynchbeans.WorkWithExecutionContextImpl.go(WorkWithExecutionContextImpl.java: 218)

                  at com.ibm.ws.asynchbeans.ABWorkItemImpl.run(ABWorkItemImpl.java:158)

                  at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1497)

      Caused by: java.io.OptionalDataException

                  at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1325)

                  at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)

                  at java.util.HashMap.readObject(HashMap.java:1066)

                  at sun.reflect.GeneratedMethodAccessor15.invoke(Unknown Source)

                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

                  at java.lang.reflect.Method.invoke(Method.java:585)

                  at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:946)

                  at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1809)

                  at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)

                  at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)

                  at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1908)

                  at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1832)

                  at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)

                  at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)

                  at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1908)

                  at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1832)

                  at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)

                  at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)

                  at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1908)

                  at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1832)

                  at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)

                  at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)

                  at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1908)

                  at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1832)

                  at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)

                  at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)

                  at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)

                  at java.util.ArrayList.readObject(ArrayList.java:591)

                  at sun.reflect.GeneratedMethodAccessor282.invoke(Unknown Source)

                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

                  at java.lang.reflect.Method.invoke(Method.java:585)

                  at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:946)

                  at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1809)

                  at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)

                  at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)

                  at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1908)

                  at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1832)

                  at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)

                  at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)

                  at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)

                  at java.util.ArrayList.readObject(ArrayList.java:591)

                  at sun.reflect.GeneratedMethodAccessor282.invoke(Unknown Source)

                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

                  at java.lang.reflect.Method.invoke(Method.java:585)

                  at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:946)

                  at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1809)

                  at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)

                  at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)

                  at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1908)

                  at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1832)

                  at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)

                  at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)

                  at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1908)

                  at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1832)

                  at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)

                  at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)

                  at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1908)

                  at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:479)

                  at com.adobe.workflow.pat.service.PATExecutionContextImpl.readObject(PATExecutionContextImpl .java:1383)

                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

                  at java.lang.reflect.Method.invoke(Method.java:585)

                  at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:946)

                  at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1809)

                  at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)

                  at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)

                  at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)

                  at java.util.HashMap.readObject(HashMap.java:1067)

                  at sun.reflect.GeneratedMethodAccessor15.invoke(Unknown Source)

                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

                  at java.lang.reflect.Method.invoke(Method.java:585)

                  at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:946)

                  at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1809)

                  at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)

                  at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)

                  at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1908)

                  at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1832)

                  at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)

                  at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)

                  at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)

                  at com.adobe.idp.jobmanager.execution.InternalJobManager.deserializeObject(InternalJobManage r.java:1348)

                  ... 84 more