Exception when calling sub process on java
Hi guy,
I am using java to call a sub process (1). On sub process, it calls another process on async mode and wait for this async process finished. But it gets an exception
`ClassCastException: java.lang.Object cannot be cast to ch.ivyteam.ivy.scripting.objects.util.IIvyDataObject
BpmError: ivy:error:system
IvyRuntimeException: BpmError ivy:error:system
Unique ID: 16ED0879C1F1D89D
Process Element: Wait for the other business processes to end <16ECF9C19BDDE0E4-f6>
Process Call Stack:
callServiceCheck() <16ECF9C19BDDE0E4-f0>
ch.ivyteam.util.IvyRuntimeException: BpmError ivy:error:system
Unique ID: 16ED0879C1F1D89D
Process Element: Wait for the other business processes to end <16ECF9C19BDDE0E4-f6>
Process Call Stack:
callServiceCheck() <16ECF9C19BDDE0E4-f0>`
But it can work well if I trigger the start link (2) directly
![alt text][1]
[1]: https://lh3.googleusercontent.com/QNaXkDI24FP4P6lVFeshsr_aBnuw2iPEhnm9L5CK8n6hfPSah08x0nXFmxdHiSttVeDs6c0RKFKqTeEmR2sXCyLX6ykKxscULJMm3rsmsKValTgGncX6KdT_PUEE-EuV5egV18A_-JjXYlOrMRsE7lwWam0MEnuir3rRrD94NEGlkTzPSOzN8sSRzxYjQts3l3Jutl2C-qP-gJUhNiTBEvxXGMM-sGiLOsfOteiB2AmIx9tNiAzSLqP3Lh_jddFmtOFf98m6lbM8UkMDOt_SbNYrg9ByhSqouM8L5PkrQWcRKPMF4uSmLDLcFGUjWYGG1RQAsq2UT8CQ8Qhnh2fsVhU7Qnm6w_VhIHZIlvS77CZQ9Sy5azWLHRN0f13mRZ9lasNxo2TKDcJd8hBpJMYeZjJrgd7sBjhJi4OO3o-LzAe5RdpnOTmjNDoLbk4mjYVvzl9R-BBD4moB3IxWO64_iVA2WAE1tbLyBlQUEwT5uWXyu9GfgayJsxTjMsyKj5weNY4ZppVRe5RlizQ4aGJX0qKK1y5KA_BYTx3GBuQmNMLRLfym6mNSUXVwkPDtwxfUt-c3JfBwQqgyQT6PTXK2pBTTcROVqVEnLcRXoJ5grz034y_rA05xMZvw0fccOzejkDHCLM8APCc-VhbAgPEJ7YDkxzjLhNjWcjZd9KMkpMkyQMQYl13YPV4mtUX2fw=w1310-h936
How can I overcome this problem?
Thanks!