cancel
Showing results for 
Search instead for 
Did you mean: 

'Invalid reference in diagram interchange definition' errors during unit test

viggo_navarsete
Champ in-the-making
Champ in-the-making
Hi, I've made a process in Modeler and exported it to an XML file and tries to load it in a unit test, and I get the following output which I have a hard time to understand what to do about:

2014-07-07 22:17:06,571 [main] WARN   - Following warnings encountered during process validation: [Validation set: 'activiti-executable-process' | Problem: 'activiti-di-invalid-reference'] : Invalid reference in diagram interchange definition: could not find chain101Pool - [Extra info : ]
[Validation set: 'activiti-executable-process' | Problem: 'activiti-di-invalid-reference'] : Invalid reference in diagram interchange definition: could not find wholesalerLane - [Extra info : ]
[Validation set: 'activiti-executable-process' | Problem: 'activiti-di-invalid-reference'] : Invalid reference in diagram interchange definition: could not find supplierLane - [Extra info : ]
[Validation set: 'activiti-executable-process' | Problem: 'activiti-di-invalid-reference'] : Invalid reference in diagram interchange definition: could not find transporterLane - [Extra info : ]

2014-07-07 22:17:06,601 [main] WARN   - Invalid reference in diagram interchange definition: could not find chain101Pool
2014-07-07 22:17:06,601 [main] WARN   - Invalid reference in diagram interchange definition: could not find wholesalerLane
2014-07-07 22:17:06,602 [main] WARN   - Invalid reference in diagram interchange definition: could not find supplierLane
2014-07-07 22:17:06,602 [main] WARN   - Invalid reference in diagram interchange definition: could not find transporterLane

Here is a pastie of the process definition that might help narrowing down this issue with me: http://pastie.org/private/cmrtkbmgox1k6w5uuqmq

Thanks in advance.

Viggo
2 REPLIES 2

sathish1
Champ in-the-making
Champ in-the-making
The only thing I see bit different in the pastie is the targetname space information., Eclipse generated BPMN file shows the target name space as
<code>targetNamespace="http://www.activiti.org/test"></code> and the attachment you have is showing a target name space of <code>targetNamespace="http://www.activiti.org/mainoption"</code>
Cheers.,

trademak
Star Contributor
Star Contributor
Thanks for reporting this. The warning message was not correct and is fixed on Github master.

Thanks,