AWS Blu Age Level 3 Self-Paced Troubleshooting Workshop - Codebase transformation - Transform Error

0

Hi, currently doing the AWS Blu Age Level 3 Self-Paced Troubleshooting Workshop and I'm following the steps (currently at this step https://catalog.us-east-1.prod.workshops.aws/workshops/bf71c0bc-6d8a-4d04-9c10-ab479f7f0e37/en-US/transformation/configuration/refactor/apply ) and I am running into a weird problem with the transform step.

I made sure to run the Transform run with the parameters the guide says (required dependencies / Transform + Refactor actions / Version 3.2.0)

The COCRDLIC file I'm supposed to transform and then refactor is unable to be processed and has an Error in the Transform step. The parser is unable to process some of the text in comments.

Output when I run the Transform + Refactor steps Issue details

I then tried to remove the "copy of" that was causing a problem just for different problems to appear Issue 1 when removing copy of Issue 2 when removing copy of

Unsure how to fix this issue,

EDIT: The problem seems to be more global since I tried to continue on the workshop and the same issue happens for more files in this step https://catalog.us-east-1.prod.workshops.aws/workshops/bf71c0bc-6d8a-4d04-9c10-ab479f7f0e37/en-US/transformation/troubleshooting/intermediate

Issue when doing Intermediate Issues

Thank You

1 Answer
3
Accepted Answer

This seems to be a file encoding issue.

To workaround the issue, please add a new Metadata section in Transform step with following details

  • Type: File
  • Name: **/*
  • Properties: select encoding property
  • Order: move it to last
  • Update property value to UTF-8
  • Pay attention to the - here, if you set the property value to UTF8 it will not works

New metadata section

Update property value

Updated transform configuration

AWS
ArnO
answered a month ago
  • Thank you very much, this solved my problem