Error 'Cannot invoke "java.util.Map.keySet()" because "this.fImportSourceFields" is null' in SN

Nikhil63
Tera Expert

Hi All,

 

i am getting the 'Cannot invoke "java.util.Map.keySet()" because "this.fImportSourceFields" is null' error in the data source.

Could you please help me with this? I am not sure if it is something related to SN or not and what I need to do here.Screenshot 2024-04-30 at 4.11.59 PM.png

31 REPLIES 31

I just used a different mid-server, and it started working. So it's confirmed that the JDBC connection is not an issue. It's a mid-server issue. In my previous midserver, the below issues were there.

 

NayanMahato_0-1736474006725.png

 

Eric33
Kilo Contributor

On my end, after importing my Data source from Dev to Prod. I was receiving the same error....
I had to re-put the password of the account back when in the Prod instance and it worked.

TMX-Aaron
Tera Contributor

We had this issue and it turns out that when we copied the Data Source, it didn't include the Connection URL. It's not on the form, but can be added to the list view and edited from there. Adding the value to our new Data Source resolved this issue for us.

Maks
Tera Guru

We had this issue because our SQL query was exceeding the maximum payload size.

Look into the error logs and you will see what your issue is (go to All > System Logs > System Log > Errors)

 

Payload size of 21045428 bytes exceeded maximum of 20000000 bytes.
Contents of the original payload were moved to D:MIDServer-XXXXXXServiceNow MID Server XXXXXXXagentworkmonitorsECCSenderoutput_oversizeecc_queue.XXXXXXXXX.xml on the MID server.
Maximum payload size can be set with mid config parameter: mid.eccq.max_payload_size

 

IndianaJones
Tera Expert

I had this issue when importing my data source from XML. I re-typed the credentials for the data source and then it started working again.