No readable comment only on one incident

archie5
Tera Expert

Hi, has anyone seen this issue before?
The comments field is missing, and I am receiving the following messages only on one incident:
Error: java.lang.NullPointerException: Cannot invoke "String.startsWith(String)" because "this.fNewDisplayValue" is null
Error: Script source code logged to console
Error: Failing widget: 'Standard Ticket Conversations' (a54beb3a87f10010e0ef0cf888cb0bba) called from: 'Standard Ticket Tab' (d1cfa4ea131d0810da297ad66144b091) 

archie5_0-1754610523703.png


The comment field is missing on esc for only one incident. Rest of the incidents are displaying activities.
Also in classic view, on this particular incident I am unable to check all in filter activity, when I check all, it still gets unchecked after saving. Form layout has work notes, comments and activities as selected fields in Notes section.

archie5_1-1754610554906.png

 

4 REPLIES 4

kaushal_snow
Mega Sage

Hi @archie5 ,

 

When the widget or its dependencies aren't properly included in the page, the system may not find the expected fields or parameters, leading to errors when rendering or handling activities for that incident. It's most likely due to missing or misconfigured widget components on your Service Portal page, which leads to the NullPointerException when it attempts to access a null parameter (fNewDisplayValue).

 

Go through this community link once: https://www.servicenow.com/community/itsm-forum/failing-widget-standard-ticket-conversations/m-p/693...

 

Try this once and let me know. If you find this helpful, please accept this as a solution and hit the helpful button..

 

 

Thanks and Regards,
Kaushal Kumar Jha - ServiceNow Consultant - Lets connect on Linkedin: https://www.linkedin.com/in/kaushalkrjha/

But its happening only on one incident and these are the console logs.

archie5_1-1754667820606.png

 

 

Ankur Bawiskar
Tera Patron
Tera Patron

@archie5 

did you debug that standard ticket widget?

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

Chaitanya ILCR
Mega Patron

Hi @archie5 ,

check my responses in the below thread 

looks like that's the issue 

https://www.servicenow.com/community/developer-forum/journal-activity-are-not-visible-incidents/m-p/...

 

Please mark my answer as helpful/correct if it resolves your query.

Regards,
Chaitanya