java.lang.ExceptionInInitializerError

This exception has no message.

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web8216

  • This exception has no message.
  • This exception has no message.
  • via Terracotta by acs, 11 months ago
    This exception has no message.
  • Stack trace

    • java.lang.ExceptionInInitializerError at util.HibernateUtil.<clinit>(HibernateUtil.java:21) at manager.LecteursManager.ajouterLecteur(LecteursManager.java:13) at test.Test_Main.main(Test_Main.java:18) Caused by: org.hibernate.InvalidMappingException: Could not parse mapping document from resource bean/Lecteurs.hbm.xml at org.hibernate.cfg.Configuration.addResource(Configuration.java:616) at org.hibernate.cfg.Configuration.parseMappingElement(Configuration.java:1635) at org.hibernate.cfg.Configuration.parseSessionFactory(Configuration.java:1603) at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1582) at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1556) at org.hibernate.cfg.Configuration.configure(Configuration.java:1476) at org.hibernate.cfg.Configuration.configure(Configuration.java:1462) at util.HibernateUtil.<clinit>(HibernateUtil.java:15) ... 2 more Caused by: org.hibernate.InvalidMappingException: Could not parse mapping document from input stream at org.hibernate.cfg.Configuration.addInputStream(Configuration.java:555) at org.hibernate.cfg.Configuration.addResource(Configuration.java:613) ... 9 more Caused by: org.dom4j.DocumentException: Error on line 13 of document : need whitespace between attributes Nested exception: need whitespace between attributes at org.dom4j.io.SAXReader.read(SAXReader.java:482) at org.hibernate.cfg.Configuration.addInputStream(Configuration.java:546) ... 10 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 10 months ago
    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    37 more bugmates