search cancel

FDM shows java.io.FileNotFoundException: ...\mode.txt error when starting with java from a CMD window.

book

Article ID: 202380

calendar_today

Updated On:

Products

CA Test Data Manager (Data Finder / Grid Tools)

Issue/Introduction

When starting FastDataMasker (FDM) in a CMD window with: 
java -jar GTMAPPER.EXE

The following output is shown:
java.io.FileNotFoundException: C:\Users\...\Appdata\Roaming\Grid-Tools\Fastdatamasker\mode.txt (The system cannot find the file specified)

Environment

Component : CA Test Data Manager

Resolution

The java.io.FileNotFoundException error is cosmetic and does not have an impact on FDM.
The error can be resolved by following these steps:
After starting FDM in the Configuration menu item at the top, select 'Old Style Mapper'.
Then the Masking tab disappears.
Then select Configuration -> Old Style Mapper again so it is unticked.
The Masking tab appears again.

The side effect of this is that it will have created the missing mode.txt file.
So now when starting FDM from the command line, the error no longer appears.