java.lang.ExceptionInInitializerError

hibernate.org | 8 months 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

    org.hibernate.InvalidMappingException: Could not parse mapping document from resource com

    Stack Overflow | 3 years ago | czai42
    org.hibernate.InvalidMappingException: Could not parse mapping document from resource com/jcz/domain/Employee.hbm.xml
  2. 0

    Hibernate issue with compiling

    Stack Overflow | 2 years ago | Ganjira
    org.hibernate.InvalidMappingException: Unable to read XML
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Hibernate : Failed to create sessionFactory object.org.hibernate.InvalidMappingException

    Stack Overflow | 4 years ago | Abhishek Singh
    org.hibernate.InvalidMappingException: Could not parse mapping document from resource Employee.hbm.xml
  5. 0

    Hibernate Cascade in Inheritance

    Stack Overflow | 6 years ago | Noor
    org.hibernate.InvalidMappingException: Could not parse mapping document from resource com/BiddingSystem/Models/Administrator.hbm.xml

    1 unregistered visitors
    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. org.hibernate.MappingException

      UniqueKey _UniqueKey already exists!

      at org.hibernate.mapping.Table.addUniqueKey()
    2. Hibernate
      Configuration.configure
      1. org.hibernate.mapping.Table.addUniqueKey(Table.java:528)
      2. org.hibernate.cfg.HbmBinder.createClassProperties(HbmBinder.java:2128)
      3. org.hibernate.cfg.HbmBinder.createClassProperties(HbmBinder.java:2031)
      4. org.hibernate.cfg.HbmBinder.bindRootPersistentClassCommonValues(HbmBinder.java:359)
      5. org.hibernate.cfg.HbmBinder.bindRootClass(HbmBinder.java:273)
      6. org.hibernate.cfg.HbmBinder.bindRoot(HbmBinder.java:144)
      7. org.hibernate.cfg.Configuration.add(Configuration.java:669)
      8. org.hibernate.cfg.Configuration.addInputStream(Configuration.java:504)
      9. org.hibernate.cfg.Configuration.addResource(Configuration.java:566)
      10. org.hibernate.cfg.Configuration.parseMappingElement(Configuration.java:1584)
      11. org.hibernate.cfg.Configuration.parseSessionFactory(Configuration.java:1552)
      12. org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1531)
      13. org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1505)
      14. org.hibernate.cfg.Configuration.configure(Configuration.java:1425)
      15. org.hibernate.cfg.Configuration.configure(Configuration.java:1411)
      15 frames
    3. com.blowfishworks.deviceserver
      HibernateListener.contextInitialized
      1. com.blowfishworks.deviceserver.util.HibernateUtil.<clinit>(HibernateUtil.java:24)
      2. com.blowfishworks.deviceserver.servlet.HibernateListener.contextInitialized(HibernateListener.java:24)
      2 frames
    4. Glassfish Core
      HostConfig.check
      1. org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3764)
      2. org.apache.catalina.core.StandardContext.start(StandardContext.java:4216)
      3. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
      4. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
      5. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
      6. org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:831)
      7. org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:515)
      8. org.apache.catalina.startup.HostConfig.check(HostConfig.java:1231)
      8 frames
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:585)
      4 frames
    6. Commons Modeler
      BaseModelMBean.invoke
      1. org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:458)
      1 frame
    7. Java RT
      JmxMBeanServer.invoke
      1. com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
      2. com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
      3. com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
      4. com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
      4 frames
    8. org.apache.catalina
      HTMLManagerServlet.doPost
      1. org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1394)
      2. org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:217)
      2 frames
    9. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
      2 frames
    10. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
      5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
      6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
      8. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
      9. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
      9 frames
    11. Grizzly HTTP
      LeaderFollowerWorkerThread.runIt
      1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
      2. org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
      3. org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
      4. org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
      4 frames
    12. Tomcat Util
      ThreadPool$ControlRunnable.run
      1. org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
      1 frame
    13. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:595)
      1 frame