Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Alematt
Contributor
Contributor

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 😎

Labels (3)
33 Replies
Alematt
Contributor
Contributor
Author

I don't have JDK, but just java version

 

java -version

java version "1.8.0_131"

Java(TM) SE Runtime Environment (build 1.8.0_131-b11)

Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)

gjeremy1617088143

you can see it on where you have installed java.

it can be for example : C:\Program Files (x86)\Java\jdk1.7.0_45\bin

 

You could modify TOS_DI-win32-x86.ini (for window OS as example )to force Talend to plug with Java 1.8 and add these lines :

-vm C:\Program Files\Java\jdk1.8.0_xxx\bin

-vmargs

-Dosgi.requiredJavaVersion=1.8

 

Alematt
Contributor
Contributor
Author

I don't have JDK, only JRE version

 

0695b00000H98STAAZ.png 

And my TALEND configuration for JAVA

 

0695b00000H98TCAAZ.png 

And i tried to add these lines, but i always have the same error! 😞

 

-vm C:\Program Files\Java\jre1.8.0_131\bin

-vmargs

-Dosgi.requiredJavaVersion=1.8

Anonymous
Not applicable

Hello,

Ensure proper version of JDK is installed. For v6 of Talend products JDKv1.8 is required instead of JRE.

Here is online documentation about: TalendHelpCenter: Configuring a JDK path to build Jobs

Let us know if it works for you.

Best regards

Sabrina

Alematt
Contributor
Contributor
Author

Hello Sabrina,

 

I took your advice in addition to Jeremy's.

 

0695b00000H9HuqAAF.png0695b00000H9HvFAAV.png 

0695b00000H9HvjAAF.pngBut nothing helps, I still have the worries.

I usually back up my TALEND environment every two months. I came back to an old environment, and I still have the problem, I do not understand where it can come from ...

Anonymous
Not applicable

Hello,

Are you using Oracle JDK or openJDK?

Talend didn't add support for OpenJDK until V7.1.1 version. Have you tried to restart your machine to see if your V 7.0.1 studio works?

Best regards

Sabrina

gjeremy1617088143

The bit of the operating system needs to be the same as the JAVA version.

 

eg: windows 10 (64) + Java 8 (64)

gjeremy1617088143

If everythig worked the last day and now everything crash, you can suspect a windows update is causing your issue

 

Alematt
Contributor
Contributor
Author

I downloaded and installed this one:

 

jdk-8u301-windows-x64.exe

 

 

Alematt
Contributor
Contributor
Author

I suspect that too, but it's a professionnal PC and i can't do anything...