cancel
Showing results for 
Search instead for 
Did you mean: 

Error when opening Vacation Request example

ruedesilva
Champ in-the-making
Champ in-the-making
When I open the VacationRequest example in Eclipse under designer I get the error VacationRequest.activiti file not found. I did find this file created automatically by the designer in a different folder. I copied the file to where the VacationRequest.bpmn20.xml is located (in src\main\process\org\activiti\examples\taskforms) and then that error went away. However I get new error:

Could not open the editor: org.eclipse.emf.ecore.xmi.UnresolvedReferenceException: Unresolved reference 'flow9'. (platform:/resource/activiti-engine-examples/src/main/process/org/activiti/examples/taskforms/VacationRequest.activiti, 321, 117)

so my questions are:

1) Why does the .activiti file get created in a different folder? Is there a configurable parameter that can be set? I found this problem with other examples also.

2) How can I fix the files so that I can open the VacationRequest properly in designer?

thanks,
Rue
6 REPLIES 6

ruedesilva
Champ in-the-making
Champ in-the-making
I also tried the latest release 5.5 instead of 5.4 and still get the same error but 'flow3' instead of 'flow9'.

thanks,
Rue

stree
Champ in-the-making
Champ in-the-making
When I open the VacationRequest example in Eclipse under designer I get the error VacationRequest.activiti file not found. I did find this file created automatically by the designer in a different folder. I copied the file to where the VacationRequest.bpmn20.xml is located (in src\main\process\org\activiti\examples\taskforms) and then that error went away. However I get new error:

Could not open the editor: org.eclipse.emf.ecore.xmi.UnresolvedReferenceException: Unresolved reference 'flow9'. (platform:/resource/activiti-engine-examples/src/main/process/org/activiti/examples/taskforms/VacationRequest.activiti, 321, 117)

so my questions are:

1) Why does the .activiti file get created in a different folder? Is there a configurable parameter that can be set? I found this problem with other examples also.

2) How can I fix the files so that I can open the VacationRequest properly in designer?

thanks,
Rue


My question is almost the same. I tried to use the "activiti-modeler" to build a test process, then "Import the BPMN 2.0 file" into an activiti project using the eclipse, always  the above error.
It seems like the file format transformation from "test.bpmn20.xml" to "test.activiti" causes some lost.
by the way, i do use the eclipse 3.6.1 and update the Activiti BPMN 2.0 designer

trademak
Star Contributor
Star Contributor
Hi,

The vacation request example contains a task element, which was not supported by the Designer, because it's not runnable BPMN.
I changed the parsing to also allow the task element, and now it's transformed to a service task in the import.
So now the vacation request example can be imported to the Designer (at least when you use the trunk source code).

Best regards,

ruedesilva
Champ in-the-making
Champ in-the-making
Hi TradeMak,

thank you for the reply. But I do not understand your answer. Could you please explain in a bit more detail how I can get this to work also?

thanks so much,
Rue

trademak
Star Contributor
Star Contributor
Hi,

To get this to work you'll have to built the Activiti Design from the source code as explained here http://docs.codehaus.org/display/ACT/Activiti+Designer+Developer+Guide.
You can also wait for the next release, then this functionality will be available as part of the version 5.6 distribution.

Best regards,

ruedesilva
Champ in-the-making
Champ in-the-making
Thansk Trademak. I will wait for the 5.6 release.

- Rue