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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Execution failed : Failed to generate code.

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

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

Hi Sabrina,
Further to your posting that your team will make a test, I've updated my post with artefacts as follows that you may wish to use in testing.
To recap: Issue occurs for tSalesforceInput" component linked to a "tMap" as a lookup.
Symptom: a job that was working before restarting Talend, fails when Talend is restarted.
Reproduced the issue  in 6.1 and 6.2.
I've attached failure jobs and success jobs that you can compare or import to reproduce the failure in Talend 6.1 and 6.2.
Kind Regards
Alex Bramford
Product_Update_XLS_SFDC_6_1_Working_Before_Restart.zip.zipProduct_Update_XLS_SFDC_6_1_Broken_After_Restart.zip.zipProduct_Update_XLS_SFDC_6_2_Working_Before_Restart.zip.zipProduct_Update_XLS_SFDC_6_2_Broken_After_Restart.zip.zip
Product_Update_XLS_SFDC_6_1_Broken_After_Restart.zip_20160530-1215.zip Product_Update_XLS_SFDC_6_1_Working_Before_Restart.zip_20160530-1215.zip Product_Update_XLS_SFDC_6_2_Broken_After_Restart.zip_20160530-1215.zip Product_Update_XLS_SFDC_6_2_Working_Before_Restart.zip_20160530-1215.zip
Anonymous
Not applicable
Author

Hi,
Here is a jira issue: https://jira.talendforge.org/browse/TDI-36372
Could you please take a look at it?
Best regards
Sabrina
Anonymous
Not applicable
Author

Morning Sabrina,
The Jira issue looks correct. I'm watching the issue and and will update it if relevant.
Thanks for the help.
Best Regards,
Victor
Anonymous
Not applicable
Author

Thanks for raising the Jira ticket, Sabrina.
I'm watching the ticket and I look forward to further updates.
Alex
Anonymous
Not applicable
Author

Hi,
Feel free to let us know if there is any further help we can give.
Best regards
Sabrina
Anonymous
Not applicable
Author

G'Day Sabrina,
I see from the JIRA ticket 
https://jira.talendforge.org/browse/TDI-36372
that this has been fixed and is ready for QA.
Has there been further progress, and will there be a release containing the fix any time soon?
Regards
Alex Bramford
Anonymous
Not applicable
Author

Hi alexbramford,
We will track this jira issue and keep you posted.
Best regards
Sabrina
Anonymous
Not applicable
Author

Any updates on when this will be released as a fix? 
I am now trying to downgrade but cannot import my existing project into an older version of talend. Is there a 6.2.1 beta available?
Anonymous
Not applicable
Author

Hi,
This issue has been fixed on version 6.2.1
The release of version 6.2.1 will be available in the end of July. We will keep you posted on it.
Best regards
Sabrina
Anonymous
Not applicable
Author

Can you confirm that this bug was actually fixed in 6.2.1? I just upgraded to 6.2.1 from 6.1.0 and I am getting a very similar error when I try to open any job containing a tSalesforceOutput. Jobs without these components open fine.