AnsweredAssumed Answered

Something went wrong creating a project from a MAR

Question asked by Benoit_B on Mar 13, 2018
Latest reply on Mar 14, 2018 by Benoit_B

Hello All,


Using DevTest 10.1.

I'm trying to create a project from a .mar file.

Initially, it's a project created on my computer, deployed on a vse. 

Because I need to check the content of the .mar file, I've downloaded it from the portal. And now I want to create a new project using the .mar content. 

In workstation, I used the "new button", specified my workstation workspace/location (where the initial project is present), checked the "base the new project on one of the following" and selected the .mar file. An error occurs when creating the new project : "Unable to create a new project. Error renaming project".




From stacktrace : 

2018-03-13 09:12:29,771Z (10:12) [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(
at com.itko.lisa.repo.NewProjectPanel$4.doCallback(
at com.itko.util.swing.panels.ProcessingDialog$
Caused by: java.nio.file.AccessDeniedException: C:\Workspaces\LISA_10\API Formation - bdd -> C:\Workspaces\LISA_10\api_formation_assertion.formation
at sun.nio.fs.WindowsException.translateToIOException(
at sun.nio.fs.WindowsException.rethrowAsIOException(
at sun.nio.fs.WindowsFileCopy.move(
at sun.nio.fs.WindowsFileSystemProvider.move(
at java.nio.file.Files.move(
at com.itko.lisa.repo.ProjectManager.renameProject(
... 3 more
2018-03-13 09:12:29,771Z (10:12) [AWT-EventQueue-0] ERROR com.itko.util.swing.UserMessage - Unable to create a new project.
Error renaming project


Because I was trying to create a new project (with new name/folder), I don't understand the previous error. Is this the expected behaviour ?


When using another workspace/location (an empty one) for creating the new project, there is no error.