java.lang.NullPointerException

Oracle Community | 807581 | 1 decade 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. 0

    DTX5001 using JTA from a servlet

    Oracle Community | 1 decade ago | 807581
    java.lang.NullPointerException
  2. 0

    NullPointerException in BaseCache if spring is used.

    Oracle Community | 1 decade ago | irockel
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.sun.appserv.util.cache.BaseCache.hash()
    2. Common Utilities
      BaseCache.get
      1. com.sun.appserv.util.cache.BaseCache.hash(BaseCache.java:174)
      2. com.sun.appserv.util.cache.BaseCache.get(BaseCache.java:295)
      2 frames
    3. com.sun.enterprise
      UserTransactionImpl.commit
      1. com.sun.enterprise.distributedtx.J2EETransactionManagerImpl.getExistingResourceList(J2EETransactionManagerImpl.java:705)
      2. com.sun.enterprise.distributedtx.J2EETransactionManagerImpl.delistComponentResources(J2EETransactionManagerImpl.java:551)
      3. com.sun.enterprise.distributedtx.J2EETransactionManagerImpl.delistComponentResources(J2EETransactionManagerImpl.java:381)
      4. com.sun.enterprise.distributedtx.UserTransactionImpl.commit(UserTransactionImpl.java:157)
      4 frames
    4. Spring Tx
      TransactionInterceptor.invoke
      1. org.springframework.transaction.jta.JtaTransactionManager.doCommit(JtaTransactionManager.java:533)
      2. org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:376)
      3. org.springframework.transaction.interceptor.TransactionAspectSupport.doCommitTransactionAfterReturning(TransactionAspectSupport.java:242)
      4. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:66)
      4 frames
    5. Spring AOP
      Cglib2AopProxy$DynamicAdvisedInterceptor.intercept
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
      2. org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:619)
      2 frames
    6. ca.aeso.itc
      SynchronizedJob.execute
      1. ca.aeso.itc.service.LockManager$$EnhancerByCGLIB$$936cdaf9.lock(<generated>)
      2. ca.aeso.itc.job.SynchronizedJob.execute(SynchronizedJob.java:44)
      2 frames
    7. com.aptc.corp
      Scheduler$ThreadPool$WorkerThread.run
      1. com.aptc.corp.schedule.Scheduler$ThreadPool$WorkerThread.run(Scheduler.java:498)
      1 frame