Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello Everyone,
I am working through the Qlik Learn for Talend. I am on the very first lesson / lab and I am just not being able to make progress. I am getting an error concerning Escape Sequences. I am not sure how to fix this. I have tried EVERYTHING I can think of. Please help!
I have the full error below. I have the screenshot of my settings below that. Thank you for the advice -
Preview Error!
Null value will be used for context parameter Number: For input string: ""
Exception in thread "main" java.lang.Error: Unresolved compilation problem:
Invalid escape sequence (valid ones are \b \t \n \f \r \" \' \\ )
at dibasics.preview_data.Preview_Data.tFileInputDelimited_1Process(Preview_Data.java:1772)
at dibasics.preview_data.Preview_Data.runJobInTOS(Preview_Data.java:3243)
at dibasics.preview_data.Preview_Data.main(Preview_Data.java:2913)
Null value will be used for context parameter Number: For input string: ""
Exception in thread "main" java.lang.Error: Unresolved compilation problem:
Invalid escape sequence (valid ones are \b \t \n \f \r \" \' \\ )
at dibasics.preview_data.Preview_Data.tFileInputFullRow_1Process(Preview_Data.java:1071)
at dibasics.preview_data.Preview_Data.runJobInTOS(Preview_Data.java:2190)
at dibasics.preview_data.Preview_Data.main(Preview_Data.java:1860)
If you write the path "C:\StudentFiles\DIBasics\Files\Customers.csv"
Talend/Java may interpret those "\S", "\D", "\F", and "\C" as invalid Java escape sequences.
That's why you get the message saying that the valid ones are "\b", "\t", "\n", "\f", "\r", "\"", "\'", and "\\".
Try rewriting the file path as:
"C:\\StudentFiles\\DIBasics\\Files\\Customers.csv"
Or, even better, use forward slashes:
"C:/StudentFiles/DIBasics/Files/Customers.csv"
Regards,
Fabio