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!
All supported DevTest releases and platforms.
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.
For more information refer to DevTest Solutions documentation for the release you are on:
See section LISA Invoke API