Problem on Create DelimitedFile

One Star

Problem on Create DelimitedFile

Hi,
I tried to create a FileDelimited in a job with version 4.0.0 of talend but I had this error:
Échec de la génération du code.
Erreur de prévisualisation. Des paramètres doivent être modifiés.
Note : les erreurs de prévisualisation sont généralement dues à un mauvais paramètre d'encodage.
org.talend.designer.runprocess.shadow.ShadowFilePreview.preview(Unknown Source)
org.talend.repository.ui.utils.ShadowProcessHelper.getCsvArray(Unknown Source)
org.talend.repository.ui.wizards.metadata.connection.files.delimited.DelimitedFileStep2Form$PreviewProcessor.nonUIProcessInThread(Unknown Source)
org.talend.commons.ui.swt.thread.SWTUIThreadProcessor$1.run(Unknown Source)
Please help!!
Moderator

Re: Problem on Create DelimitedFile

Hi,
Talend 4.0 is very old version. This issue is probably caused by your curent JDK. What's your JDK version?
Could you please take a try on latest released version(studio 6.0, JDK 1.8 needed)?
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
One Star

Re: Problem on Create DelimitedFile

hi ,i have a problem to import file excel on talend  
Erreur : impossible de trouver ou charger la classe principale hopital.shadowfileinputtodelimitedoutput_0_1.ShadowFileInputToDelimitedOutput
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.excel.ExcelFileStep2Form$PreviewProcessor.nonUIProcessInThread(ExcelFileStep2Form.java:1042)
org.talend.commons.ui.swt.thread.SWTUIThreadProcessor$1.run(SWTUIThreadProcessor.java:74)

plllz help :mad: !!!!
Moderator

Re: Problem on Create DelimitedFile

Hi amalti,
Could you please also indicate the build version you are using? What's your JDK? Have you ever execute your job successfully in your new studio?
What does your file delimited metadata setting screenshot look like?
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Four Stars

Re: Problem on Create DelimitedFile

Hi,
I tried to create a FileDelimited in a job with version 6.2.2 or 7.0.0 of talend but I had this error:

My JDK version 1.8

 

"null
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.DefaultRunProcessService.createJavaProcessor(DefaultRunProcessService.java:287)
org.talend.designer.runprocess.DefaultRunProcessService.createCodeProcessor(DefaultRunProcessService.java:192)
org.talend.designer.runprocess.RunProcessService.createCodeProcessor(RunProcessService.java:75)
org.talend.designer.runprocess.ProcessorUtilities.getProcessor(ProcessorUtilities.java:300)
org.talend.designer.runprocess.shadow.ShadowProcess.runWithErrorOutputAsException(ShadowProcess.java:361)
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.excel.ExcelFileStep2Form$PreviewProcessor.nonUIProcessInThread(ExcelFileStep2Form.java:1042)
org.talend.commons.ui.swt.thread.SWTUIThreadProcessor$1.run(SWTUIThreadProcessor.java:74)

"

Moderator

Re: Problem on Create DelimitedFile

Hello,

Could you please check your settings in step2 and try UTF-8 to see if it works?

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Four Stars

Re: Problem on Create DelimitedFile

No, it doesn't work.Man Sad

And the problem is even when creating a connection to databases (attachment).File_error1.PNGFile_error2_step3-4.PNG

 

Moderator

Re: Problem on Create DelimitedFile

Hello,

It looks like this issue isn't from your input file. Have you tried a clean file without format? Could you please check your JAVA_HOME and Talend (window>preferences) to make sure that it is pointed to a JDK and not to an installed JRE?

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Four Stars

Re: Problem on Create DelimitedFile

below my JAVA_HOME :

java_home_capture.PNG

and there in the preferences talend where points my jdk (java) :

talend_java_preference_capture.PNG

Four Stars

Re: Problem on Create DelimitedFile

and this is what I have in Preference / java / Installed JREs :

talend_java_preference_capture.PNG

the problem affects Talend ESB, when I run my Talend Runtime I get the following error "The specified path' is not found" but that's another concern there.

to fix the problem on Talend DI.

 

Moderator

Re: Problem on Create DelimitedFile

Hello,

Talend 7.1.1M is a milestone version for testing. Could you please let us know if this issue repro on released version 7.0.1?

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Four Stars

Re: Problem on Create DelimitedFile

Hello,
even with the version below 7 I have this problem. I tried with version 6.5.1, same problem.
I hope so.

Four Stars

Re: Problem on Create DelimitedFile

Problem solved with version 7.0.0

Moderator

Re: Problem on Create DelimitedFile

Hello,

Great it is Ok with version 7.0. Is there no space and illegal character in your installation path for v 7.0.1 and 6.5?

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.