This NPE could only happen if there was a failure on start(). Is there other stack traces on boot?
On 6/21/2013 8:22 AM, Mukul Panwar wrote: > Hi > > When I am deploying resteasy cache on jboss 7, then I am getting error as: > > Exception sending context destroyed event to listener instance of class > org.jboss.resteasy.plugins.cache.server.ServletServerCache: > java.lang.NullPointerException > at > org.jboss.resteasy.plugins.cache.server.JBossCache.stop(JBossCache.java:142) > [resteasy-cache-core-2.3.5.Final.jar:] > at > org.jboss.resteasy.plugins.cache.server.ServletServerCache.contextDestroyed(ServletServerCache.java:49) > [resteasy-cache-core-2.3.5.Final.jar:] > at > org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:3489) > [jbossweb-7.0.13.Final.jar:] > at > org.apache.catalina.core.StandardContext.stop(StandardContext.java:3999) > [jbossweb-7.0.13.Final.jar:] > at > org.apache.catalina.core.StandardContext.start(StandardContext.java:3917) > [jbossweb-7.0.13.Final.jar:] > at > org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) > [jboss-as-web-7.1.1.Final-RECOMPILE.jar:7.1.1.Final] > at > org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) > at > org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) > at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) > [rt.jar:1.7.0_05] > at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) > [rt.jar:1.7.0_05] > at java.lang.Thread.run(Unknown Source) [rt.jar:1.7.0_05] > > Please suggest about it. > > Thanks > Mukul > > -----Original Message----- > From: Bill Burke [mailto:bbu...@redhat.com] > Sent: Thursday, June 20, 2013 10:23 PM > To: resteasy-users@lists.sourceforge.net > Subject: Re: [Resteasy-users] Resteasy local server side caching on jboss 7 > > Follow the documentation? I need more here... > > On 6/20/2013 12:30 PM, Mukul Panwar wrote: >> >> Please suggest how we will implement the resteasy local server side cache on >> jboss 7 . >> Sent from my iPhone >> >> >> ::DISCLAIMER:: >> ---------------------------------------------------------------------- >> ---------------------------------------------------------------------- >> -------- >> >> The contents of this e-mail and any attachment(s) are confidential and >> intended for the named recipient(s) only. >> E-mail transmission is not guaranteed to be secure or error-free as >> information could be intercepted, corrupted, lost, destroyed, arrive >> late or incomplete, or may contain viruses in transmission. The e mail and >> its contents (with or without referred errors) shall therefore not attach >> any liability on the originator or HCL or its affiliates. >> Views or opinions, if any, presented in this email are solely those of >> the author and may not necessarily reflect the views or opinions of >> HCL or its affiliates. Any form of reproduction, dissemination, >> copying, disclosure, modification, distribution and / or publication of this >> message without the prior written consent of authorized representative of >> HCL is strictly prohibited. If you have received this email in error please >> delete it and notify the sender immediately. >> Before opening any email and/or attachments, please check them for viruses >> and other defects. >> >> ---------------------------------------------------------------------- >> ---------------------------------------------------------------------- >> -------- >> >> >> ---------------------------------------------------------------------- >> -------- This SF.net email is sponsored by Windows: >> >> Build for Windows Store. >> >> http://p.sf.net/sfu/windows-dev2dev >> _______________________________________________ >> Resteasy-users mailing list >> Resteasy-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/resteasy-users >> > > -- > Bill Burke > JBoss, a division of Red Hat > http://bill.burkecentral.com > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Windows: > > Build for Windows Store. > > http://p.sf.net/sfu/windows-dev2dev > _______________________________________________ > Resteasy-users mailing list > Resteasy-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/resteasy-users > -- Bill Burke JBoss, a division of Red Hat http://bill.burkecentral.com ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ Resteasy-users mailing list Resteasy-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/resteasy-users