Failed to generate error in Talend Open Studio

Here is on of the solution on failed to generate error. Just after having the error: – Open the log file …./[Talend INSTALL Folder]/workspace/.metadata/.log in notepad. – Go to the end of the file. – You will have a stack trace like that: !STACK 0 org.eclipse.emf.codegen.jet.JETException: InvocationTargetException at org.eclipse.emf.codegen.jet.JETEmitter.generate( at org.eclipse.equinox.launcher.Main.invokeFramework( […] at org.eclipse.equinox.launcher.Main.basicRun( at […]