"Failing widget: 'SC Order Status'" error on Service Portal

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2022 01:12 PM
Hi all!
I was performing some tests on our testing instance and realized we have issues while trying to view a RITM generated after submission. Here is a screenshot:
We checked the browser console and it points out to the Server script for the mentioned widget, but we believe it's not directly related to it since this widget is OOB and protected.
We checked the logs and it shows the following:
JavaScript evaluation error on:
(function(){(function() {
/* populate the 'data' object */
/* e.g., data.table = $sp.getValue('table'); */
//Request sys_id can be passed as an option
//By default URL parameter is used
var request_id = $sp.getParameter('sys_id');
if (options && options.hasOwnProperty('request_id_source') && (options.request_id_source === 'widget_options') && options.hasOwnProperty('request_id'))
request_id = options.request_id;
...
[Keeps showing the whole code until the following message]
...
Root cause of JavaScriptException: java.lang.NullPointerException
: java.lang.NullPointerException: com.glide.catalog.cache.impl.DefaultTranslationProvider.getFieldTranslationsFromSysTranslated(DefaultTranslationProvider.java:243)
com.glide.catalog.cache.impl.DefaultTranslationProvider.access$300(DefaultTranslationProvider.java:34)
com.glide.catalog.cache.impl.DefaultTranslationProvider$FieldTranslationProvider.getTranslations(DefaultTranslationProvider.java:436)
com.glide.catalog.cache.impl.DefaultTranslations.getFieldTranslation(DefaultTranslations.java:93)
com.glide.catalog.cache.impl.ServiceCatalogI18NCacheableItemAdapter.resolveFieldValue(ServiceCatalogI18NCacheableItemAdapter.java:88)
com.glideapp.servicecatalog.Catalog.getTitle(Catalog.java:483)
com.glideapp.servicecatalog.scoped.api.CatalogItemJS.jsFunction_getItemSummary(CatalogItemJS.java:312)
We're not sure what is or how it works this "getItemSummary" function, but it's the only note we received from the instance to determine the root cause of the problem.
Any ideas?
Thanks in advance!
- Labels:
-
Service Catalog

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2022 01:05 PM
Hi,
What a lot of people do is put it in a catalog, but don't put a category on it. That may help in this case as it won't show in your portal catalog item categories, because it doesn't have a category.
Anyways, glad you figured it out after reviewing this catalog item versus others.
If any reply of mine helped guide you Correctly, please mark as Correct.
Any that were Helpful, please also mark as Helpful, as well.
Thanks and take care! 🙂
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2022 10:35 AM
even we are facing this issue for every catalog item we are submitting a request.
But we are able to see the request created in the backend.