cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

error notifying tenant listener : while trying to invoke the method org.springframework.context.ApplicationContext.getBean(java.lang.String) of a null object returned from de.hybris.platform.core.Registry.getCoreApplicationContext()

Former Member
0 Likes
4,956

While starting the server getting below exception.

error notifying tenant listener : ListableBeanFactory must not be null INFO | jvm 1 | main | 2019/03/01 10:03:49.127 | java.lang.IllegalArgumentException: ListableBeanFactory must not be null INFO | jvm 1 | main | 2019/03/01 10:03:49.127 | at org.springframework.util.Assert.notNull(Assert.java:134) INFO | jvm 1 | main | 2019/03/01 10:03:49.127 | at org.springframework.beans.factory.BeanFactoryUtils.beansOfTypeIncludingAncestors(BeanFactoryUtils.java:287) INFO | jvm 1 | main | 2019/03/01 10:03:49.127 | at de.hybris.platform.jmx.MBeanRegisterUtilities.refreshMBeans(MBeanRegisterUtilities.java:158) INFO | jvm 1 | main | 2019/03/01 10:03:49.127 | at de.hybris.platform.jmx.MBeanRegisterUtilities.getRegisteredBeans(MBeanRegisterUtilities.java:135) INFO | jvm 1 | main | 2019/03/01 10:03:49.127 | at de.hybris.platform.core.JMXBeanLoader.beforeTenantShutDown(JMXBeanLoader.java:117) INFO | jvm 1 | main | 2019/03/01 10:03:49.127 | at de.hybris.platform.core.AbstractTenant.notifyTenantListenersBeforeShutdown(AbstractTenant.java:1360) INFO | jvm 1 | main | 2019/03/01 10:03:49.127 | at de.hybris.platform.core.AbstractTenant.doShutdown(AbstractTenant.java:1054) INFO | jvm 1 | main | 2019/03/01 10:03:49.127 | at de.hybris.platform.core.AbstractTenant.doShutDown(AbstractTenant.java:1015) INFO | jvm 1 | main | 2019/03/01 10:03:49.127 | at de.hybris.platform.core.Registry.destroy(Registry.java:318) INFO | jvm 1 | main | 2019/03/01 10:03:49.127 | at de.hybris.platform.util.RedeployUtilities.shutdown(RedeployUtilities.java:75) INFO | jvm 1 | main | 2019/03/01 10:03:49.127 | at de.hybris.platform.util.RedeployUtilities$1.run(RedeployUtilities.java:39) INFO | jvm 1 | main | 2019/03/01 10:03:49.127 | error notifying tenant listener : while trying to invoke the method org.springframework.context.ApplicationContext.getBean(java.lang.String) of a null object returned from de.hybris.platform.core.Registry.getCoreApplicationContext() INFO | jvm 1 | main | 2019/03/01 10:03:49.127 | java.lang.NullPointerException: while trying to invoke the method org.springframework.context.ApplicationContext.getBean(java.lang.String) of a null object returned from de.hybris.platform.core.Registry.getCoreApplicationContext() INFO | jvm 1 | main | 2019/03/01 10:03:49.127 | at de.hybris.platform.jalo.JaloConnection$AbstractSynchronizedPropertyGetter.get(JaloConnection.java:1151)

Accepted Solutions (0)

Answers (3)

Answers (3)

0 Likes

In the log you will see these lines:

*** LICENSE VERIFICATION HAS FAILED! ***

**************************************************************
Your demo/develop license has expired, it is valid only for 30 days. If you're using develop licence you need to reinitialize database to continue your work.
**************************************************************<br>

So, remember backup your work if you are running server without license. Cause we have to reinitialize server after 30days.

Regards,

former_member748715
Discoverer
0 Likes

I'm getting same error on server start. I spotted " *** LICENSE VERIFICATION HAS FAILED! *** " this in between logs. and following was the error:

INFO [Thread-1] [HybrisContextFactory] Initializing <<global>> Spring ApplicationContext took: (34.40 s)
error notifying tenant listener : ListableBeanFactory must not be null
java.lang.IllegalArgumentException: ListableBeanFactory must not be null
at org.springframework.util.Assert.notNull(Assert.java:134)
at org.springframework.beans.factory.BeanFactoryUtils.beansOfTypeIncludingAncestors(BeanFactoryUtils.java:287)
at de.hybris.platform.jmx.MBeanRegisterUtilities.refreshMBeans(MBeanRegisterUtilities.java:158)
at de.hybris.platform.jmx.MBeanRegisterUtilities.getRegisteredBeans(MBeanRegisterUtilities.java:135)
at de.hybris.platform.core.JMXBeanLoader.beforeTenantShutDown(JMXBeanLoader.java:117)
at de.hybris.platform.core.AbstractTenant.notifyTenantListenersBeforeShutdown(AbstractTenant.java:1360)
at de.hybris.platform.core.AbstractTenant.doShutdown(AbstractTenant.java:1054)
at de.hybris.platform.core.AbstractTenant.doShutDown(AbstractTenant.java:1015)
at de.hybris.platform.core.Registry.destroy(Registry.java:318)
at de.hybris.platform.util.RedeployUtilities.shutdown(RedeployUtilities.java:75)
at de.hybris.platform.util.RedeployUtilities$1.run(RedeployUtilities.java:39)
INFO [Thread-1] [DefaultCacheController] Registered Listener RegionCacheAdapter(84411796) - <<master>> on cache controller. Currently registered 1
WARN [Thread-1] [RegionCacheAdapter] Check licence skipped since system is already shutting down
INFO [Thread-1] [DefaultCacheController] Removed listener from cache controller. Currently registered 0
INFO [Thread-1] [DefaultSolrServerService] Stopping Solr servers ...
INFO [Thread-1] [DefaultSolrServerService] Stopping Solr server for instance [name: default, hostname: localhost, port: 8983]
INFO [Thread-1] [DefaultClusterNodeManagementService] Unregistering assigned cluster node id 0...
2021-12-27 12:55:43,940 Thread-1 ERROR Unable to locate appender "INFO" for logger config "com.sap.carrier.rebuildservices"

Please help.

former_member748715
Discoverer
0 Likes

I renewed Hybris license and it worked. You can also install temporary Hybris License.

Former Member
0 Likes

Hi All,

I am also getting the same error on server startup, once after reinitializing the DB since the license folder expired.

The error as:

INFO [Thread-4] [HybrisContextFactory] Initializing <<global>> Spring ApplicationContext took: (21.40 s) error notifying tenant listener : ListableBeanFactory must not be null java.lang.IllegalArgumentException: ListableBeanFactory must not be null at org.springframework.util.Assert.notNull(Assert.java:134)

Coudl any1 please sugggest the resolution.

Regards,