Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 2.2.0
-
Fix Version/s: 2.2.0
-
Component/s: manager server
-
Labels:None
Description
ar/lib/tomcat7-ycdemo/logs# mc
root@li66-204:/var/lib/tomcat7-ycdemo/logs# less catalina.out
java.lang.NullPointerException
at org.yes.cart.service.mail.impl.MailTemplateResourcesProviderShopContentImpl.getTemplate(MailTemplateResourcesProviderShopContentImpl.java:62)
at org.yes.cart.service.mail.impl.MailTemplateResourcesProviderFactoryImpl.getTemplate(MailTemplateResourcesProviderFactoryImpl.java:51)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:622)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at org.springframework.cache.interceptor.CacheInterceptor$1.invoke(CacheInterceptor.java:58)
at org.springframework.cache.interceptor.CacheAspectSupport.execute(CacheAspectSupport.java:214)
at org.springframework.cache.interceptor.CacheInterceptor.invoke(CacheInterceptor.java:66)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at com.sun.proxy.$Proxy32.getTemplate(Unknown Source)
at org.yes.cart.service.mail.impl.MailComposerImpl.getTemplate(MailComposerImpl.java:309)
at org.yes.cart.service.mail.impl.MailComposerImpl.composeMessage(MailComposerImpl.java:342)
at org.yes.cart.domain.message.consumer.ManagerRegistrationMessageListener.processMessage(ManagerRegistrationMessageListener.java:83)
at org.yes.cart.domain.message.consumer.ManagerRegistrationMessageListener.run(ManagerRegistrationMessageListener.java:61)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:701)
Exception in thread "aspectExecutor-2" java.lang.RuntimeException: java.lang.NullPointerException
at org.yes.cart.domain.message.consumer.ManagerRegistrationMessageListener.run(ManagerRegistrationMessageListener.java:64)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:701)
Caused by: java.lang.NullPointerException
at org.yes.cart.service.mail.impl.MailTemplateResourcesProviderShopContentImpl.getTemplate(MailTemplateResourcesProviderShopContentImpl.java:62)
at org.yes.cart.service.mail.impl.MailTemplateResourcesProviderFactoryImpl.getTemplate(MailTemplateResourcesProviderFactoryImpl.java:51)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:622)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at org.springframework.cache.interceptor.CacheInterceptor$1.invoke(CacheInterceptor.java:58)
at org.springframework.cache.interceptor.CacheAspectSupport.execute(CacheAspectSupport.java:214)
at org.springframework.cache.interceptor.CacheInterceptor.invoke(CacheInterceptor.java:66)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at com.sun.proxy.$Proxy32.getTemplate(Unknown Source)
at org.yes.cart.service.mail.impl.MailComposerImpl.getTemplate(MailComposerImpl.java:309)
at org.yes.cart.service.mail.impl.MailComposerImpl.composeMessage(MailComposerImpl.java:342)
at org.yes.cart.domain.message.consumer.ManagerRegistrationMessageListener.processMessage(ManagerRegistrationMessageListener.java:83)
at org.yes.cart.domain.message.consumer.ManagerRegistrationMessageListener.run(ManagerRegistrationMessageListener.java:61)
... 3 more