While performing Highlight Code Scan with the CLI tool, the below error message is seen in the
Highlight Automation.log file:
2022-12-06 04:27:08,982 INFO perl: out: WARNING : file abc.cs seems to be not existing in default encoding
2022-12-06 04:27:08,982 INFO perl: out: --> UTF8_flag_ON (77 65 62 64 65 61 6c 65 72 73 2f 41 70 6c 69 63 61 5c 78 45 37 5c 78 45 33 6f 2f 57 65 62 44 65 61 6c 65 72 73 2f 57 44 42 75 73 69 6e 65 73 73 5c 41 72 71 75 69 76 6f 4d 6f 64 65 6c 2e 63 73)
2022-12-06 04:27:08,982 INFO perl: out: Analyzer: CS -> AnaCS
2022-12-06 04:27:08,982 INFO perl: out: ERROR : fileabc.cs does not exists
2022-12-06 04:27:08,982 INFO perl: out: Abort : NotFound: Fichier inexistant
2022-12-06 04:27:08,982 INFO perl: out: ERROR: Analysis has ended with the code 0x240
Workaround or Action plan
The error:
ERROR : fileabc.cs does not exists
UTF8_flag_ON (77 65 62 64 65 61 6c 65 72 73 2f 41 70 6c 69 63 61 5c 78 45 37 5c 78 45 33 6f 2f 57 65 62 44 65 61 6c 65 72 73 2f 57 44 42 75 73 69 6e 65 73 73 5c 41 72 71 75 69 76 6f 4d 6f 64 65 6c 2e 63 73)
occurs because of the UTF encoding,
The pre-requisite is to have the source file in UTF8 encoding, So use the source accordingly.
Additional Resources
CAST Highlight Troubleshooting Guides
CAST Highlight Product Documentation
Zendesk
39216
Comments