java.lang.NullPointerException

Stack Overflow | aroth | 6 years 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. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.hibernate.hql.ast.ParameterTranslationsImpl.getNamedParameterExpectedType()
    2. Hibernate HQL/JP-QL Parser
      ParameterTranslationsImpl.getNamedParameterExpectedType
      1. org.hibernate.hql.ast.ParameterTranslationsImpl.getNamedParameterExpectedType(ParameterTranslationsImpl.java:63)
      1 frame
    3. Hibernate
      SessionFactoryImpl.<init>
      1. org.hibernate.engine.query.HQLQueryPlan.buildParameterMetadata(HQLQueryPlan.java:296)
      2. org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:97)
      3. org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:56)
      4. org.hibernate.engine.query.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:72)
      5. org.hibernate.impl.SessionFactoryImpl.checkNamedQueries(SessionFactoryImpl.java:400)
      6. org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:351)
      6 frames
    4. Hibernate
      Configuration.buildSessionFactory
      1. org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1291)
      1 frame
    5. Hibernate EJB
      HibernatePersistence.createEntityManagerFactory
      1. org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:713)
      2. org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:121)
      2 frames
    6. JavaEE 7
      Persistence.createEntityManagerFactory
      1. javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:83)
      2. javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:60)
      2 frames