Problem when project name contains Chinese characters
search cancel

Problem when project name contains Chinese characters

book

Article ID: 107059

calendar_today

Updated On:

Products

CA Application Test

Issue/Introduction

If the project name or the directory contains Chinese characters, the project can be opened from DevTest Workstation in Windows OS. However, vsm/vsi files in the Chinese name project cannot be deployed to VSE which is running in the AIX server. The vse.log includes the error message like:
2018-05-31 03:57:29,544Z (23:57) [ServerRequestResponder 1] ERROR com.itko.lisa.coordinator.CoordinatorImpl - Failed to stage MAR
java.nio.file.InvalidPathException: Malformed input or input contains unmappable characters: /lisatmp_10.2.4/lads/BC8AAC93648611E88F450011257E5DB2/[Chinese Project Name]/Data
 at sun.nio.fs.UnixPath.encode(UnixPath.java:162)
 at sun.nio.fs.UnixPath.(UnixPath.java:86)
 at sun.nio.fs.UnixFileSystem.getPath(UnixFileSystem.java:294)
 at java.nio.file.Paths.get(Paths.java:95)
When using the old LISA 7.5.2, this type of problem did not occur.

Environment

Release: DevTest supported environments

DevTest Workstation is in Windows OS

Other DevTest components are in AIX

Cause

This could be JDK problem not the product problem.

Resolution

Adding these two lines
-Dsun.jnu.encoding=UTF-8
-Dfile.encoding=UTF-8

in $LISA_HOME/bin/*.vmoptions files for DevTest components which are needed to run the AIX server solved the problem.

Additional Information

Here is a general information related this problem.
InvalidPathException for chinese filename