Symptom
Customer reported that LMS administrators login with a different locale than English and they receive an error:
"Communication error occured, Please login again."
This doesn't happen when we login the LMS with the English locale.
Environment
Learning Management System (LMS)
Cause
Language packs that are imported in the LMS look at labels, and if there is a NULL value for a label in a locale, the application then falls back on the default locale.
In this case , the default locale was Turkish and since the label value was NULL, a communication error was received:
[FaultEvent fault=[RPC Fault faultString="java.lang.NullPointerException : while trying to invoke the method java.lang.String.toLowerCase(java.util.Locale) of an object returned from com.plateausystems.elms.framework.label.LMSMessageResources.getMessage(java.util.Locale, java.lang.String)" faultCode="Server.Processing" faultDetail="null"] messageId="613C8BB5-EC0A-2BD1-673E-53274603880D" type="fault" bubbles=false cancelable=true eventPhase=2]
Resolution
1. Go to References
2. Go to Geography
3. Go to Locale
4. Search Locale Languages
5. See if English is the default locale
=> if it is not change it to be the default locale of the LMS as there will not be any NULL values in this locale. Therefore when admins are using other locales, if a NULL value is encountered , the application will fall back on the English value of the label.
Keywords
Communication Error ,default locale different than English, References, Geography ,locale, default, default locale , KBA , LOD-SF-LMS , Learning Management System , LOD-SF-LMS-COR , LMS Core - Items, Catalog, Curricula , Problem