CAST HIGHLIGHT - Results Upload - CLI - UTF-8 "\xE7" does not map to Unicode at perl/FileList.pm line xx

Upload failed with the error ERROR console: (5) Command Line result upload error. 
However, the logs are full of the below warnings:

  1. UTF-8 "\xE7" does not map to Unicode at perl/FileList.pm line XX
  2. [Lib::GeneratedCodeException] not analyzed because it contains generated code

Details

From the sample logs it can be seen that the files did not get uploaded as there were no results.

INFO  perl: out: --> UTF8_flag_ON  (41 70)

INFO  highlight: Deleting empty scan file Ksh-202224_1005.csv

ERROR highlight: No header can be extracted to patch framework files

INFO  highlight: Ksh-progession is not sent

The the issue is due to encoding of the code being analyzed. Every file in the analysis should have an encoding readable by Highlight.  Please check and modify the file encoding for the analysis to proceed. UTF-8 should generally work.  

 

NB :  any_to_utf8.py is a tool that is used in CAST AIP  to mass convert files to UTF-8 format. Please refer doc Tools - any_to_utf8 to download the python script any_to_utf8.py

 

Ticket

36849

 

.

Related Articles

CAST HIGHLIGHT - CLI - Error Codes

CAST HIGHLIGHT - CLI - ERROR: Failed to fetch company with id when using  --basicAuth

CAST HIGHLIGHT - CLI - Scan fails for an application with an error Failed to fetch company with id XXXSTDERR

CAST HIGHLIGHT - CLI - Scan is failing with error code 5

CAST HIGHLIGHT - CLI - ERROR Failed to upload submission for application result id='XXXXXX' with company [name='XXX',id='XXXX'] and application [name='XXX',id=XXXXX] message: 400 highlight.server.client.campaignApplication.update.NoAnalysis

Highlight Automated Code Scan (Command Line)

 

Additional Resources

CAST Highlight Troubleshooting Guides

CAST Highlight Product Documentation

Have more questions? Submit a request

Comments

Powered by Zendesk