Not Getting code for talend job

Eight Stars

Not Getting code for talend job

Hi Team,

 

My requirement is to import the jobs from 6.1.1 version to 7.0.1 version. 

I have imported the code successfully, but for few jobs the code was not generating can anyone help me on this. It's an emergency for me.

Thanks in advance.

 

 

Thanks,

Bharath.

Moderator

Re: Not Getting code for talend job

Hello,

Could you please open the error log generated automatically by the Studio to see whether you have error stack trace there; if you do, we will appreciate it a lot if you can paste it here.

In your Studio, click Window to open the menu, then select Show View->General->Error Log. Once you see an error, double click it.

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Eight Stars

Re: Not Getting code for talend job

Hi,

 

I'd suggest working from the bottom up, disable all components but the top few, then checking the code tab. If the code generates, try activating a few more components. Repeat this process until it no longer generates, your problem component(s) are located somewhere in the section you just activated.

 

Remember to be careful if you use tHash components when disabling/re-enabling.

 

Thanks

 

David

Regards

David

Don't forget to give Kudos when an answer is helpful or the solution.
Eight Stars

Re: Not Getting code for talend job

Hi @xdshi,

 

Below is the error when i was trying to run/build the job.

java.lang.NullPointerException
at org.talend.core.model.relationship.RelationshipItemBuilder.getItemsJobRelatedTo(RelationshipItemBuilder.java:474)
at org.talend.core.model.relationship.RelationshipItemBuilder.getItemsChildRelatedTo(RelationshipItemBuilder.java:509)
at org.talend.designer.runprocess.ProcessorUtilities.getItemsRelation(ProcessorUtilities.java:635)
at org.talend.designer.runprocess.ProcessorUtilities.checkLoopDependencies(ProcessorUtilities.java:605)
at org.talend.designer.runprocess.ProcessorUtilities.checkLoopDependencies(ProcessorUtilities.java:608)
at org.talend.designer.runprocess.ProcessorUtilities.checkLoopDependencies(ProcessorUtilities.java:608)
at org.talend.designer.runprocess.ProcessorUtilities.checkLoopDependencies(ProcessorUtilities.java:608)
at org.talend.designer.runprocess.ProcessorUtilities.checkLoopDependencies(ProcessorUtilities.java:608)
at org.talend.designer.runprocess.ProcessorUtilities.checkLoopDependencies(ProcessorUtilities.java:595)
at org.talend.designer.runprocess.ProcessorUtilities.generateCode(ProcessorUtilities.java:500)
at org.talend.designer.runprocess.ProcessorUtilities.generateCode(ProcessorUtilities.java:1736)
at org.talend.designer.runprocess.RunProcessContext$1.run(RunProcessContext.java:582)
at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:466)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:374)
at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:527)
at org.eclipse.ui.internal.progress.ProgressMonitorJobsDialog.run(ProgressMonitorJobsDialog.java:284)
at org.eclipse.ui.internal.progress.ProgressManager.run(ProgressManager.java:1190)
at org.talend.designer.runprocess.RunProcessContext.exec(RunProcessContext.java:534)
at org.talend.designer.runprocess.remote.RunRemoteProcessContext.exec(RunRemoteProcessContext.java:84)
at org.talend.designer.runprocess.ui.ProcessComposite.exec(ProcessComposite.java:1401)
at org.talend.designer.runprocess.ui.views.ProcessView$RunAction.run(ProcessView.java:701)
at org.talend.designer.runprocess.ui.actions.RunProcessAction.run(RunProcessAction.java:58)
at org.talend.designer.core.debug.JobLaunchConfigurationDelegate$1.run(JobLaunchConfigurationDelegate.java:84)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4147)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3764)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
at org.talend.rcp.intro.Application.start(Application.java:265)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
at org.eclipse.equinox.launcher.Main.run(Main.java:1465)

 

Thanks,

Bharath.

Five Stars

Re: Not Getting code for talend job

I was getting the same stack trace. I had a whole load of subjobs deactivated in a parent job. I deleted them - still worked. Emptied trash can - stopped working. I guess that's the RelationshipItemBuilder.getItemsChildRelatedTo() bit - it was looking for the child jobs to do the compile, even though it wasn't going to use them.

May be something different for you.