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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Talend fails Initializing and generating code

Hello,
I work on TOS 4.2.1/ TOS 5.2.1 and I had this problem since a couple of days without touching at any settings. the program shows this message everytime"  Erreurs de génération.
Erreurs lors de lexécution du générateur {0} sur le projet {1}'.
java.lang.NullPointerException". I work on JDK 8 update 91 on windows XP OS.
Here is my log file
!SESSION 2016-06-01 09:24:37.468 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.7.0_17
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=fr_FR
Command-line arguments:  -os win32 -ws win32 -arch x86
!ENTRY org.eclipse.jdt.core 4 4 2016-06-01 09:26:00.656
!MESSAGE Error creating Groovy language support
!STACK 0
java.lang.ClassNotFoundException: org.codehaus.jdt.groovy.integration.internal.GroovyLanguageSupport at org.eclipse.osgi.internal.loader.BundleLoad

To see the whole post, download it here
Labels (6)
6 Replies
Anonymous
Not applicable
Author

I'm surprised it's ever worked as you should not be using Java 8 with releases of Talend prior to 6.
https://help.talend.com/search/all?query=Java+8+Support&content-lang=en
Anonymous
Not applicable
Author

I still don't want to switch the the 6th version. However, how can I downgrade my java version please?
Anonymous
Not applicable
Author

Install JDK 7.
If you're on Windows, modify the .BAT to something like: -
C:\Talend\TOS_DI-20141207_1530-V5.6.1\TOS_DI-win-x86_64.exe -vm "C:\Program Files\Java\jre7\bin"
or something similar for Unix/Linux.
Anonymous
Not applicable
Author

Hello,
I've downgraded my JDK version. however, I don't understand what I really have to modify and especially WHY? 
Thank you,
Malek
Anonymous
Not applicable
Author

If you've got multiple Java versions, you need tell Talend which to use, if it is not to use the default. It sounds like you now have both 7 & 8 installed.
As you're on windows, it is a .BAT file that you're using to start Talend, TOS_DI-win-x86_64.bat, for example. . You can modify this file, to specify the Java version.
Anonymous
Not applicable
Author

I've already delete the 8th version
Thank you anyway  0683p000009MACn.png