java.lang.AbstractMethodError: net.sf.ehcache.hibernate.Provider.start(Ljava/util/Properties;)V

Hibernate JIRA | Alexey Orlovsky | 1 decade ago
  1. 0

    It appears that AbstractEntityPersister does not implement Loadable.getTableName(). If I insert a dummy implementation the app will start. [9/22/03 13:27:02:585 CDT] 5e254dcc WebGroup E SRVE0020E: [Servlet Error]-[action]: Failed to load servlet: java.lang.AbstractMethodError: net/sf/hibernate/persister/AbstractEntityPersister.getTableName at net.sf.hibernate.loader.OuterJoinLoader.walkAssociationTree(OuterJoinLoader.java:447) at net.sf.hibernate.loader.OuterJoinLoader.walkAssociationTree(OuterJoinLoader.java:183) at net.sf.hibernate.loader.OuterJoinLoader.walkClassTree(OuterJoinLoader.java:214) at net.sf.hibernate.loader.OuterJoinLoader.walkTree(OuterJoinLoader.java:86) at net.sf.hibernate.loader.OneToManyLoader.<init>(OneToManyLoader.java:54) at net.sf.hibernate.loader.OneToManyLoader.<init>(OneToManyLoader.java:39) at net.sf.hibernate.collection.CollectionPersister.createCollectionInitializer(CollectionPersister.java:324) at net.sf.hibernate.collection.CollectionPersister.<init>(CollectionPersister.java:297) at net.sf.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:138) at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:660) at us.il.state.idpa.oigcase.controller.OIGPlugin.init(OIGPlugin.java:128) at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:1158) at org.apache.struts.action.ActionServlet.init(ActionServlet.java:473) at javax.servlet.GenericServlet.init(GenericServlet.java:258) at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doInit(StrictServletInstance.java:82) at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._init(StrictLifecycleServlet.java:147) at com.ibm.ws.webcontainer.servlet.PreInitializedServletState.init(StrictLifecycleServlet.java:270) at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.init(StrictLifecycleServlet.java:113) at com.ibm.ws.webcontainer.servlet.ServletInstance.init(ServletInstance.java:189) at javax.servlet.GenericServlet.init(GenericServlet.java:258) at com.ibm.ws.webcontainer.webapp.WebAppServletManager.addServlet(WebAppServletManager.java:903) at com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadServlet(WebAppServletManager.java:266) at com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadAutoLoadServlets(WebAppServletManager.java:583) at com.ibm.ws.webcontainer.webapp.WebApp.loadServletManager(WebApp.java:1252) at com.ibm.ws.webcontainer.webapp.WebApp.init(WebApp.java:274) at com.ibm.ws.webcontainer.srt.WebGroup.loadWebApp(WebGroup.java:345) at com.ibm.ws.webcontainer.srt.WebGroup.init(WebGroup.java:208) at com.ibm.ws.webcontainer.WebContainer.addWebApplication(WebContainer.java:968) at com.ibm.ws.runtime.component.WebContainerImpl.install(WebContainerImpl.java:133) at com.ibm.ws.runtime.component.WebContainerImpl.start(WebContainerImpl.java:360) at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:397) at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:751) at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:347) at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:539) at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:250) at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:228) at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:524) at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:415) at com.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServerImpl.java:117) at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:524) at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:415) at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:182) at com.ibm.ws.runtime.WsServer.start(WsServer.java:131) at com.ibm.ws.runtime.WsServer.main(WsServer.java:228) at java.lang.reflect.Method.invoke(Native Method) at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:94) at com.ibm.etools.websphere.tools.runner.api.ServerRunnerV5$1.run(ServerRunnerV5.java:97)

    Hibernate JIRA | 1 decade ago | Rich Lahnum
    java.lang.AbstractMethodError: net/sf/hibernate/persister/AbstractEntityPersister.getTableName
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    during Configuration().configure(), the JVM throws an AbstractMethodError like follows: [11/Jun/2003:09:16:32] failure (11523): Internal error: Unexpected error condition thrown (java.lang .AbstractMethodError: net/sf/hibernate/persister/AbstractEntityPersister.insert,net/sf/hibernate/per sister/AbstractEntityPersister.insert), stack: java.lang.AbstractMethodError: net/sf/hibernate/persi ster/AbstractEntityPersister.insert at net.sf.hibernate.loader.OuterJoinLoader.walkClassTree(OuterJoinLoader.java:191) at net.sf.hibernate.loader.OuterJoinLoader.walkTree(OuterJoinLoader.java:80) at net.sf.hibernate.loader.AbstractEntityLoader.renderStatement(AbstractEntityLoader.java:38 ) at net.sf.hibernate.loader.AbstractEntityLoader.renderStatement(AbstractEntityLoader.java:33 ) at net.sf.hibernate.loader.EntityLoader.<init>(EntityLoader.java:35) at net.sf.hibernate.persister.EntityPersister.postInstantiate(EntityPersister.java:150) at net.sf.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:241) at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:613) at com.fullsix.registration.config.HibernatePlugIn.init(HibernatePlugIn.java:60) at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:1156) at org.apache.struts.action.ActionServlet.init(ActionServlet.java:472) at javax.servlet.GenericServlet.init(GenericServlet.java:258) at com.iplanet.server.http.servlet.WServletEntity.loadAndInitServlet(WServletEntity.java:98) at com.iplanet.server.http.servlet.WebApplication.init(WebApplication.java:314) at com.iplanet.server.http.servlet.VirtualServer.init(VirtualServer.java:176) at com.iplanet.server.http.servlet.NSServletRunner.VSInit(NSServletRunner.java:686) This can be fixed by declaring net.sf.hibernate.persister.AbstractEntityPersister to be "public". This problem affects 1.2.x too.

    Hibernate JIRA | 1 decade ago | Renaud Bruyeron
    java.lang.AbstractMethodError: net/sf/hibernate/persi ster/AbstractEntityPersister.insert
  4. 0

    The following exception is thrown during configure: [17/Sep/2003:12:15:17] failure (22697): Internal error: Unexpected error condition thrown (java.lang .AbstractMethodError: net/sf/hibernate/persister/AbstractEntityPersister.insert,net/sf/hibernate/per sister/AbstractEntityPersister.insert), stack: java.lang.AbstractMethodError: net/sf/hibernate/persi ster/AbstractEntityPersister.insert at net.sf.hibernate.loader.OuterJoinLoader.walkClassTree(OuterJoinLoader.java:172) at net.sf.hibernate.loader.OuterJoinLoader.walkTree(OuterJoinLoader.java:74) at net.sf.hibernate.loader.AbstractEntityLoader.renderStatement(AbstractEntityLoader.java:39 ) at net.sf.hibernate.loader.AbstractEntityLoader.renderStatement(AbstractEntityLoader.java:34 ) at net.sf.hibernate.loader.EntityLoader.<init>(EntityLoader.java:35) at net.sf.hibernate.persister.EntityPersister.postInstantiate(EntityPersister.java:153) at net.sf.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:223) at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:627) at com.fullsix.registration.config.HibernatePlugIn.init(HibernatePlugIn.java:64) The only thing I did is drop hibernate 2.0.3 and cglib 1.0-final jars over previous versions (2.0.1). I looked at the source code, and AbstractEntityLoader is public, therefore another change triggered this JDK problem. Any idea?

    Hibernate JIRA | 1 decade ago | Renaud Bruyeron
    java.lang.AbstractMethodError: net/sf/hibernate/persi ster/AbstractEntityPersister.insert

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.AbstractMethodError

      net.sf.ehcache.hibernate.Provider.start(Ljava/util/Properties;)V

      at net.sf.hibernate.cfg.Configuration.configureCaches()
    2. net.sf.hibernate
      Configuration.buildSessionFactory
      1. net.sf.hibernate.cfg.Configuration.configureCaches(Configuration.java:1133)
      2. net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:804)
      2 frames