lisa-invoke url returns error after Registry restart

book

Article ID: 8387

calendar_today

Updated On:

Products

CA Application Test Service Virtualization CA Continuous Application Insight (PathFinder) CA Service Virtualization (DevTest / LISA / VSE / Application Test)

Issue/Introduction

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)

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

Environment

DevTest on any OS

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