Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Job execution fails in Talend Integration Cloud

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?

Labels (3)
3 Replies
Anonymous
Not applicable
Author

Hi
The error indicates a jar file is missing, the job script is not export completely during the job publish to Talend Cloud. Which version of studio are you using? Do you use custom routine in the job? Can you share me a simple demo job. I can test it on my side.

Regards
Shong
Anonymous
Not applicable
Author

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?

viswa1
Contributor
Contributor

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)