間違ったWebIdを設定すると、アップグレード後に"Unable to get company ID"エラーをスローします。
written-by
María Picado
How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!
While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.
legacy-article
learn-legacy-article-disclaimer-text
問題
DXP 7.3から7.4へのアップグレード後、以下のエラーが表示されます:
2023-10-24 17:28:16.854 ERROR [SCR Component Actor][ROOT:47] bundle com.liferay.portal.properties.swapper:5.0.24 (179)[com.liferay.portal.properties.swapper.internal.SwapDefaultGuestGroupLogoPortalInstanceLifecycleListener(11661)] : The activate method has thrown an exception java.lang.IllegalStateException: Unable to get default company ID at com.liferay.portal.kernel.instance.PortalInstancePool.getDefaultCompanyId(PortalInstancePool.java:40) ~[portal-kernel.jar:?] at com.liferay.portal.util.PortalInstances.getDefaultCompanyId(PortalInstances.java:226) ~[portal-impl.jar:?] at com.liferay.portal.util.PortalImpl.getDefaultCompanyId(PortalImpl.java:2356) ~[portal-impl.jar:?] at com.liferay.portal.properties.swapper.internal.SwapDefaultGuestGroupLogoPortalInstanceLifecycleListener.activate(SwapDefaultGuestGroupLogoPortalInstanceLifecycleListener.java:82) ~[?:?] [...]