cancel
Showing results for 
Search instead for 
Did you mean: 

Not able to load data after upgrade to 5.22 (from 5.16.3)

aymenbe
Champ in-the-making
Champ in-the-making

Hi,

We just upgraded the activiti dependencies from V 5.16.3 to V 5.22 in our application.

We are using a spring base configuration;

.....
<bean id="workflowProcessEngineConfiguration" class="org.activiti.spring.SpringProcessEngineConfiguration">
<property name="dataSource" ref="workflowDataSource" />
<property name="databaseSchemaUpdate" value="true" />
<property name="jobExecutorActivate" value="false" />
<property name="history" value="activity" />
<property name="deploymentResources"
value="classpath*:/*/workflow/**/*.bpmn" />
<property name="transactionManager" ref="workflowTransactionManager" />
<property name="jpaEntityManagerFactory" ref="workflowEntityManagerFactory" />
<property name="jpaHandleTransaction" value="true" />
<property name="jpaCloseEntityManager" value="true" />
<property name="createDiagramOnDeploy" value="false" />

</bean>
.....

For some of our processes, we are facing this exception.

..........
org.activiti.engine.ActivitiIllegalArgumentException: Value of primary key for JPA-Entity cannot be null
at org.activiti.engine.impl.variable.JPAEntityMappings.getIdString(JPAEntityMappings.java:174)

..........


The same code works fine with the 5.16.3 dependencies.


Any idea ?

Thanks.

0 REPLIES 0