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

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)

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.

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

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

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

Did you solve your problem ? I have the same.

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

Thanks