Hi,
I am using spring boot with activiti. I have created a simple workflow which is having a single service task ans assigned a java class to this service class. I have one JpaRepository which I am autowiring it in this delegate class. When I start the process, then I am getting NullPointerException on this repository. I think, its not able to get initialized in JavaDelegate class. But I did the same thing in my other service classes and controller classes too and its getting initialized properly. So, is there any way to solve this issue?
It's working. Thanks for the help.
Hey, I have created a service wrapper around the repository class and autowired the wrapper class in delegate class.
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.