lisa-invoke url returns error after Registry restart

Document ID : KB000008387
Last Modified Date : 14/02/2018
Show Technical Document Details
Issue:

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)

Environment:
DevTest on any OS
Cause:

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

Resolution:

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

Additional Information:

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