java.lang.NullPointerException

Hibernate JIRA | Sergey Vladimirov | 1 decade ago
  1. 0

    JBoss and Oracle 12c : datasource bound successfully but cannot connect

    Stack Overflow | 2 years ago
    com.liferay.portal.spring.context.PortalContextLoaderListener: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.liferay.portal.spring.aop.ServiceBeanAutoProxyCreator#0' defined in class path resource [META-INF/base-spring.xml]: Cannot resolve reference to bean 'counterTransactionAdvice' while setting bean property 'methodInterceptor'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'counterTransactionAdvice' defined in class path resource [META-INF/base-spring.xml]: Cannot resolve reference to bean 'counterTransactionManager' while setting bean property 'platformTransactionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'counterTransactionManager' defined in class path resource [META-INF/hibernate-spring.xml]: Cannot resolve reference to bean 'counterHibernateSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'counterHibernateSessionFactory' defined in class path resource [META-INF/hibernate-spring.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Hibernate error : Could not turn on auto-commit in an active global transaction

    Stack Overflow | 3 years ago | spk
    java.lang.NullPointerException
  4. 0

    Hibernate throwing NullPointerException

    Stack Overflow | 4 years ago | Robert H
    java.lang.NullPointerException

  1. Kawada 54 times, last 7 months ago
15 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.NullPointerException

    No message provided

    at org.hibernate.cfg.annotations.TableBinder.bindFk()
  2. Hibernate
    Configuration.buildSessionFactory
    1. org.hibernate.cfg.annotations.TableBinder.bindFk(TableBinder.java:162)
    2. org.hibernate.cfg.annotations.CollectionBinder.bindCollectionSecondPass(CollectionBinder.java:851)
    3. org.hibernate.cfg.annotations.CollectionBinder.bindManyToManySecondPass(CollectionBinder.java:738)
    4. org.hibernate.cfg.annotations.CollectionBinder.bindStarToManySecondPass(CollectionBinder.java:410)
    5. org.hibernate.cfg.annotations.CollectionBinder$1.secondPass(CollectionBinder.java:371)
    6. org.hibernate.cfg.CollectionSecondPass.doSecondPass(CollectionSecondPass.java:35)
    7. org.hibernate.cfg.Configuration.secondPassCompile(Configuration.java:1030)
    8. org.hibernate.cfg.AnnotationConfiguration.secondPassCompile(AnnotationConfiguration.java:227)
    9. org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1145)
    9 frames
  3. ru.arptek.arpsite
    WebObjectStructureTest.setUp
    1. ru.arptek.arpsite.data.webobjectsstructure.WebObjectStructureTest.setUp(WebObjectStructureTest.java:118)
    1 frame