Javascript Null issue in Change Success Score Metrics widget

G_30
Tera Contributor

Hi,

 

Does anyone encounters the issue with the change success score dashboard under change success score metrics, when there's no assignment group selected under breakdowns tab it shows the error on the picture says "java.lang.NullPointerException: Cannot invoke "String.startsWith(String)" because "field" is null". I'm just not sure where to fix this as the widget contains the indicator "Change success score" which is an automated indicator.

 

G_30_1-1779119094860.png

 

2 REPLIES 2

Tanushree Maiti
Tera Patron

Hi @G_30 

 

Can you try this once.

  1. Navigate to Performance Analytics > Data Collector > Jobs.
  2. Run the Change success score metrics (Historical data) job.
  3. Set Relative Start to 60 or 90 (enough to cover the period that was reset).
  4. Click Execute Now.

Refer: KB2709888 Change Success Score stuck or History Reset to 500 after modifying Formula Indicators 

 

 

Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti

The issue still occurs, it is working when I choose any assignment group but when I clear the assignment group filter the error occurs and show the null NullPointerException java.