java.lang.AbstractMethodError: net/sf/hibernate/persister/AbstractEntityPersister.getTableName

Hibernate JIRA | Rich Lahnum | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  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. 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
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 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
  5. 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/hibernate/persister/AbstractEntityPersister.getTableName

      at net.sf.hibernate.loader.OuterJoinLoader.walkAssociationTree()
    2. net.sf.hibernate
      Configuration.buildSessionFactory
      1. net.sf.hibernate.loader.OuterJoinLoader.walkAssociationTree(OuterJoinLoader.java:447)
      2. net.sf.hibernate.loader.OuterJoinLoader.walkAssociationTree(OuterJoinLoader.java:183)
      3. net.sf.hibernate.loader.OuterJoinLoader.walkClassTree(OuterJoinLoader.java:214)
      4. net.sf.hibernate.loader.OuterJoinLoader.walkTree(OuterJoinLoader.java:86)
      5. net.sf.hibernate.loader.OneToManyLoader.<init>(OneToManyLoader.java:54)
      6. net.sf.hibernate.loader.OneToManyLoader.<init>(OneToManyLoader.java:39)
      7. net.sf.hibernate.collection.CollectionPersister.createCollectionInitializer(CollectionPersister.java:324)
      8. net.sf.hibernate.collection.CollectionPersister.<init>(CollectionPersister.java:297)
      9. net.sf.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:138)
      10. net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:660)
      10 frames
    3. us.il.state
      OIGPlugin.init
      1. us.il.state.idpa.oigcase.controller.OIGPlugin.init(OIGPlugin.java:128)
      1 frame
    4. struts
      ActionServlet.init
      1. org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:1158)
      2. org.apache.struts.action.ActionServlet.init(ActionServlet.java:473)
      2 frames
    5. JavaServlet
      GenericServlet.init
      1. javax.servlet.GenericServlet.init(GenericServlet.java:258)
      1 frame
    6. WebSphere
      ServletInstance.init
      1. com.ibm.ws.webcontainer.servlet.StrictServletInstance.doInit(StrictServletInstance.java:82)
      2. com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._init(StrictLifecycleServlet.java:147)
      3. com.ibm.ws.webcontainer.servlet.PreInitializedServletState.init(StrictLifecycleServlet.java:270)
      4. com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.init(StrictLifecycleServlet.java:113)
      5. com.ibm.ws.webcontainer.servlet.ServletInstance.init(ServletInstance.java:189)
      5 frames
    7. JavaServlet
      GenericServlet.init
      1. javax.servlet.GenericServlet.init(GenericServlet.java:258)
      1 frame
    8. WebSphere
      WebApp.init
      1. com.ibm.ws.webcontainer.webapp.WebAppServletManager.addServlet(WebAppServletManager.java:903)
      2. com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadServlet(WebAppServletManager.java:266)
      3. com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadAutoLoadServlets(WebAppServletManager.java:583)
      4. com.ibm.ws.webcontainer.webapp.WebApp.loadServletManager(WebApp.java:1252)
      5. com.ibm.ws.webcontainer.webapp.WebApp.init(WebApp.java:274)
      5 frames
    9. com.ibm.ws
      WebGroup.init
      1. com.ibm.ws.webcontainer.srt.WebGroup.loadWebApp(WebGroup.java:345)
      2. com.ibm.ws.webcontainer.srt.WebGroup.init(WebGroup.java:208)
      2 frames
    10. WebSphere
      ServerImpl.start
      1. com.ibm.ws.webcontainer.WebContainer.addWebApplication(WebContainer.java:968)
      2. com.ibm.ws.runtime.component.WebContainerImpl.install(WebContainerImpl.java:133)
      3. com.ibm.ws.runtime.component.WebContainerImpl.start(WebContainerImpl.java:360)
      4. com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:397)
      5. com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:751)
      6. com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:347)
      7. com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:539)
      8. com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:250)
      9. com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:228)
      10. com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:524)
      11. com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:415)
      12. com.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServerImpl.java:117)
      13. com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:524)
      14. com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:415)
      15. com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:182)
      15 frames
    11. com.ibm.ws
      WsServer.main
      1. com.ibm.ws.runtime.WsServer.start(WsServer.java:131)
      2. com.ibm.ws.runtime.WsServer.main(WsServer.java:228)
      2 frames
    12. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      1 frame
    13. com.ibm.ws
      WSLauncher.main
      1. com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:94)
      1 frame
    14. com.ibm.etools
      ServerRunnerV5$1.run
      1. com.ibm.etools.websphere.tools.runner.api.ServerRunnerV5$1.run(ServerRunnerV5.java:97)
      1 frame