De-serialization issue while connecting to a database | Community
Skip to main content
Level 2
Jun 4, 2020 12:13 PM UTC

De-serialization issue while connecting to a database

Hi,

 

I have created a sample table in mysql and tried to create a form data model based on a schema-> table.

While trying to do testing for read and insert I get the following error.

 

While reading : Deserialization not allowed for class [Ljava.lang.String; (on Thu Jun 04 16:49:46 IST 2020)

 

While inserting :  {
"errorMessage": "java.lang.UnsupportedOperationException: Deserialization not allowed for class [Ljava.lang.String; (on Thu Jun 04 16:50:05 IST 2020)"
}

 

Please help.

 

Thanks,

Bibhu.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

12 replies

Level 2
Jun 19, 2020 6:38 AM UTC

@rakhi_sukhadeve PFB the screenshot.

Translate
Employee
Jun 19, 2020 7:25 PM UTC

@bibhunayakPlease add the one highlighted in my screenshot.

Translate
Level 2
Jun 8, 2020 6:30 AM UTC

Please find the screenshots below.

 

Translate
Level 8
Jun 8, 2020 6:03 AM UTC

Send the screen shot of your table and form data model

Translate
Level 2
Jun 8, 2020 5:51 AM UTC

Hi Girish,

 

It's already there in whitelist.

 

 

Translate
Level 8
Jun 7, 2020 2:39 PM UTC
  • Whitelist sun.util.calendar package.
    • Open feilix web console in your browser window
    • Search and open Deserialization Firewall Configuration In the whitelist field add sun.util.calendar package and save
Translate
Level 2
Jun 5, 2020 7:27 AM UTC

I have already added the below URLs.

com.mysql.jdbc.Driver

jdbc:mysql://localhost:3306/mysql

 

Can you please let me know what else need to be added?

Translate
Employee
Jun 5, 2020 7:13 AM UTC

@bibhunayak 

Please locate “DeserializationFirewallImpl” configuration under configMgr( http://<hostname>:<portno>/system/console/configMgr)  and add [ like below.

I hope this will help.

Translate
Level 2
Jun 5, 2020 7:28 AM UTC
I have already added the below URLs. com.mysql.jdbc.Driver jdbc:mysql://localhost:3306/mysql Can you please let me know what else need to be added?
Translate