Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by irockel, 1 year ago
via Oracle Community by 807581, 1 year ago
This exception has no message.
java.lang.NullPointerException: 	at com.sun.appserv.util.cache.BaseCache.hash(BaseCache.java:174)	at com.sun.appserv.util.cache.BaseCache.get(BaseCache.java:295)	at com.sun.enterprise.distributedtx.J2EETransactionManagerImpl.getResourceList(J2EETransactionManagerImpl.java:733)	at com.sun.enterprise.distributedtx.J2EETransactionManagerImpl.enlistComponentResources(J2EETransactionManagerImpl.java:500)	at com.sun.enterprise.distributedtx.J2EETransactionManagerImpl.enlistComponentResources(J2EETransactionManagerImpl.java:347)	at com.sun.enterprise.distributedtx.UserTransactionImpl.begin(UserTransactionImpl.java:130)	at org.springframework.transaction.jta.JtaTransactionManager.doBegin(JtaTransactionManager.java:437)	at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:271)	at org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:201)	at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:49)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)	at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:619)	at ca.aeso.itc.service.PostingService$$EnhancerByCGLIB$$3626918a.getPostingTopic()	at ca.aeso.itc.jms.PostingChangedListener.initialize(PostingChangedListener.java:45)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:324)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1071)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1041)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:305)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:223)	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:236)	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:159)	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:261)	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:317)	at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:131)	at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:177)	at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:105)	at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:48)	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4010)	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4525)	at com.sun.enterprise.web.WebModule.start(WebModule.java:241)	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1086)	at org.apache.catalina.core.StandardHost.start(StandardHost.java:833)	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1086)	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:483)	at org.apache.catalina.startup.Embedded.start(Embedded.java:894)	at com.sun.enterprise.web.WebContainer.start(WebContainer.java:688)	at com.sun.enterprise.web.PEWebContainer.startInstance(PEWebContainer.java:507)	at com.sun.enterprise.web.PEWebContainerLifecycle.onStartup(PEWebContainerLifecycle.java:54)	at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:300)	at com.sun.enterprise.server.PEMain.run(PEMain.java:294)	at com.sun.enterprise.server.PEMain.main(PEMain.java:220)