AnsweredAssumed Answered

Class Cast Exception when viewing Process on the Activiti Administration page

Question asked by ankhara33 on Apr 26, 2013
Latest reply on Apr 29, 2013 by trademak
We've created a Transfer process which is somewhat complex, and has several different approval steps. When I login to the Activiti Explorer as an Administrator, I see this exception in the logs when selecting an instance of our 'Transfer' process to view the details of….

Caused by: java.lang.ClassCastException: org.activiti.engine.impl.persistence.entity.HistoricProcessInstanceEntity cannot be cast to org.activiti.engine.runtime.ProcessInstance
        at org.activiti.explorer.ui.management.admin.RunningInstancesPanel.addProcessImage(RunningInstancesPanel.java:288)
        at org.activiti.explorer.ui.management.admin.RunningInstancesPanel$2.valueChange(RunningInstancesPanel.java:239)
        at sun.reflect.GeneratedMethodAccessor2853.invoke(Unknown Source)

We have a couple of different versions of this process deployed… which I also need to look into. Any ideas what would cause this?

Tanks,
Sheila.

Outcomes