Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi Guys,
I'm struggling for a couple of hours now and have no clue what's happening here...
I have a dozen of jobs which use a custom routine, all jobs run fine...
Now i want to create a parent "RUN_ALL_JOBS" job, but as soon as I drag/drop one into this new parent job and hit the run button, talend somehow cannot resolve my routine anymore... I've checked the dependencies, threw my custom routine in and out, but I still have no luck....
What's the problem here?? I'm right before smashing my keyboard into my monitor...........
Hello,
Could you please show us the full error log?
Are you missing any dependency? Could you run anything simple job on this build ? V 8.x?
Best regards
Sabrina
Hi Sabrina,
Version: 8
Build id: 20240820_0946-patch
this is my simple subjob (don't mind the exclamation, its just a schema issue) Job runs fine
this is the almost empty Parent job containing only one subjob, the settings on the component are complete default
this is the Error Message with only one subjob
this is the code dependencies setup of the parent job, doesn't work, no matter if linked ort not
All "Sub"Jobs, when running alone, are working and can access my routines...
What could be the problem here??
Full Error Log here:
org.talend.designer.runprocess.ProcessorException: java.lang.Exception: [ERROR] COMPILATION ERROR :
[ERROR] D:\Talend-Workspace\talend_bis_gdb-1273721356\BIS_GDB\poms\jobs\process\FROM_ABAS\abas_customers_0.1\src\main\java\bis_gdb\abas_customers_0_1\ABAS_CUSTOMERS.java:[8]
[ERROR] D:\Talend-Workspace\talend_bis_gdb-1273721356\BIS_GDB\poms\jobs\process\FROM_ABAS\abas_customers_0.1\src\main\java\bis_gdb\abas_customers_0_1\ABAS_CUSTOMERS.java:[5789]
[ERROR] D:\Talend-Workspace\talend_bis_gdb-1273721356\BIS_GDB\poms\jobs\process\FROM_ABAS\abas_customers_0.1\src\main\java\bis_gdb\abas_customers_0_1\ABAS_CUSTOMERS.java:[5792]
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.11.0:compile (default-compile) on project ABAS_CUSTOMERS: Compilation failure: Compilation failure:
[ERROR] D:\Talend-Workspace\talend_bis_gdb-1273721356\BIS_GDB\poms\jobs\process\FROM_ABAS\abas_customers_0.1\src\main\java\bis_gdb\abas_customers_0_1\ABAS_CUSTOMERS.java:[8]
[ERROR] import routines.Helpers;
[ERROR] ^^^^^^^^^^^^^^^^
[ERROR] The import routines.Helpers cannot be resolved
[ERROR] D:\Talend-Workspace\talend_bis_gdb-1273721356\BIS_GDB\poms\jobs\process\FROM_ABAS\abas_customers_0.1\src\main\java\bis_gdb\abas_customers_0_1\ABAS_CUSTOMERS.java:[5789]
[ERROR] Var.Strasse = Helpers.GetStreet( treeNodeAPI_tXMLMap_1_TXMLMAP_OUT.get_String("row1.string:/root/abascontent/data/erpDataObjects/head/fields/str/value")); ;
[ERROR] ^^^^^^^
[ERROR] Helpers cannot be resolved
[ERROR] D:\Talend-Workspace\talend_bis_gdb-1273721356\BIS_GDB\poms\jobs\process\FROM_ABAS\abas_customers_0.1\src\main\java\bis_gdb\abas_customers_0_1\ABAS_CUSTOMERS.java:[5792]
[ERROR] Var.Hausnummer = Helpers.GetHouseNumber(treeNodeAPI_tXMLMap_1_TXMLMAP_OUT.get_String("row1.string:/root/abascontent/data/erpDataObjects/head/fields/str/value")); ;
[ERROR] ^^^^^^^
[ERROR] Helpers cannot be resolved
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
at org.talend.designer.runprocess.ProcessorUtilities.generateBuildInfo(ProcessorUtilities.java:876)
at org.talend.designer.runprocess.ProcessorUtilities.generateCode(ProcessorUtilities.java:744)
at org.talend.designer.runprocess.ProcessorUtilities.generateCode(ProcessorUtilities.java:2134)
at org.talend.designer.runprocess.RunProcessContext$2.run(RunProcessContext.java:679)
at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:436)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:352)
at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:470)
at org.eclipse.ui.internal.progress.ProgressMonitorJobsDialog.run(ProgressMonitorJobsDialog.java:230)
at org.eclipse.ui.internal.progress.ProgressManager.run(ProgressManager.java:999)
at org.talend.designer.runprocess.RunProcessContext.exec(RunProcessContext.java:626)
at org.talend.designer.runprocess.remote.RunRemoteProcessContext.exec(RunRemoteProcessContext.java:89)
at org.talend.designer.runprocess.ui.ProcessComposite.exec(ProcessComposite.java:1471)
at org.talend.designer.runprocess.ui.views.ProcessView$RunAction.run(ProcessView.java:747)
at org.talend.designer.runprocess.ui.actions.RunProcessAction.run(RunProcessAction.java:63)
at org.talend.designer.core.debug.JobLaunchConfigurationDelegate$1$1.run(JobLaunchConfigurationDelegate.java:98)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:40)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:132)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4046)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3662)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1155)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:342)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1046)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155)
at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:648)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:342)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:555)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:173)
at org.talend.rcp.intro.Application.start(Application.java:318)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:208)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:136)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:402)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:651)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:588)
at org.eclipse.equinox.launcher.Main.run(Main.java:1459)
Caused by: java.lang.Exception: [ERROR] COMPILATION ERROR :
[ERROR] D:\Talend-Workspace\talend_bis_gdb-1273721356\BIS_GDB\poms\jobs\process\FROM_ABAS\abas_customers_0.1\src\main\java\bis_gdb\abas_customers_0_1\ABAS_CUSTOMERS.java:[8]
[ERROR] D:\Talend-Workspace\talend_bis_gdb-1273721356\BIS_GDB\poms\jobs\process\FROM_ABAS\abas_customers_0.1\src\main\java\bis_gdb\abas_customers_0_1\ABAS_CUSTOMERS.java:[5789]
[ERROR] D:\Talend-Workspace\talend_bis_gdb-1273721356\BIS_GDB\poms\jobs\process\FROM_ABAS\abas_customers_0.1\src\main\java\bis_gdb\abas_customers_0_1\ABAS_CUSTOMERS.java:[5792]
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.11.0:compile (default-compile) on project ABAS_CUSTOMERS: Compilation failure: Compilation failure:
[ERROR] D:\Talend-Workspace\talend_bis_gdb-1273721356\BIS_GDB\poms\jobs\process\FROM_ABAS\abas_customers_0.1\src\main\java\bis_gdb\abas_customers_0_1\ABAS_CUSTOMERS.java:[8]
[ERROR] import routines.Helpers;
[ERROR] ^^^^^^^^^^^^^^^^
[ERROR] The import routines.Helpers cannot be resolved
[ERROR] D:\Talend-Workspace\talend_bis_gdb-1273721356\BIS_GDB\poms\jobs\process\FROM_ABAS\abas_customers_0.1\src\main\java\bis_gdb\abas_customers_0_1\ABAS_CUSTOMERS.java:[5789]
[ERROR] Var.Strasse = Helpers.GetStreet( treeNodeAPI_tXMLMap_1_TXMLMAP_OUT.get_String("row1.string:/root/abascontent/data/erpDataObjects/head/fields/str/value")); ;
[ERROR] ^^^^^^^
[ERROR] Helpers cannot be resolved
[ERROR] D:\Talend-Workspace\talend_bis_gdb-1273721356\BIS_GDB\poms\jobs\process\FROM_ABAS\abas_customers_0.1\src\main\java\bis_gdb\abas_customers_0_1\ABAS_CUSTOMERS.java:[5792]
[ERROR] Var.Hausnummer = Helpers.GetHouseNumber(treeNodeAPI_tXMLMap_1_TXMLMAP_OUT.get_String("row1.string:/root/abascontent/data/erpDataObjects/head/fields/str/value")); ;
[ERROR] ^^^^^^^
[ERROR] Helpers cannot be resolved
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
at org.talend.designer.maven.launch.MavenCommandLauncher.execute(MavenCommandLauncher.java:403)
at org.talend.designer.maven.launch.MavenPomCommandLauncher.execute(MavenPomCommandLauncher.java:57)
at org.talend.designer.maven.tools.BuildCacheManager.build(BuildCacheManager.java:231)
at org.talend.designer.runprocess.maven.MavenJavaProcessor.build(MavenJavaProcessor.java:517)
at org.talend.designer.runprocess.ProcessorUtilities.generateBuildInfo(ProcessorUtilities.java:873)
... 39 more