Issue
- Users are unable to use any emails unless they have @liferay.com and are observing the "java.lang.IllegalStateException: Unable to get default company ID errors":
-
SEVERE [http-nio-8080-exec-4] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [default] in context with path [] threw exception
java.lang.IllegalStateException: Unable to get default company ID
at com.liferay.portal.util.PortalInstances.getDefaultCompanyId(PortalInstances.java:242)
at com.liferay.portal.util.PortalImpl.getDefaultCompanyId(PortalImpl.java:2365)
at com.liferay.portal.kernel.util.PortalUtil.getDefaultCompanyId(PortalUtil.java:854)
at com.liferay.portal.servlet.filters.validhostname.ValidHostNameFilter.doFilterTry(ValidHostNameFilter.java:38)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:194)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:99)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:104)
at com.liferay.shielded.container.internal.proxy.FilterWrapper.doFilter(FilterWrapper.java:78)
-
Environment
- Liferay DXP 7.4 update 75 and above
Resolution
- The observed behvaior is a known bug that has been addressed in update 82 and above.
Additional Information
- LPS-187661
- If a hotfix is required, please create a support ticket requesting the hotfix by attaching the patch details.
- Installing Fix Packs and Hotfixes on Liferay DXP will guide you to install the Fixpack or Hotfix in your environment.
- Unable to get default company ID error encountering after upgrade
Subscriber Exclusive Content
A Liferay Enterprise Subscription provides access to over 1,500 articles that include best practices, troubleshooting, and other valuable solutions. Sign in for full access.
Sign In