Skip to main content
Announcements
A fresh, new look for the Data Integration & Quality forums and navigation! Read more about what's changed.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Code generation failed [org.eclipse.emf.codegen.jet.JETException]

Hi all,
I was using Talend Open Studio V5.6.2 for a while now and it worked just fine. But now that Salesforce doesn't support TLS 1.0 connection, I need to upgrade Talend to a newer version. I downloaded the latest one (6.2.0), and imported my job.
Salesforce connection works now, but I have another problem. After few execution, I got some java errors (null pointer exception) and then there is no code generation. The "code" tab is empty, and my components are well displayed in the "designer" tab.
When I want to execute my job, I have this error in the console : Exécution en erreur :Échec de la génération du code.

When I try to build the job I have the following : org.talend.commons.exception.PersistenceException: java.lang.NullPointerException
I'm working with JRE 1.8.0_66.
I don't know what to do to solve this problem ! Maybe someone can help me?
Regards
Labels (4)
8 Replies
Anonymous
Not applicable
Author

Hi,
Does this issue only repro on this imported job or all jobs on Talend 6.2? Would you mind posting your current job design screenshots in forum?
Best regards
Sabrina
Anonymous
Not applicable
Author

Hi Sabrina,
Here is the screenshot of the job I'm working on, plus the full error message I have in console, plus the empty code tab.
As I'm not working on another job on this new version I have this issue on this one only at the moment.
Thank you for your answer.
Regards
Anonymous
Not applicable
Author

img
Anonymous
Not applicable
Author

Well that's not working well 0683p000009MACn.png
Anonymous
Not applicable
Author

Hi,
Screenshots works only if you drag&drop the image directly in the editor window. 
0683p000009MAxZ.png
Best regards
Sabrina
Anonymous
Not applicable
Author

My bad, don't work with Firefox, with Chrome it's ok ... Sorry for the spam
0683p000009MAxa.png
0683p000009MAYM.png
Anonymous
Not applicable
Author

Hi,
Could you please create a new job on your V 6.2, such as, tfixedflow-->tlogrow to see if this job can be successfully executed in studio?
We suspect that there is something wrong with your installation of V 6.2.
Is there any more error message which is  in <Talend Studio installation path>/workspace/.metadata/.log?
Best regards
Sabrina
 
Anonymous
Not applicable
Author

Here is the full trace I have for today in .log (it's a bit long ...)
By creating a new simple job, I have no error ...
!SESSION 2016-07-18 09:15:05.111 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.8.0_66
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=fr_FR
Command-line arguments: -os win32 -ws win32 -arch x86_64
!ENTRY org.eclipse.jdt.launching.macosx 4 0 2016-07-18 09:15:09.659
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: org.eclipse.jdt.launching.macosx
Unresolved requirement: Require-Capability: eclipse.platform; filter:="(osgi.os=macosx)"
at org.eclipse.osgi.container.Module.start(Module.java:434)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1582)
at org.eclipse.osgi.container.ModuleContainer$Cont


To see the whole post, download it here
OriginalPost.pdf