Switching to a different language makes the widgets in Service Portal fail with a null pointer exception.Description<!-- div.margin{ padding: 10px 40px 40px 30px; } table.tocTable{ border: 1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); padding-top: .6em; padding-bottom: .6em; padding-left: .9em; padding-right: .6em; } table.noteTable{ border:1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); width: 100%; border-spacing:2; } table.internaltable { white-space:nowrap; text-align:left; border-width: 1px; border-collapse: collapse; font-size:14px; width: 85%; } table.internaltable th { border-width: 1px; padding: 5px; border-style: solid; border-color: rgb(245, 245, 245); background-color: rgb(245, 245, 245); } table.internaltable td { border-width: 1px; padding: 5px; border-style: solid; border-color: #E0E0E0; color: #000000; } .title { color: #D1232B; font-weight:normal; font-size:28px; } h1{ color: #D1232B; font-weight:normal; font-size:21px; margin-bottom:-5px } h2{ color: #646464; font-weight:bold; font-size:18px; } h3{ color: #000000; font-weight:BOLD; font-size:16px; text-decoration:underline; } h4{ color: #646464; font-weight:BOLD; font-size:15px; text-decoration:; } h5{ color: #000000; font-weight:BOLD; font-size:13px; text-decoration:; } h6{ color: #000000; font-weight:BOLD; font-size:14px; text-decoration:; } ul{ list-style: disc outside none; margin-left: 0; } li { padding-left: 1em; } --> Symptoms Switching to a different language makes the Service Portal widgets fail. There are javascript errors and a Nullpointer Exception seen on the screen and the console log contains the script for the widget that fails. The following error is seen: 2018-12-10 07:52:47 (559) Default-thread-6 CA19F569DB12EB00C0B77B47F49619C6 txid=a79cb9a9db52 [DefaultTranslationProvider] Loading translations for: table=sc_category, hierarchy=[sc_category, sys_metadata, sc_category_top_n], id=a0b960a90f463a40a919f68ce1050ee1, language=fr, source=sys_translated_text2018-12-10 07:52:47 (560) Default-thread-6 CA19F569DB12EB00C0B77B47F49619C6 txid=a79cb9a9db52 WARNING *** WARNING *** Evaluator: java.lang.NullPointerExceptionCaused by error in <refname> at line 160com.glide.catalog.cache.impl.DefaultTranslationProvider.getFieldTranslationsFromSysTranslatedText(DefaultTranslationProvider.java:310)com.glide.catalog.cache.impl.DefaultTranslationProvider.access$400(DefaultTranslationProvider.java:29) Release All current supported versions. Cause This is seen because of bad data in the sys_translated_text table. There can be records with empty Field name and Value columns linked to a document key which also might have the valid translations present as well. When looking for translations, the system can encounter these empty records and throw null pointer exceptions and cause the widget load failure. Resolution The simplest way to fix this issue would be to remove the bad data. Deleting these empty records fixes the problem. These empty records can be found by looking at the node logs and finding the errors thrown when the issue happens. The errors contain the sys id of the document for which the translation caused the null pointer exception. This sys id can be looked for in the document column on the sys_translated_text table to find the empty/bad data.