• Index
  •  » Talend Open Studio for Data Integration » Installation
  •  » Pb when running first job

#1 2009-08-11 15:26:40

melmass
New member
Registered: 2009-08-11
Posts: 7

Pb when running first job

Tags: [code, generation, java]

Hi all !

I've just installed TOS :
- Version: 3.1.3 -
Build id: r26090-20090629-1316.

When I create and launch a job I get the following output:

-----------------------------------------------------------------------------------------
Démarrage du jobList_Table_Column a 15:15 11/08/2009.

java.lang.NoClassDefFoundError: trainning/list_table_column_0_1/List_Table_Column
Exception in thread "main"
Job List_Table_Column terminé à 15:15 11/08/2009. [Code sortie=1]
-----------------------------------------------------------------------------------------

I try to understand what happen and get that the class corresponding to my job is empty.

I found the following error in file .../workspace/.metadata/.log

!STACK 1
Java Model Exception: Java Model Status [Le chemin daccès à la génération contient une entre en double : '{0}' pour le projet '{1}']
    at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:766)
    at org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(JavaProject.java:2815)
    at org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(JavaProject.java:2846)
    at org.talend.designer.runprocess.java.JavaProcessor.updateClasspath(Unknown Source)
    at org.talend.designer.runprocess.java.JavaProcessor.computeLibrariesPath(Unknown Source)
    at org.talend.designer.runprocess.ProcessorUtilities.generateCode(Unknown Source)
    at org.talend.designer.runprocess.ProcessorUtilities.generateCode(Unknown Source)
    at org.talend.designer.runprocess.RunProcessContext$1$1$1.run(Unknown Source)
    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:133)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3800)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3425)
    at org.eclipse.ui.internal.dialogs.EventLoopProgressMonitor.runEventLoop(EventLoopProgressMonitor.java:123)
    at org.eclipse.ui.internal.dialogs.EventLoopProgressMonitor.isCanceled(EventLoopProgressMonitor.java:97)
    at org.talend.designer.runprocess.RunProcessContext$1.run(Unknown Source)
    at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:446)
    at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:354)
    at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:507)
    at org.eclipse.ui.internal.progress.ProgressMonitorJobsDialog.run(ProgressMonitorJobsDialog.java:275)
    at org.eclipse.ui.internal.progress.ProgressManager.run(ProgressManager.java:1191)
    at org.talend.designer.runprocess.RunProcessContext.exec(Unknown Source)
        ...

Is there someting to do before running a job ?


Thanks in advance.

Offline

#2 2009-08-11 16:05:11

shong
Talend team
Registered: 2007-08-29
Posts: 10305
Website

Re: Pb when running first job

Hello
Which JDK version do you install? Which OS? Can you translate the French to English?

Best regards

          shong


Email:shong@talend.com
Choose Talend, Enjoy Talend!
New & Event: Talend Help Center
Talend-->the leader of open source data management and application integration solutions!

Offline

#3 2009-08-11 16:24:15

melmass
New member
Registered: 2009-08-11
Posts: 7

Re: Pb when running first job

Hello,

JDK = jdk1.5.0_14 - OS = Windows XP
Translation:
Generation path access contains a double entry :  '{0}' for project  '{1}' 

it's seems that replacement of i18n keys has failed, isn't it ?

Thanks

Offline

#4 2009-08-12 16:40:12

melmass
New member
Registered: 2009-08-11
Posts: 7

Re: Pb when running first job

Hello Shong !

I have found what was wrong by installing the previous release of TOS (3.0.2) !
After the installation of the previous release I had the same pb as mentionned above but the stacktrace is more specific and in english ;-)

STACK 1
Java Model Exception: Java Model Status [Build path contains duplicate entry: 'C:jdk1.5.0_14/jre/lib/ENDORSED/xalan.jar' for project '.Java']
    at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:766)
    at org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(JavaProject.java:2815)
    ...

I have added the directory ENDORSED with xml libraries for an other project.
So when I remove the directory the java code is generated and the job inside TOS can be launched whatever the release is.
And there is no stacktrace in the .log file.

I decided to put back the directory 'ENDORSED' and found that the generation inside TOS works fine now but not the compilation (and the execution of the job)  !!!
I still get the stack trace :

!STACK 1
Java Model Exception: Java Model Status [Le chemin daccès à la génération contient une entre en double : '{0}' pour le projet '{1}']
    at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:766)
    ...
    at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
!SUBENTRY 1 org.eclipse.jdt.core 4 977 2009-08-12 16:16:38.797
!MESSAGE Le chemin daccès à la génération contient une entre en double : '{0}' pour le projet '{1}'


It looks like something needs to be loaded the first time but cannot be due to the above error ...
Any idea of the problem ?


PS:
In release 3.1.3, I think there is a bug because the replacement of awaited values of some i18n label are not done.
Examples in french:
    - Le chemin daccès à la génération contient une entre en double : '{0}' pour le projet '{1}'
    - Indiquez votre email ci-dessous si vous souhaitez recevoir toute lactualité de {0}.
in english
    - Build path contains duplicate entry: '{0}' for project '{1}'
    - Complete your email below if you want to receive all the news of {0}.
   
   
Bests regards.

     Mohamed

Last edited by melmass (2009-08-12 18:06:50)

Offline

  • Index
  •  » Talend Open Studio for Data Integration » Installation
  •  » Pb when running first job

Board footer

Powered by FluxBB