Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I am trying out the Talend Integration Cloud offering and I am facing an issue when trying to execute the job on the cloud engine.
I get the following java exception:
------------------------------------------------------------------
Task 5d26c7ca9afa0d43bf810d87/1.2 failed unexpectedly.
org.talend.ipaas.rt.flow.controller.impl.FlowExecutionException: Step 4e17cb7a-23dd-4037-9f48-0fbb3eebdead failed with code -1 and error Job stopped with errors or unable to run. ### Job STARTED at 2019/07/10 22:26:02 (jobId=7ca9afa0d43bf810d8712, jobExecutionId=20190710222602_Pjvqx) ###
### Job ENDED WITH ERROR at 2019/07/10 22:26:02 (jobId=7ca9afa0d43bf810d8712, jobExecutionId=20190710222602_Pjvqx) ###
Exception in thread "main" java.lang.NoClassDefFoundError: routines/system/Document
at routines.system.JSONObject.wrap(JSONObject.java:1348)
at routines.system.JSONObject.populateMap(JSONObject.java:822)
at routines.system.JSONObject.<init>(JSONObject.java:248)
at routines.system.ResumeUtil.convertToJsonText(ResumeUtil.java:341)
at talendcloud.deduplicatecustomers_0_1.DeduplicateCustomers.runJobInTOS(DeduplicateCustomers.java:5547)
at talendcloud.deduplicatecustomers_0_1.DeduplicateCustomers.main(DeduplicateCustomers.java:5377)
Caused by: java.lang.ClassNotFoundException: routines.system.Document
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 6 more
at org.talend.ipaas.rt.flow.controller.impl.JobControllerImpl.doRun(JobControllerImpl.java:98) ~[?:?]
at org.talend.ipaas.rt.flow.controller.impl.AbstractControllerImpl.lambda$run$0(AbstractControllerImpl.java:106) ~[?:?]
at java.lang.Thread.run(Thread.java:748) [?:?]
----------------------------------------------------------------------------
Executing the job from the Studio works without a problem. I tried running a different job that resulted in the same error.
Just to try all possibilities I configured a Remote Engine and paired it to the system I was using. Executing the job using this remote engine still failed with the same exact error.
Can anyone help me out? I am not able to even start testing this product. What am I missing here?
Hi,
The Studio version is 7.0.1.
The job is pretty simple. Kind of like a Hello world job for using DataPrep.
Consists of 3 components: tDatasetInput, tDataprepRun and a tDatasetOutput. So read a dataset, clean it using a recipe and output the cleaned dataset.
Googling the error I did see few mentions of what you suggested that there could be a jar missing. But then how come it works when running in the Studio?
Hi,
Am also facing same issue in TAC. Same job works fine when ran from Studio on local machine.
Please let us know if the issue is resolved ?
Exception in thread "main" java.lang.NoClassDefFoundError: routines/system/Document
at routines.system.JSONObject.wrap(JSONObject.java:1348)
at routines.system.JSONObject.populateMap(JSONObject.java:822)
at routines.system.JSONObject.<init>(JSONObject.java:248)
at routines.system.ResumeUtil.convertToJsonText(ResumeUtil.java:341)
at project_investigatordb.j200_110_ctms_investigator_account_standardized_addr_load_stg_0_1.j200_110_ctms_investigator_account_standardized_addr_load_stg.runJobInTOS(j200_110_ctms_investigator_account_standardized_addr_load_stg.java:37991)
at project_investigatordb.j200_110_ctms_investigator_account_standardized_addr_load_stg_0_1.j200_110_ctms_investigator_account_standardized_addr_load_stg.main(j200_110_ctms_investigator_account_standardized_addr_load_stg.java:37394)
Caused by: java.lang.ClassNotFoundException: routines.system.Document
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)