
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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 😎
- « Previous Replies
- Next Replies »
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
with a test csv file i can reproduce your error if i set a completely wrong file encoding :

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you Jeremy! 🙂
My file is encoded in UTF-8.
Upon 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 !! ..

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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"

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
could you send your example file?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
try to restart talend

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I even restarted my entire machine, without success

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
what is your jDK version ?
Could you please ensure JDK bin is included in your PATH environment variable and is being reached?

- « Previous Replies
- Next Replies »