Skip to main content
Announcements
Introducing a new Enhanced File Management feature in Qlik Cloud! GET THE DETAILS!
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)
75 Replies
_AnonymousUser
Specialist III
Specialist III

I'm getting the same error everyone else complains about with file imports (Doesn't matter if it's a CSV or XLS or Text).

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:1288)
org.talend.commons.ui.swt.thread.SWTUIThreadProcessor$1.run(SWTUIThreadProcessor.java:74)

Environment:

Windows 8.1
java version "1.7.0_71"
Talend Open Studio for Data Integration (5.6.1.20141207_1530)
Filesize: 4k (about 50 lines of text)
Anonymous
Not applicable
Author

sorry , can u help me ?
when im create some schema using file_delimited , output such as  below
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:1297)
org.talend.commons.ui.swt.thread.SWTUIThreadProcessor$1.run(SWTUIThreadProcessor.java:74)

i am generate flat files from SQL SERVER 2012 , did problem ?
Anonymous
Not applicable
Author

Hi prasetya.luky,

What's your JDK you are using? Did you use metadata  "File delimited " to create some schema? Could you please show us the screenshot of file setting ? What's your encoding and file separator and row separator?

Best regards
Sabrina
Anonymous
Not applicable
Author

Hi all
I have the error when try to create a file delimiter.
I am using JDK 1.8 
I have enclosed the csv file screenshot. 
Thanks in Advance 
Anonymous
Not applicable
Author

Hi egabriel,
Did you create file delimited in metadata?
Could you please show us the screenshot of file setting? What's your encoding and file separator and row separator? More information will be helpful for us to address your issue.
Best regards
Sabrina
Anonymous
Not applicable
Author

Hi,
Can any one help me on the below issue:
when I am trying to create a file delimited below error is coming:
Exception in thread "main" java.lang.Error: Unresolved compilation problems: 
com.talend cannot be resolved to a type
com.talend cannot be resolved to a type
com.talend.csv.CSVWriter cannot be resolved to a type
org.talend cannot be resolved to a type
org.talend cannot be resolved to a type
com.talend cannot be resolved to a type
com.talend cannot be resolved to a type
at bench1.shadowfileinputtodelimitedoutput_0_1.ShadowFileInputToDelimitedOutput.tFileInputDelimitedProcess(ShadowFileInputToDelimitedOutput.java:596)
at bench1.shadowfileinputtodelimitedoutput_0_1.ShadowFileInputToDelimitedOutput.runJobInTOS(ShadowFileInputToDelimitedOutput.java:1013)
at bench1.shadowfileinputtodelimitedoutput_0_1.ShadowFileInputToDelimitedOutput.main(ShadowFileInputToDelimitedOutput.java:894)
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.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)
Kind Regards,
Asha
Anonymous
Not applicable
Author

Hi  Asha,
There is not enough information for us to address your issue.
What's your OS and JDK version? On which build version you got this issue? Have you ever executed a job successfully in your current situation?
More information will be preferred.
Best regards
Sabrina
Anonymous
Not applicable
Author

Hi Sabrina,
My job  executed successfully earlier. Suddenly above mentioned preview error is coming.
I am using jdk 1.7, 
windows 10 operating systems,
Talend open data integration v.6.1.1
Please let me know if you need more information.
Kind regards,
Asha
Anonymous
Not applicable
Author

Hi Asha,
Could you please take a look at document about:TalendHelpCenter:Compatible+Platforms+and+Java+environments? Have you tried to use oracle java 8 to see if it works?
when I am trying to create a file delimited below error is coming:

This issue only repro your current job? Would you mind posting the step 3 of 4 screenshot of file delimited metadata into forum? Are you using UTF-8? Does this issue repro on other delimited file?
Best regards
Sabrina
Anonymous
Not applicable
Author

hello, im having the same error as the pictures shows: 

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

at testinicial.shadowfileinputtodelimitedoutput_0_1.ShadowFileInputToDelimitedOutput.main(ShadowFileInputToDelimitedOutput.java:1031)

these error occur with File Excel and File delimited, i have already tried others files, but they didnt work.

can someone help me?

 

Thanks


java_version.PNG
img2.PNG
img1.PNG