Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I am getting this error when I run my job in the Talend cloud but not when I run it in Studio. I also have another job that references that class in its code and it runs fine in the cloud. It looks like that class is used by the tExtractJSONFields component when Xpath is used in the 'Read by' field.
My studio version is:
Talend Cloud Real-Time Big Data Platform
Version: 7.2.1
Build id: 20190620_1446
OS: Windows 10, v.10.0, x86_64 / win32
Java version: 1.8.0_221
Any help would be appreciated.
I have other jobs in 7.2.1 that reference the same JsonXMLConfigBuilder class and work fine. I tried rebuilding, redeploying, etc. but no help. This job runs fine in Studio but not in the Talend cloud. I will try to reproduce the error with a simple job if I can.
See attached simple job that reproduces the error. Note that the error seems to occur only when recursion is implemented via a facade into a sub job. Thanks.
@shong here is the export of the job again, this time I included dependencies. Thanks.
Hi @shong were you able to look at the latest job upload? Thanks.
@nfz11, I have imported your job and make some testing on v7.2.1, the job works both in studio and Talend Cloud. It seems the required jar staxon-1.2.jar is missing during you publish the job to Talend Cloud. Please check and make some testing.
1. Go to Windows-->Show views-->Talend and open Modules view.
2. Check if the staxon-1.2.jar is installed or not.
3. Delete the old task on Talend Cloud and re-deploy the job to Talend Cloud.
Regards
Shong
Hi @shong thanks for the suggestion. I looked at the module list like you said and staxon-1.2.jar was already installed. I installed a few other modules that were missing for tExtractJSONFields and deleted the job from the cloud and uploaded it again, but I still got the same error. It is strange because like I said, other jobs that use tExtractJSONFields run in the cloud without a problem. It is only when I introduce recursion that the job fails.