When lisa-invole url is hit to execute a test case/suite, below error is thrown:
<message>An error occured in 'runTest'. Message: currentProjectManager is null! Fix this by calling ProjectManager.setCurrentProjectVersion() first!
Stack: java.lang.NullPointerException: currentProjectManager is null! Fix this by calling ProjectManager.setCurrentProjectVersion() first!
at com.itko.lisa.repo.ProjectManager.getInstance(ProjectManager.java:259)
at com.itko.lisa.model.mar.ModelArchiveInfo.createTestMARInfo(ModelArchiveInfo.java:218)
After investigation, it was found that this error is thrown when the stagingDocument path was not added to the lisa-invoke url. It is indirectly indicated by the nullPointerException
This error can be resolved by providing the stagingDocumentPath to the lisa-invoke url. Details can be found in below documentation link:
https://docops.ca.com/devtest-solutions/10-1/en/using/using-ca-application-test/using-devtest-workstation-with-ca-application-test/running-test-cases-and-suites/lisa-invoke/run-test-cases-with-lisa-invoke
https://docops.ca.com/devtest-solutions/10-1/en/using/using-ca-application-test/using-devtest-workstation-with-ca-application-test/running-test-cases-and-suites/lisa-invoke