java.lang.NullPointerException

Oracle Community | 807581 | 1 decade ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  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.begin
      1. com.sun.enterprise.distributedtx.J2EETransactionManagerImpl.getResourceList(J2EETransactionManagerImpl.java:733)
      2. com.sun.enterprise.distributedtx.J2EETransactionManagerImpl.enlistComponentResources(J2EETransactionManagerImpl.java:500)
      3. com.sun.enterprise.distributedtx.J2EETransactionManagerImpl.enlistComponentResources(J2EETransactionManagerImpl.java:347)
      4. com.sun.enterprise.distributedtx.UserTransactionImpl.begin(UserTransactionImpl.java:130)
      4 frames
    4. Spring Tx
      TransactionInterceptor.invoke
      1. org.springframework.transaction.jta.JtaTransactionManager.doBegin(JtaTransactionManager.java:437)
      2. org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:271)
      3. org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:201)
      4. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:49)
      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
      PostingChangedListener.initialize
      1. ca.aeso.itc.service.PostingService$$EnhancerByCGLIB$$3626918a.getPostingTopic(<generated>)
      2. ca.aeso.itc.jms.PostingChangedListener.initialize(PostingChangedListener.java:45)
      2 frames
    7. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:324)
      4 frames
    8. Spring Beans
      DefaultListableBeanFactory.preInstantiateSingletons
      1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1071)
      2. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1041)
      3. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:305)
      4. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:223)
      5. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:236)
      6. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:159)
      7. org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:261)
      7 frames
    9. Spring Context
      AbstractApplicationContext.refresh
      1. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:317)
      1 frame
    10. Spring
      ContextLoaderListener.contextInitialized
      1. org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:131)
      2. org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:177)
      3. org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:105)
      4. org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:48)
      4 frames
    11. Glassfish Core
      StandardContext.start
      1. org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4010)
      2. org.apache.catalina.core.StandardContext.start(StandardContext.java:4525)
      2 frames
    12. Glassfish
      WebModule.start
      1. com.sun.enterprise.web.WebModule.start(WebModule.java:241)
      1 frame
    13. Glassfish Core
      Embedded.start
      1. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1086)
      2. org.apache.catalina.core.StandardHost.start(StandardHost.java:833)
      3. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1086)
      4. org.apache.catalina.core.StandardEngine.start(StandardEngine.java:483)
      5. org.apache.catalina.startup.Embedded.start(Embedded.java:894)
      5 frames
    14. Glassfish
      PEWebContainerLifecycle.onStartup
      1. com.sun.enterprise.web.WebContainer.start(WebContainer.java:688)
      2. com.sun.enterprise.web.PEWebContainer.startInstance(PEWebContainer.java:507)
      3. com.sun.enterprise.web.PEWebContainerLifecycle.onStartup(PEWebContainerLifecycle.java:54)
      3 frames
    15. com.sun.enterprise
      PEMain.main
      1. com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:300)
      2. com.sun.enterprise.server.PEMain.run(PEMain.java:294)
      3. com.sun.enterprise.server.PEMain.main(PEMain.java:220)
      3 frames