Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-72398

After fixpack-de-13 portal does not start when en_US is not among enabled locales

    Details

      Description

      After installing fixpack-de-13 portal does not start properly in case en_US were removed from enabled locales.

      Steps to reproduce
      1.- Install fixpack-de-12
      2.- Start Liferay
      3.- Go to Control Panel --> Instance Settings --> Miscellanous --> And set Spanish as the only current language.
      4.- Shut down portal.
      5.- Install fixpack-de-13
      6.- Start Liferay again
      7.- Log in

      Expected behaviour
      You can log in and browse in Portal, which is shown is Spanish

      Actual behaviour
      An error is shown and below error appears in logs:

      08:50:17,708 ERROR [http-nio-8080-exec-1][error_jsp:671] User ID 20156
      08:50:17,709 ERROR [http-nio-8080-exec-1][error_jsp:672] Current URL /es/web/guest/home
      08:50:17,709 ERROR [http-nio-8080-exec-1][error_jsp:673] Referer null
      08:50:17,709 ERROR [http-nio-8080-exec-1][error_jsp:674] Remote address 127.0.0.1
      08:50:17,710 ERROR [http-nio-8080-exec-1][error_jsp:676] java.lang.NullPointerException
      java.lang.NullPointerException
              at com.liferay.portal.language.LanguageResources._getSuperLocale(LanguageResources.java:180)
              at com.liferay.portal.language.LanguageResources.getSuperLocale(LanguageResources.java:133)
              at com.liferay.portal.language.LanguageResources.getMessage(LanguageResources.java:111)
              at com.liferay.portal.language.LanguageImpl.get(LanguageImpl.java:903)
              at com.liferay.portal.language.LanguageImpl.get(LanguageImpl.java:880)
              at com.liferay.portal.kernel.language.LanguageUtil.get(LanguageUtil.java:184)
              at com.liferay.portal.kernel.security.auth.FullNameDefinitionFactory._getRequiredFieldNames(FullNameDefinitionFactory.java:104)
              at com.liferay.portal.kernel.security.auth.FullNameDefinitionFactory._getInstance(FullNameDefinitionFactory.java:77)
              at com.liferay.portal.kernel.security.auth.FullNameDefinitionFactory.getInstance(FullNameDefinitionFactory.java:33)
              at com.liferay.portal.kernel.security.auth.DefaultFullNameGenerator.buildLocalizedFullName(DefaultFullNameGenerator.java:210)
              at com.liferay.portal.kernel.security.auth.DefaultFullNameGenerator.getLocalizedFullName(DefaultFullNameGenerator.java:65)
              at com.liferay.portal.model.impl.UserImpl.getFullName(UserImpl.java:486)
              at com.liferay.portal.model.impl.UserImpl.getFullName(UserImpl.java:452)
              at com.liferay.users.admin.web.theme.contributor.UsersTemplateContextContributor.prepare(UsersTemplateContextContributor.java:84)
              at com.liferay.taglib.util.ThemeUtil.doIncludeFTL(ThemeUtil.java:251)
              at com.liferay.taglib.util.ThemeUtil.doDispatch(ThemeUtil.java:157)
              at com.liferay.taglib.util.ThemeUtil.includeFTL(ThemeUtil.java:100)
              at com.liferay.taglib.util.ThemeUtil.include(ThemeUtil.java:82)
              at com.liferay.taglib.theme.IncludeTag.doEndTag(IncludeTag.java:34)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                melody.wu Melody Wu
                Reporter:
                antonio.ortega Antonio Ortega
                Participants of an Issue:
                Recent user:
                Csaba Turcsan
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  2 years, 4 weeks, 4 days ago

                  Packages

                  Version Package
                  6.2.X EE
                  7.0.0 DXP FP16
                  7.0.3 CE GA4
                  7.0.0 DXP SP4
                  7.0.X EE
                  7.1.X
                  Master