"Unable to create project" error when creating project using MAR file in DevTest 10.6
search cancel

"Unable to create project" error when creating project using MAR file in DevTest 10.6

book

Article ID: 203745

calendar_today

Updated On:

Products

CA Cloud Test Mobile CA Application Test

Issue/Introduction

Getting "Unable to create project" error with below message in logs when creating project using MAR file in DevTest 10.6 Workstation


2020-11-10 08:34:48,449Z (08:34) [AWT-EventQueue-0] ERROR com.itko.lisa.repo.NewProjectPanel - Something went wrong creating a project from a MAR... 
java.lang.RuntimeException: Error renaming project
    at com.itko.lisa.repo.ProjectManager.renameProject(ProjectManager.java:843)
    at com.itko.lisa.repo.NewProjectPanel$4.doCallback(NewProjectPanel.java:359)
    at com.itko.util.swing.panels.ProcessingDialog$2.run(ProcessingDialog.java:195)
    at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NullPointerException
    at com.itko.lisa.repo.ProjectManager.renameProject(ProjectManager.java:834)
    ... 3 more
2020-11-10 08:34:48,451Z (08:34) [AWT-EventQueue-0] ERROR com.itko.util.swing.UserMessage - Unable to create a new project.
Error renaming project

Environment

Release : 10.6

Component : CA Service Virtualization

Cause

This is not a product issue but permission issue on Workstation machines where DevTest is unable to make changes(create project) in the default project location inside installation folder.

Resolution


There are two solutions to this.

1. Start Workstation by right click and select "Run as administrator".

2. When creating the project by selecting MAR file, on the right side of Project Name field, click on the arrow button to select an location where the user has full permissions and create the project.

This issue can be avoided if the DevTest installer is run as administrator during installation itself.