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: 
shrikavi2008
Contributor
Contributor

java.lang.NoClassDefFoundError: Integer

Hi,
I'm using TOS 6.1.1 and getting below error while running my simple which has only one component tMsgBox.
And using JDK 7 and Windows 7.  My Executable files/setup is in C:\Talend\TOS_DI-20151214_1327-V6.1.1

Starting job test at 10:47 22/01/2016.
java.lang.NoClassDefFoundError: Integer
 at java.lang.Class.getDeclaredMethods0(Native Method)
 at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
 at java.lang.Class.getMethod0(Unknown Source)
 at java.lang.Class.getMethod(Unknown Source)
 at sun.launcher.LauncherHelper.getMainMethod(Unknown Source)
 at sun.launcher.LauncherHelper.checkAndLoadMain(Unknown Source)
Caused by: java.lang.ClassNotFoundException: Integer
 at java.net.URLClassLoader$1.run(Unknown Source)
 at java.net.URLClassLoader$1.run(Unknown Source)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(Unknown Source)
 at java.lang.ClassLoader.loadClass(Unknown Source)
 at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
 at java.lang.ClassLoader.loadClass(Unknown Source)
 ... 6 more
Exception in thread "main"
Job test ended at 10:47 22/01/2016.




































































































Regards,
R.Bharath
Labels (3)
22 Replies
Anonymous
Not applicable

use Java 8 instead.
Anonymous
Not applicable

I am also having this same issue. My code is simply attempting to rename a file on an FTP server.
The issue remains after reinstalling Talend
I am using: 
Windows 10 Pro
JDK 8_73
C:\Talend\TOS_DI-20151214_1327-V6.1.1
java.lang.NoClassDefFoundError: Integer
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
at java.lang.Class.privateGetMethodRecursive(Unknown Source)
at java.lang.Class.getMethod0(Unknown Source)
at java.lang.Class.getMethod(Unknown Source)
at sun.launcher.LauncherHelper.validateMainClass(Unknown Source)
at sun.launcher.LauncherHelper.checkAndLoadMain(Unknown Source)
Caused by: java.lang.ClassNotFoundException: Integer
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 7 more
Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" 
Job FTPFileRename ended at 07:38 13/02/2016.
Anonymous
Not applicable

I am having the same issue after upgrading to TOS_DI-20151029_1337-V6.1.0 and java 8 update 73 64 bit.
java.lang.NoClassDefFoundError: Integer
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
at java.lang.Class.getMethod0(Unknown Source)
at java.lang.Class.getMethod(Unknown Source)
at sun.launcher.LauncherHelper.getMainMethod(Unknown Source)
at sun.launcher.LauncherHelper.checkAndLoadMain(Unknown Source)
Caused by: java.lang.ClassNotFoundException: Integer
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 6 more
Exception in thread "main" 
Anonymous
Not applicable

Hi,
Are you using oracle java 8? Does this issue repro on all your jobs or a specific job?
Best regards
Sabrina
Anonymous
Not applicable

Hi,
I an on Windows 7, TOS_DI_6.1.1_20151214_1327 installed on "C:\" directory, Java 8.
I am the same problem.
I try to add File delimited metadata and at the overview I have the error :

java.lang.NoClassDefFoundError: Integer
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
at java.lang.Class.privateGetMethodRecursive(Unknown Source)
at java.lang.Class.getMethod0(Unknown Source)
at java.lang.Class.getMethod(Unknown Source)
at sun.launcher.LauncherHelper.validateMainClass(Unknown Source)
at sun.launcher.LauncherHelper.checkAndLoadMain(Unknown Source)
Caused by: java.lang.ClassNotFoundException: Integer
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 7 more
Error: A JNI error has occurred, please check your installation and try again
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)
Best regards
Massimo
Anonymous
Not applicable

When I try on Windows 10, same Talend version TOS_DI_6.1.1_20151214_1327 installed on "C:\" directory and Java 8 (build 1.8.0_66-b18), that's all good.
:-(
There is a metter to test good configuration of Talend on the machine?
Thanks for all help
Massimo
Anonymous
Not applicable

Hi,
I solved the proble by upgrade
Java 1.8.0 up 45
to
1.8.0 up 77
Regards
Massimo
Anonymous
Not applicable

Hi,
I have just installed TOS_DI-20151214_1327-V6.1.1 on windows 10 64 bit along with JRE jre1.8.0_77
When I created a simple job which picks data from a table and writes into excel sheet, it is failing with below error
Starting job Test at 12:36 08/04/2016.
java.lang.NoClassDefFoundError: Integer
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
at java.lang.Class.privateGetMethodRecursive(Unknown Source)
at java.lang.Class.getMethod0(Unknown Source)
at java.lang.Class.getMethod(Unknown Source)
at sun.launcher.LauncherHelper.validateMainClass(Unknown Source)
at sun.launcher.LauncherHelper.checkAndLoadMain(Unknown Source)
Caused by: java.lang.ClassNotFoundException: Integer
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 7 more
Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" 
Job Test ended at 12:36 08/04/2016.
Can someone pls help me in getting this resolved
Anonymous
Not applicable

I had the same problem and I found that the Preferences were set up for the wrong JDK  a java 7 JDK in my case).  It can be fixed by going to Window > Preferences > Installed JREs, selecting Edit and browsing for the appropriate JRE (jdk1.8.0_40 in my case.