Legacy Knowledge Base
Published Sep. 10, 2025

Unable to startup the server: NPE while loading configurations from database

Written By

Zalán Szakolci

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

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

Issue

  • The issue usually comes with Oracle database and having a null dictionary in the table Configuration_ for the configurationid org_apache_felix_cm_impl_DynamicBindings
  • Due to this, Liferay fails to start, and throws the following exception:
    [exec] 15-Oct-2018 19:27:17.685 SEVERE [main] org.apache.catalina.core.StandardContext.listenerStart Exception sending context initialized event to listener instance of class [com.liferay.portal.spring.context.PortalContextLoaderListener]
         [exec]  java.lang.RuntimeException: org.osgi.framework.BundleException: Exception in com.liferay.portal.configuration.persistence.internal.activator.ConfigurationPersistenceBundleActivator.start() of bundle com.liferay.portal.configuration.persistence.impl.
         [exec] 	at com.liferay.portal.spring.context.PortalContextLoaderListener.contextInitialized(PortalContextLoaderListener.java:299)
         [exec] 	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4643)
         [exec] 	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5109)

Environment

  • Liferay DXP 7.2

Resolution

  • Execute the following query to fill the DICTIONARY field where the value is null to be able to start your server: 
    UPDATE CONFIGURATION_ SET DICTIONARY = ' ' WHERE CONFIGURATIONID = 'org_apache_felix_cm_impl_DynamicBindings' AND DICTIONARY IS NULL

Additional Information

Did this article resolve your issue ?

Legacy Knowledge Base