org.bonitalife.runtime.exception.BonitaUtilException: No such field

1
0
-1

Hi
I want to integrate bonita and liferay, I read "Step by Step Bonitalife example" and create a process, install it, map user Test Test and I can see session ok!!! .

My problem is when I want to start the process in liferay by using of Process & Cases portlet. the portlet display an error message like this:

BonitaUtilException: No such field org.bonitasoft.engine.bpm.process.impl.ProcessInstanceImpl.startedByDelegate ---- Debugging information ---- field : startedByDelegate class : org.bonitasoft.engine.bpm.process.impl.ProcessInstanceImpl required-type : org.bonitasoft.engine.bpm.process.impl.ProcessInstanceImpl converter-type : com.thoughtworks.xstream.converters.reflection.ReflectionConverter path : /java.util.Collections$UnmodifiableRandomAccessList/c/org.bonitasoft.engine.bpm.process.impl.ProcessInstanceImpl/startedByDelegate line number : 10 class[1] : java.util.ArrayList converter-type[1] : com.thoughtworks.xstream.converters.collections.CollectionConverter class[2] : java.util.Collections$UnmodifiableList version : null -------------------------------

and in my stacktrace I can see this:

org.bonitalife.runtime.exception.BonitaUtilException: No such field org.bonitasoft.engine.bpm.process.impl.ProcessInstanceImpl.startedByDelegate
---- Debugging information ----
field : startedByDelegate
class : org.bonitasoft.engine.bpm.process.impl.ProcessInstanceImpl
required-type : org.bonitasoft.engine.bpm.process.impl.ProcessInstanceImpl
converter-type : com.thoughtworks.xstream.converters.reflection.ReflectionConverter
path : /java.util.Collections$UnmodifiableRandomAccessList/c/org.bonitasoft.engine.bpm.process.impl.ProcessInstanceImpl/startedByDelegate
line number : 10
class[1] : java.util.ArrayList
converter-type[1] : com.thoughtworks.xstream.converters.collections.CollectionConverter
class[2] : java.util.Collections$UnmodifiableList
version : null
-------------------------------

Any help appreciated?

Thans

Comments

Submitted by jmanuel.zambran... on Mon, 03/17/2014 - 16:28

I have the same problem , have you managed to fix it?

1 answer

1
-1
-1

Yes, according to step by step guide (pay attention to versions mentioned in it) you should use Bonita 6.0.2 and Liferay 6.1.2. these are last versions supported by bonita portlet which exist in Liferay marketplace.

you can see the answer from Bonita support which solved my problem:

Dear S.M.H.Jamali,

What version of Bonita BPM is using?
Current version available of BonitaLife in Liferay Marketplace, according to specifications, is compatible with Bonita BPM 6.0.0, 6.0.1, 6.0.2.
It is a given that the Bonita API is different between versions 6.0 and 6.1.
We are working on a new version of Bonitalife (compatible with Bonita BPM 6.2), in addition, will include the following new features:
- New launcher processes grouped by category
- New portlet to view the processes deployed
- Ability to view the path followed by a case in BPMN process diagram (User and Date).
We will keep you informed of developments in the new version.
Regards.
Notifications