An error message appears when I log in to ECPro.

masahironaka
Tera Contributor

Could you tell me what is causing this error?

Error Message:

1.java.lang.NullPointerException: Cannot invoke "java.util.Map.containsKey(Object)" because "sourceFields" is null
2.Script source code logged to console
3.Failing widget: 'Recent & Popular Items' (4fc1dd5387500300e0ef0cf888cb0baa)

masahironaka_1-1778654291818.png

 

 

6 REPLIES 6

pururavasin
Tera Contributor

Hello,

Can you elaborate about which page you are trying to open?

 

E.g. Incident, or ESC Portal Home page or Any Dashboard?

 

Thank you.

Hi,This occurs on a customized page within the ESC Portal.

Ankur Bawiskar
Tera Patron

@masahironaka 

the error clearly says which widget is failing

Did you debug this?

Is this in PDI or customer instance?

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

The error message points to a specific widget. Are all three errors caused by this same widget? Do you know how to fix these errors? Please note that this is a client environment.