org.hibernate.HibernateException: could not init listeners

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via openxava by vagos123
, 1 year ago
could not init listeners
via Stack Overflow by Noor
, 1 year ago
via Stack Overflow by Noor
, 2 years ago
could not init listeners
via Hibernate JIRA by Kevin Schmidt, 1 year ago
could not init listeners
org.hibernate.HibernateException: could not init listeners
at org.hibernate.cfg.Configuration.getInitializedEventListeners(Configuration.java:1338)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1327)
at org.openxava.hibernate.XHibernate.createSessionFactory(XHibernate.java:249)
at org.openxava.hibernate.XHibernate.getSessionFactory(XHibernate.java:262)
at org.openxava.hibernate.XHibernate.createSession(XHibernate.java:110)
at org.openxava.tracking.AccessTrackingCalculator.calculate(AccessTrackingCalculator.java:43)
at org.openxava.tracking.AccessTrackingListener.trackAccess(AccessTrackingListener.java:43)
at org.openxava.tracking.AccessTrackingListener.trackReadAccess(AccessTrackingListener.java:25)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at org.hibernate.ejb.event.ListenerCallback.invoke(ListenerCallback.java:31)
at org.hibernate.ejb.event.EntityCallbackHandler.callback(EntityCallbackHandler.java:80)
at org.hibernate.ejb.event.EntityCallbackHandler.postLoad(EntityCallbackHandler.java:73)
at org.hibernate.engine.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:221)
at org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:877)
at org.hibernate.loader.Loader.doQuery(Loader.java:752)
at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:259)
at org.hibernate.loader.Loader.loadEntity(Loader.java:1881)
at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:71)
at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:65)
at org.hibernate.event.def.DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java:434)
at org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:415)
at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:165)
at org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:223)
at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:126)
at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:905)
at org.hibernate.impl.SessionImpl.get(SessionImpl.java:842)
at org.hibernate.impl.SessionImpl.get(SessionImpl.java:835)
at org.hibernate.ejb.AbstractEntityManagerImpl.find(AbstractEntityManagerImpl.java:182)
at org.openxava.model.impl.JPAPersistenceProvider.find(JPAPersistenceProvider.java:26)
at org.openxava.model.impl.POJOPersistenceProviderBase.find(POJOPersistenceProviderBase.java:89)
at org.openxava.model.impl.POJOPersistenceProviderBase.find(POJOPersistenceProviderBase.java:60)
at org.openxava.model.impl.MapFacadeBean.findEntity(MapFacadeBean.java:1435)
at org.openxava.model.impl.MapFacadeBean.findEntity(MapFacadeBean.java:1566)
at org.openxava.model.impl.MapFacadeBean.getValuesImpl(MapFacadeBean.java:609)
at org.openxava.model.impl.MapFacadeBean.getValues(MapFacadeBean.java:95)
at org.openxava.model.MapFacade.getValues(MapFacade.java:360)
at org.openxava.actions.SearchByViewKeyAction.execute(SearchByViewKeyAction.java:51)
at org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:374)
at org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:291)
at org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:489)
at org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:291)
at org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:489)
at org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:291)
at org.openxava.controller.ModuleManager.execute(ModuleManager.java:251)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.