java.lang.NullPointerException

Stack Overflow | user6584649 | 7 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.

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

    at org.hibernate.engine.transaction.jta.platform.internal.AbstractJtaPlatform.jndiService()
  2. org.hibernate.engine
    AbstractJtaPlatform.canRegisterSynchronization
    1. org.hibernate.engine.transaction.jta.platform.internal.AbstractJtaPlatform.jndiService(AbstractJtaPlatform.java:46)
    2. org.hibernate.engine.transaction.jta.platform.internal.WeblogicJtaPlatform.locateTransactionManager(WeblogicJtaPlatform.java:24)
    3. org.hibernate.engine.transaction.jta.platform.internal.AbstractJtaPlatform.retrieveTransactionManager(AbstractJtaPlatform.java:92)
    4. org.hibernate.engine.transaction.jta.platform.internal.AbstractJtaPlatform.getTransactionManager(AbstractJtaPlatform.java:98)
    5. org.hibernate.engine.transaction.jta.platform.internal.TransactionManagerBasedSynchronizationStrategy.canRegisterSynchronization(TransactionManagerBasedSynchronizationStrategy.java:39)
    6. org.hibernate.engine.transaction.jta.platform.internal.AbstractJtaPlatform.canRegisterSynchronization(AbstractJtaPlatform.java:131)
    6 frames
  3. org.hibernate.resource
    JtaTransactionCoordinatorBuilderImpl.buildTransactionCoordinator
    1. org.hibernate.resource.transaction.backend.jta.internal.JtaTransactionCoordinatorImpl.pulse(JtaTransactionCoordinatorImpl.java:141)
    2. org.hibernate.resource.transaction.backend.jta.internal.JtaTransactionCoordinatorImpl.<init>(JtaTransactionCoordinatorImpl.java:92)
    3. org.hibernate.resource.transaction.backend.jta.internal.JtaTransactionCoordinatorBuilderImpl.buildTransactionCoordinator(JtaTransactionCoordinatorBuilderImpl.java:28)
    3 frames
  4. Hibernate
    SessionFactoryImpl$SessionBuilderImpl.openSession
    1. org.hibernate.internal.SessionImpl.<init>(SessionImpl.java:277)
    2. org.hibernate.internal.SessionFactoryImpl$SessionBuilderImpl.openSession(SessionFactoryImpl.java:1322)
    2 frames
  5. org.hibernate.jpa
    EntityManagerFactoryImpl.createEntityManager
    1. org.hibernate.jpa.internal.EntityManagerImpl.internalGetSession(EntityManagerImpl.java:133)
    2. org.hibernate.jpa.spi.AbstractEntityManagerImpl.postInit(AbstractEntityManagerImpl.java:174)
    3. org.hibernate.jpa.internal.EntityManagerImpl.<init>(EntityManagerImpl.java:83)
    4. org.hibernate.jpa.internal.EntityManagerFactoryImpl.internalCreateEntityManager(EntityManagerFactoryImpl.java:319)
    5. org.hibernate.jpa.internal.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:286)
    5 frames
  6. Java RT
    Method.invoke
    1. sun.reflect.GeneratedMethodAccessor726.invoke(Unknown Source)
    2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    3. java.lang.reflect.Method.invoke(Method.java:606)
    3 frames
  7. Spring ORM
    AbstractEntityManagerFactoryBean$ManagedEntityManagerFactoryInvocationHandler.invoke
    1. org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.invokeProxyMethod(AbstractEntityManagerFactoryBean.java:407)
    2. org.springframework.orm.jpa.AbstractEntityManagerFactoryBean$ManagedEntityManagerFactoryInvocationHandler.invoke(AbstractEntityManagerFactoryBean.java:560)
    2 frames
  8. com.sun.proxy
    $Proxy892.createEntityManager
    1. com.sun.proxy.$Proxy892.createEntityManager(Unknown Source)
    1 frame
  9. Spring ORM
    SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke
    1. org.springframework.orm.jpa.EntityManagerFactoryUtils.doGetTransactionalEntityManager(EntityManagerFactoryUtils.java:285)
    2. org.springframework.orm.jpa.SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke(SharedEntityManagerCreator.java:255)
    2 frames
  10. com.sun.proxy
    $Proxy895.createQuery
    1. com.sun.proxy.$Proxy895.createQuery(Unknown Source)
    1 frame