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
_AnonymousUser
Specialist III
Specialist III

I have made a design flow. But When I save and run the job, I am getting below error.
Execution failed : Failed to generate code.

Job SCD ended at 01:38 23/09/2016. ......
When I checked the log file, I am getting below component issue, as per above discussion.( TMysqlSCD)
at org.talend.designer.codegen.translators.databases.mysql.TMysqlSCDBeginJava.genDimensionAttributeClass(TMysqlSCDBeginJava.java:984)

at org.talend.designer.codegen.translators.databases.mysql.TMysqlSCDBeginJava.generate(TMysqlSCDBeginJava.java:2997)
Temporary Solution: When I deactivate this component( TMysqlSCD), code generates in code tab.
But if I use this component, again getting same issue.

But need permanent solution to fix this bug...Any help please...0683p000009MACn.png
Anonymous
Not applicable
Author

Hi Abhirup,
Could you please indicate on which build version you got this issue?
Best regards
Sabrina
_AnonymousUser
Specialist III
Specialist III

Hi Abhirup,
Could you please indicate on which build version you got this issue?
Best regards
Sabrina

Hi xdshi,
I have installed Talend 6.2.1.
Your help is needed.. Thank You!  0683p000009MACn.png
Anonymous
Not applicable
Author

Even I am facing similar issue and my Talend version is 6.1.1 

Is this just a talend known issue or can we some how fix it. Please suggest.


@xdshi wrote:
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

Thanks in advance !

 

 

Anonymous
Not applicable
Author

Hello,

According to this jira issue:https://jira.talendforge.org/browse/TUP-5465, it has been fixed on v 6.2.1.

Best regards

Sabrina