Getting java.lang.NoSuchMethodException: org.bonitasoft.engine.bdm.BusinessObjectDAOFactory.createDAO(BusinessObjectDAOFactory.java:64)

1
0
-1

Hi,
I am trying to access Task info of BPM process.It is working fine when i run as a java application.But giving error
when I access through REST API call.

Any help is greatly appreciated.

Exception Occured :java.lang.NoSuchMethodException:
com.company.model.ExpenseReportDAOImpl.init(org.bonitasoft.engine.session.APISession)
org.bonitasoft.engine.bdm.BusinessObjectDaoCreationException: java.lang.NoSuchMethodException: com.company.model.ExpenseReportDAOImpl.init(org.bonitasoft.engine.session.APISession)
at org.bonitasoft.engine.bdm.BusinessObjectDAOFactory.createDAO(BusinessObjectDAOFactory.java:64)
at com.Opsbench.net.util.BPMClient.getTaskInfo(BPMClient.java:402)
at com.Opsbench.net.Services.BonitaBPMServices.getTaskInfo(BonitaBPMServices.java:140)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

Comments

Submitted by antoine.mottier on Fri, 03/18/2016 - 10:52

Can you share your process and steps to reproduce the issue? I'm surprised that the class is founded but not the constructor.

Also if you can share the client-bdm.zip file located in bonita_home/engine-server/work/tenants/1/data-management-clientfolder that can be helpful.

Thanks.

Submitted by kohirrajesh on Tue, 03/22/2016 - 05:19

Hi Sir,
Thanks for your reply to help me.Right now I am middle of some other work.I will share information requested by you as soon as possible.

Thanks
Rajesh Kohir

Submitted by kohirrajesh on Tue, 03/22/2016 - 06:21

Hi Sir,
Can you tell me how to share process and Code you mentioned.
I Created the BPM process explained in youtube with 7.2.0 version.
Go to youtube.com and search Bonita BPM tutorial.It is a Expense Report tutorial.

Thanks
Rajesh Kohir

Submitted by antoine.mottier on Tue, 03/22/2016 - 09:43

You need to click on the "Export" button in Bonita BPM Studio to create a bos file with your workspace content.

Submitted by david.combe on Wed, 04/26/2017 - 17:54

Did you solve your problem ? I have the same.

Submitted by antoine.mottier on Wed, 04/26/2017 - 17:55

Can you share your process so I can try to reproduce the issue?

Thanks

No answers yet.
Notifications