cancel
Showing results for 
Search instead for 
Did you mean: 

FIle exported as bpmn from Bonita and imported fails

ericsnyder
Champ on-the-rise
Champ on-the-rise
I have some processes I would like to transfer over from Bonita to Activiti. I have exported from Bonita V5.7 as a bpmn file and tried to import inside Eclipse. I get the following errors in the log:

!ENTRY org.eclipse.ui.views.properties.tabbed 4 2 2013-03-28 15:44:23.371
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.views.properties.tabbed".
!STACK 0
java.lang.NullPointerException
   at org.activiti.bpmn.model.BpmnModel.getProcess(BpmnModel.java:59)

…and so on

If I open using the XML editor there is information there. I just don't know anything about an XML structure for bpmn to know what is right and what is not.

Any ideas on exporting/Importing so I can save myself trouble?
3 REPLIES 3

frederikherema1
Star Contributor
Star Contributor
judging from the line of code, there is a Pool-element in the process that doesn't have a "processRef" attribute set. Can you check this in the bpmn-file?

ericsnyder
Champ on-the-rise
Champ on-the-rise
There are two processes in this file - "SL24_tool" and "SL24_part". There are two lines that have a processRef attribute:

<modelSmiley Tonguearticipant id="_IUq6sZfVEeKIpv6cp89kpw" name="SL24 tool" processRef="SL24_tool"/>
    <modelSmiley Tonguearticipant id="_IU_DwJfVEeKIpv6cp89kpw" name="SL24 part" processRef="SL24_part"/>

frederikherema1
Star Contributor
Star Contributor
This is potentially an issue you have discovered with the use of pools that span multiple processes. Can you post the full process definition perhaps?