When attempting to run a job the following error occurs:
Execution failed : Failed to generate code.
Log file indicates an issue with the tMap_1 component.
Log file ..\.metadata\.log shows the following:
!ENTRY org.talend.platform.logging 4 0 2016-05-26 02:47:32.037
!MESSAGE 2016-05-26 02:47:32,036 ERROR org.talend.designer.codegen.CodeGenerator - InvocationTargetException
!STACK 0
org.eclipse.emf.codegen.jet.JETException: InvocationTargetException
at org.eclipse.emf.codegen.jet.JETEmitter.generate(JETEmitter.java:469)
at org.talend.designer.codegen.config.TalendJetEmitter.generate(TalendJetEmitter.java:684)
at org.eclipse.emf.codegen.jet.JETEmitter.generate(JETEmitter.java:441)
at org.eclipse.emf.codegen.jet.JETEmitter.generate(JETEmitter.java:432)
at org.talend.designer.codegen.proxy.JetProxy.generate(JetProxy.java:54) at org.talend.designer.codegen.CodeGenerator.generateC
Hi Alex Bramford,
Does this issue repro on all your jobs or a specific job? What's your OS and JDK version? Could you please indicate the build version you are using?
Best regards
Sabrina
This issue happens when I try to edit & run a job that I had copied from another job. I was attempting to reuse the logic of another job I'd written Talend 6.2 JDK 1.8 Windows 7
This issue happens when I try to edit & run a job that I had copied from another job.
Have you ever successfully executed a job on Talend 6.2? Do you try to re-create a new job (the same logic of another job you'd written) to see if it works? Best regards Sabrina
Yes, I have successfully executed jobs in Talend 6.2.
If I manually reconstruct the same job it seems to work.
Problem seems to happen if I copy then edit a job.
Regards
Alex Bramford
Hi All, I have the same issue and was able to pinpoint it to the "tSalesforceInput" component when linked to a "tMap" as a lookup. To reproduce: Create a new job like the picture 1
Execute / Save Close the job When you reopen the job you get the message in picture 2
the look up tSalesforceInput as a triange as in picture 3
When you try to run the job you get picture 4
My Setup: TOS-DI 6.2 Java 1.8 Windows 7 Attached is also my .log talend.log.log Thank you for the help. Best Regards, Victor
Issue occurs for tSalesforceInput" component linked to a "tMap" as a lookup.
Symptoms:
1) Upon opening the job, a yellow triangle appears on the tSalesforceInput component with the message:
- 'This component has to much "Row" type outputs.'
2) Whilst a connector is already present (tSalesforceInput --> row6 --> tMap) right clicking on the tSalesforceInput component offers Main and Iterate rows. This appears incorrect: I understand there can be only one Main row connected to tSalesforceInput.
3) The issue reappears each time Talend is restarted. In particular it reappears on a job that I verified as working at close of play.
Restarting and reloading the job yielded:
a)The yellow triangle
b) Execution failed : Failed to generate code.
Attached log file contains entries from start to reload to execution of job.
Execution_failed.log.log
Hi, Would you mind making a testing on Talend 6.1.1 to see if this issue repro? Have you tried to re-install your studio 6.2 to see if it works? Best regards Sabrina
Hi Sabrina, I reinstalled 6.2 and the issue still happens. I have tried it in 6.1.1 and the issue does not occur. Where you able to reproduce it on your side? Best regards, Victor