Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Delimited File Preview error to load to table

Hi All,
Earlier i could able to load data from delimited flat file(*.txt, *.csv, *.xls) to table, but suddenly I m facing below error. Even i couldnt able to preview the delimited file. Can anyone help on this?
Output not generated.
Preview error. Some settings must be changed.
Note: Preview errors are generally due to a wrong encoding setting.
org.talend.designer.runprocess.shadow.ShadowFilePreview.preview(ShadowFilePreview.java:90)
org.talend.repository.ui.utils.ShadowProcessHelper.getCsvArray(ShadowProcessHelper.java:383)
org.talend.repository.ui.wizards.metadata.connection.files.delimited.DelimitedFileStep2Form$PreviewProcessor.nonUIProcessInThread(DelimitedFileStep2Form.java:1246)
org.talend.commons.ui.swt.thread.SWTUIThreadProcessor$1.run(SWTUIThreadProcessor.java:74)
Thanks
Kavitha L

Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Hello

,

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

Best regards

Sabrina

View solution in original post

75 Replies
Anonymous
Not applicable
Author

Hi Kavitha
Please remove the existing file component in the job, drop another file component from palette and configure it ,hope this will resolve your issue.
thanks
Anil Kumar Burri
Anonymous
Not applicable
Author

Hi Anil,
I tried by removing the file component and placed another file component from palette, but even then i m facing the same error.
Also, when i create file delimited in Metadata, i m able to see the preview in the File viewer(File - step 2 of 4) but when in the File - step 3 of 4 , the output is not genenrated and throwing Preview error.
Thanks
Kavitha
Anonymous
Not applicable
Author

Hi,
Which version are you using? Could you please change another delimited File to see if this issue repro again?Or change another studio?
Best regards
Sabrina
Anonymous
Not applicable
Author

Hi,
I m using "Talend Open Studio for Data Integration" Version: 5.3.0. Changed another delimited file also. Still issue exists.. Do i need to delete any file in workspace\.metadata\.plugins\ org.eclipse.core.resources folder to get resolved?
Thanks, Kavitha
Anonymous
Not applicable
Author

Hi Kavitha,
I have taken a testing on talend open studio for Data Integration. Everything is Ok.(see my pics). My suggestion is that:
You can take a testing on talend open studio 5.2.2 to see if this issue repro?
If not, you need reinstall your Talend Open Studio for Data Integration 5.3.0.
Best regards
Sabrina
0683p000009MAIH.jpg 0683p000009M9lO.jpg 0683p000009MAIM.jpg
_AnonymousUser
Creator III
Creator III

Failed to generate code.
Preview error. Some settings must be changed.
Note: Preview errors are generally due to a wrong encoding setting.
org.talend.designer.runprocess.shadow.ShadowFilePreview.preview(ShadowFilePreview.java:90)
org.talend.repository.ui.utils.ShadowProcessHelper.getCsvArray(ShadowProcessHelper.java:383)
org.talend.repository.ui.wizards.metadata.connection.files.delimited.DelimitedFileStep2Form$PreviewProcessor.nonUIProcessInThread(DelimitedFileStep2Form.java:1312)
org.talend.commons.ui.swt.thread.SWTUIThreadProcessor$1.run(SWTUIThreadProcessor.java:74)


What is this error
Anonymous
Not applicable
Author

Hi bpr,
Could you tell us product build version are you using? What's your job design? Did you get this issue when creating file delimited metadata? More information will be preferred.
Best regards
Sabrina
_AnonymousUser
Creator III
Creator III

i m using taland-5.5.0. and i m trying to import excelsheet data into mysql. my excelsheetfile is 8.0mb size.
when i m try to create excel sheet or file delimited it shows this error.
So How to solve this error.
Anonymous
Not applicable
Author

Hi bpr,
What's your OS and JDK?
Best regards
Sabrina