java.lang.ExceptionInInitializerError

coderanch.com | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    Hibernate Problem

    Coderanch | 7 years ago | sivasakam kumarsakam
    java.lang.ExceptionInInitializerError
  3. 0

    Initial SessionFactory creation failed. java.lang.AbstractMethodErro

    Coderanch | 7 years ago | sivasakam kumarsakam
    java.lang.ExceptionInInitializerError

    8 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. java.lang.AbstractMethodError

      org.slf4j.impl.SimpleLogger.isTraceEnabled()Z

      at org.hibernate.type.NullableType.<clinit>()
    2. Hibernate
      Configuration.buildSessionFactory
      1. org.hibernate.type.NullableType.<clinit>(NullableType.java:59)
      2. org.hibernate.Hibernate.<clinit>(Hibernate.java:103)
      3. org.hibernate.type.TypeFactory.<clinit>(TypeFactory.java:69)
      4. org.hibernate.mapping.SimpleValue.getType(SimpleValue.java:283)
      5. org.hibernate.mapping.SimpleValue.isValid(SimpleValue.java:276)
      6. org.hibernate.mapping.Property.isValid(Property.java:207)
      7. org.hibernate.mapping.PersistentClass.validate(PersistentClass.java:458)
      8. org.hibernate.mapping.RootClass.validate(RootClass.java:215)
      9. org.hibernate.cfg.Configuration.validate(Configuration.java:1149)
      10. org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1334)
      10 frames
    3. com.vaannila.util
      HibernateUtil.<clinit>
      1. com.vaannila.util.HibernateUtil.<clinit>(HibernateUtil.java:10)
      1 frame
    4. com.vaannila.course
      Main.main
      1. com.vaannila.course.Main.saveCourse(Main.java:25)
      2. com.vaannila.course.Main.main(Main.java:15)
      2 frames