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

Announcements
Talend Cloud AWS EU Scheduled Outage: Starting Tues 26 May 21:00 CEST with expected completion Wed 27 May 01:00 CEST
cancel
Showing results for 
Search instead for 
Did you mean: 
AFM_DEV_GDE
Contributor
Contributor

tExtractJSONFields_2 - Malicious payload, having non natural depths on Studio 8.0.1 R2023-09

Hello,

I'm facing an issue with tExtractJSONFields component.

With large JSON flow I get the error : net.minidev.json.parser.ParseException: Malicious payload, having non natural depths

This error it's pretty new, fews weeks maximum.

I found solutions to consist to update

json-smart library to 2.4.11 version but I already have this version as you can see on attached pic.

I don't know what to do.

Could you help me on this please ?

Thanks

Labels (3)
4 Replies
Anonymous
Not applicable

Hello,

We are supposing that you have checked this KB article about:

https://community.talend.com/s/article/Jobs-using-tExtractJSONFields-fail-in-7-3-1-R2023-06-or-8-0-1...

 Is it working well for you to customize the maven URI to use the version 2.4.11 instead of 2.4.9 as described in the article and restart your studio to apply it?

https://help.talend.com/r/en-US/8.0/studio-user-guide/customizing-maven-uri-for-external-module-depl...

Best regards

Sabrina

 

AFM_DEV_GDE
Contributor
Contributor
Author

Hello,

 

Yes I have checked this topic. As I said, I've already 2.4.11 version.

 

I've investigated with my coworkers and they don't have this issue. We have all the same repository, all the same library version, but I'm the only one who encounter this error.

I've tried to delete my workspace and create a new one, no changes.

New patch R2023-10 was installed few days ago, no changes.

 

I don't know what to try to change this situation.

Anonymous
Not applicable

Hello,

Is there any specific setting from your side? What java version are you using?

Could you please check classpath lib directory if have the old version?

Is it possible to use tlibraryLoad component to force to load 2.4.11 in your job?

Best regards

Sabrina

AFM_DEV_GDE
Contributor
Contributor
Author

Hello,

 

I've tried to force the 2.4.11 library loading with tLibraryLoad but still doesn't work.

 

But when I did that, I saw other library with same name (json-smart 2.4.11b, 2.4.11bis, 2.4.11ter).

So I tried with json-smart 2.4.11ter library and issue is gone.

 

0695b00000sNNUBAA4.png 

Therefore, in Modules section, I linked module json-smart-2.4.11.jar with Maven URI : mvn:net.minidev/json-smart/2.4.11ter/jar

 

Thanks for your help