Error Previewing File when importing delimited file metadata

Five Stars

Error Previewing File when importing delimited file metadata

When attempting to preview data while importing the meta data for a delimited file I get the following error.

 

My studio is version 7.2.1

JRE is 1.8.0_171

 

null
Preview error. Some settings must be changed.
Note: Preview errors are generally due to a wrong encoding setting.
org.talend.designer.runprocess.java.JavaProcessor.isGuessSchemaJob(JavaProcessor.java:277)
org.talend.designer.runprocess.java.JavaProcessor.getCommandLine(JavaProcessor.java:1185)
org.talend.designer.core.runprocess.Processor.getCommandLine(Processor.java:289)
org.talend.designer.runprocess.java.AbstractJavaProcessor.execFrom(AbstractJavaProcessor.java:248)
org.talend.designer.core.runprocess.Processor.exec(Processor.java:350)
org.talend.designer.core.runprocess.Processor.run(Processor.java:201)
org.talend.designer.runprocess.java.AbstractJavaProcessor.run(AbstractJavaProcessor.java:242)
org.talend.designer.core.runprocess.Processor.run(Processor.java:139)
org.talend.designer.runprocess.shadow.ShadowProcess.runWithErrorOutputAsException(ShadowProcess.java:373)
org.talend.designer.runprocess.shadow.ShadowFilePreview.preview(ShadowFilePreview.java:86)
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:1300)
org.talend.commons.ui.swt.thread.SWTUIThreadProcessor$1.run(SWTUIThreadProcessor.java:74)


Accepted Solutions
Community Manager

Re: Error Previewing File when importing delimited file metadata

Have you tested other files? Always has the error or the problem only occurs for this file? I have seen the same issue reported before, it is caused by the studio installation. Can you show the installation path of studio?

Regards
Shong

----------------------------------------------------------
Talend | Data Agility for Modern Business

View solution in original post

Five Stars

Re: Error Previewing File when importing delimited file metadata

Ah... yep looks like my studio install got corrupted at some point.

 

Would be nice if there was a way to fix that without reinstalling.

View solution in original post


All Replies
Community Manager

Re: Error Previewing File when importing delimited file metadata

Have you tested other files? Always has the error or the problem only occurs for this file? I have seen the same issue reported before, it is caused by the studio installation. Can you show the installation path of studio?

Regards
Shong

----------------------------------------------------------
Talend | Data Agility for Modern Business

View solution in original post

Five Stars

Re: Error Previewing File when importing delimited file metadata

I have studio installed in C:\Talend\TalendStudio\

 

And yes it seems to do it with any file I try to preview.

Five Stars

Re: Error Previewing File when importing delimited file metadata

Ah... yep looks like my studio install got corrupted at some point.

 

Would be nice if there was a way to fix that without reinstalling.

View solution in original post

Community Manager

Re: Error Previewing File when importing delimited file metadata

If the installing got corrupted, It is recommended to reinstall studio to make sure the studio works smoothly.
----------------------------------------------------------
Talend | Data Agility for Modern Business

2019 GARTNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

Best Practices for Using Context Variables with Talend – Part 2

Part 2 of a series on Context Variables

Blog

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Best Practices for Using Context Variables with Talend – Part 3

Read about some useful Context Variable ideas

Blog