Skip to main content
Announcements
A fresh, new look for the Data Integration & Quality forums and navigation! Read more about what's changed.
cancel
Showing results for 
Search instead for 
Did you mean: 
Alematt
Contributor

Exception in thread "main" java.lang.Error: Unresolved compilation problem: shadowfileinputtodelimitedoutput_0_1

Hello,

I have been working on the same environment for several months with TALEND (TOS-DI-7.0.1) and it works fine. But since yesterday, when I want to create a delimited file (.csv), in step 3 of the wizard, the output window shows me:

Exception in thread "main" java.lang.Error: Unresolved compilation problem: 

at project.shadowfileinputtodelimitedoutput_0_1.ShadowFileInputToDelimitedOutput.main(ShadowFileInputToDelimitedOutput.java:2258)

Erreur de prévisualisation. Des paramètres doivent être modifiés`

Note : Les erreurs de prévisualisation sont généralement liées à un mauvais paramétrage de l'encodage.

org.talend.designer.runprocess.shadow.ShadowFilePreview.preview(ShadowFilePreview.java:90)

org.talend.metadata.managment.ui.utils.ShadowProcessHelper.getCsvArray(ShadowProcessHelper.java:383)

org.talend.repository.ui.wizards.metadata.connection.files.delimited.DelimitedFileStep2Form$PreviewProcessor.nonUIProcessInThread(DelimitedFileStep2Form.java:1309)

org.talend.commons.ui.swt.thread.SWTUIThreadProcessor$1.run(SWTUIThreadProcessor.java:74)

What is surprising is that other already created delimited files show the same errors. However, I haven't changed anything in my JAVA configuration (java 😎

Labels (3)
1 Solution

Accepted Solutions
gjeremy1617088143

I work on a talend DI studio, I have 1.8 instead of 1.5 on my configuration,

so try 1.8 in the compiler compliance level

View solution in original post

33 Replies
gjeremy1617088143

Hi, @not specified not specified​ ,

it seem you have charset encoding issue : could you check in notepad++ for example in wich encoding is the original file ?

and in STEP 3 change to the appropriate charset encoding

Send me love and kudos

gjeremy1617088143

with a test csv file i can reproduce your error if i set a completely wrong file encoding :

0695b00000H96JLAAZ.jpg

Alematt
Contributor
Author

Thank you Jeremy! 🙂

 

My file is encoded in UTF-8.

 

0695b00000H96O0AAJ.png 

0695b00000H96MFAAZ.pngUpon reading the error message, I had already tried this approach, without success.

Also, my already created delimited files are in UTF-8, and it worked. Now when the wizard reopens on these same files, I have the error !! ..

 

gjeremy1617088143

you select ignore header, but you have only header

also you choose window cr Lf for row separator

so in talend you have to chose custom :"\r\n"

gjeremy1617088143

could you send your example file?

Alematt
Contributor
Author

Yes indeed, I had not yet taken the time to modify this option, but that does not change anything.

I don't believe this is from the files, since it was working fine yesterday.

But I don't see what could have changed!

 

0695b00000H96MBAAZ.png

gjeremy1617088143

try to restart talend

Alematt
Contributor
Author

I even restarted my entire machine, without success

gjeremy1617088143

what is your jDK version ?

Could you please ensure JDK bin is included in your PATH environment variable and is being reached?