java.lang.IllegalArgumentException

IOException while loading process instance: Error deserializing process instance.

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web2065

  • IOException while loading process instance: Error deserializing process instance.
  • via wpthm.com by Unknown author, 1 year ago
    IOException while storing process instance 1: com.shamalk.jbpm.test.Person
  • via hivmr.com by Unknown author, 11 months ago
    IOException while storing process instance 1: com.shamalk.jbpm.test.Person
  • Stack trace

    • java.lang.IllegalArgumentException: IOException while loading process instance: Error deserializing process instance. at org.jbpm.persistence.processinstance.ProcessInstanceInfo.getProcessInstance(ProcessInstanceInfo.java:193)[jbpm-persistence-jpa-6.4.0.Final.jar:6.4.0.Final] at org.jbpm.persistence.processinstance.ProcessInstanceInfo.getProcessInstance(ProcessInstanceInfo.java:166)[jbpm-persistence-jpa-6.4.0.Final.jar:6.4.0.Final] at org.jbpm.persistence.processinstance.JPAProcessInstanceManager.getProcessInstance(JPAProcessInstanceManager.java:139)[jbpm-persistence-jpa-6.4.0.Final.jar:6.4.0.Final] at org.jbpm.process.instance.ProcessRuntimeImpl.getProcessInstance(ProcessRuntimeImpl.java:286)[jbpm-flow-6.4.0.Final.jar:6.4.0.Final] at org.jbpm.process.instance.ProcessRuntimeImpl.getProcessInstance(ProcessRuntimeImpl.java:282)[jbpm-flow-6.4.0.Final.jar:6.4.0.Final] at org.jbpm.process.instance.ProcessRuntimeImpl.abortProcessInstance(ProcessRuntimeImpl.java:492)[jbpm-flow-6.4.0.Final.jar:6.4.0.Final] at org.drools.core.impl.StatefulKnowledgeSessionImpl.abortProcessInstance(StatefulKnowledgeSessionImpl.java:538)[drools-core-6.4.0.Final.jar:6.4.0.Final] at org.drools.core.command.runtime.process.AbortProcessInstanceCommand.execute(AbortProcessInstanceCommand.java:55)[drools-core-6.4.0.Final.jar:6.4.0.Final] at org.drools.core.command.runtime.process.AbortProcessInstanceCommand.execute(AbortProcessInstanceCommand.java:30)[drools-core-6.4.0.Final.jar:6.4.0.Final] at org.drools.core.command.impl.DefaultCommandService.execute(DefaultCommandService.java:36)[drools-core-6.4.0.Final.jar:6.4.0.Final] at org.drools.core.command.impl.AbstractInterceptor.executeNext(AbstractInterceptor.java:41)[drools-core-6.4.0.Final.jar:6.4.0.Final] at org.drools.persistence.SingleSessionCommandService$TransactionInterceptor.execute(SingleSessionCommandService.java:592)[drools-persistence-jpa-6.4.0.Final.jar:6.4.0.Final] at org.drools.core.command.impl.AbstractInterceptor.executeNext(AbstractInterceptor.java:41)[drools-core-6.4.0.Final.jar:6.4.0.Final] at org.drools.persistence.jpa.OptimisticLockRetryInterceptor.execute(OptimisticLockRetryInterceptor.java:82)[drools-persistence-jpa-6.4.0.Final.jar:6.4.0.Final] at org.drools.core.command.impl.AbstractInterceptor.executeNext(AbstractInterceptor.java:41)[drools-core-6.4.0.Final.jar:6.4.0.Final] at org.drools.persistence.jta.TransactionLockInterceptor.execute(TransactionLockInterceptor.java:73)[drools-persistence-jpa-6.4.0.Final.jar:6.4.0.Final] Caused by: java.io.IOException: Error deserializing process instance. at org.jbpm.marshalling.impl.AbstractProtobufProcessInstanceMarshaller.readProcessInstance(AbstractProtobufProcessInstanceMarshaller.java:477)[jbpm-flow-6.4.0.Final.jar:6.4.0.Final] at org.jbpm.persistence.processinstance.ProcessInstanceInfo.getProcessInstance(ProcessInstanceInfo.java:185)[jbpm-persistence-jpa-6.4.0.Final.jar:6.4.0.Final] ... 16 more Caused by: java.lang.ClassNotFoundException: com.sun.org.apache.xerces.internal.jaxp.datatype.XMLGregorianCalendarImpl at org.drools.core.common.ProjectClassLoader.tryDefineType(ProjectClassLoader.java:187)[drools-core-6.4.0.Final.jar:6.4.0.Final] at org.drools.core.common.ProjectClassLoader.loadType(ProjectClassLoader.java:177)[drools-core-6.4.0.Final.jar:6.4.0.Final] at org.drools.core.common.ProjectClassLoader.loadClass(ProjectClassLoader.java:143)[drools-core-6.4.0.Final.jar:6.4.0.Final] at java.lang.ClassLoader.loadClass(ClassLoader.java:358)[rt.jar:1.7.0_79] at java.lang.Class.forName0(Native Method)[rt.jar:1.7.0_79] at java.lang.Class.forName(Class.java:274)[rt.jar:1.7.0_79] at org.drools.core.util.ClassUtils.getClassFromName(ClassUtils.java:755)[drools-core-6.4.0.Final.jar:6.4.0.Final] at org.drools.core.common.DroolsObjectInputStream.resolveClass(DroolsObjectInputStream.java:57)[drools-core-6.4.0.Final.jar:6.4.0.Final] at org.drools.core.common.DroolsObjectInputStream.resolveClass(DroolsObjectInputStream.java:62)[drools-core-6.4.0.Final.jar:6.4.0.Final] at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1612)[rt.jar:1.7.0_79] at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1517)[rt.jar:1.7.0_79] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1771)[rt.jar:1.7.0_79] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1350)[rt.jar:1.7.0_79] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370)[rt.jar:1.7.0_79] at java.util.ArrayList.readObject(ArrayList.java:771)[rt.jar:1.7.0_79] at sun.reflect.GeneratedMethodAccessor158.invoke(Unknown Source)[:1.7.0_79] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[rt.jar:1.7.0_79] at java.lang.reflect.Method.invoke(Method.java:606)[rt.jar:1.7.0_79] at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1017)[rt.jar:1.7.0_79] at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1893)[rt.jar:1.7.0_79] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1798)[rt.jar:1.7.0_79] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1350)[rt.jar:1.7.0_79] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370)[rt.jar:1.7.0_79] at org.drools.core.marshalling.impl.SerializablePlaceholderResolverStrategy$SerializablePlaceholderStrategyContext.read(SerializablePlaceholderResolverStrategy.java:93)[drools-core-6.4.0.Final.jar:6.4.0.Final] at org.drools.core.marshalling.impl.PersisterHelper.loadStrategiesIndex(PersisterHelper.java:327)[drools-core-6.4.0.Final.jar:6.4.0.Final] at org.drools.core.marshalling.impl.PersisterHelper.loadStrategiesCheckSignature(PersisterHelper.java:273)[drools-core-6.4.0.Final.jar:6.4.0.Final] at org.drools.core.marshalling.impl.PersisterHelper.readFromStreamWithHeaderPreloaded(PersisterHelper.java:289)[drools-core-6.4.0.Final.jar:6.4.0.Final] at org.jbpm.marshalling.impl.AbstractProtobufProcessInstanceMarshaller.readProcessInstance(AbstractProtobufProcessInstanceMarshaller.java:474)[jbpm-flow-6.4.0.Final.jar:6.4.0.Final] ... 18 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.