14 views

Symptoms


Opening a page that contains the Typeahead Search widget on the Service Portal shows 3 error messages.

"java.lang.NullPointerException"

"Script source code logged to console"

"Failing widget: 'Typeahead Search' (fa20ec02cb31020000f8d856634c9ce9)"

 

Release


All Supported

Environment


Service Portal

Cause


The instance of the Typeahead widget on the page has Additional Options set for contextual_search_source for a search source that does not exist. Would look something like below.

 

"contextual_search_sources": {
"value": "c96eb1686721220023c82e08f585effe",
"displayValue": "Service Catalog"
}

 

Resolution


Make sure customer has a valid sys_id for an existing search source.

 

Article Information

Last Updated:2018-08-22 13:22:56
Published:2018-08-22