Hello

I am using JBoss Seam 1.1.6 GA and Apache Tomcat 5.5.17 and Seam is using 
embedded Ejb in tomcat.

I have one Stateful and one conversational bean in my project.
sometimes the Seam can not invoke the destroy() method and throws an exception. 
this exception can been seen on tomcat console with following message:

it's wondering me why this happen sometimes not always!
I have declared this method in the local interface and marked them with @Remove 
and @Destroy in its implementation class.

also, I handled any exception might be happen in destroy method by putting 
try/catch statement.

I asked this question in Seam's forum and Gavin refer me to this forum. as he 
states it is a bug in Ejb3 and Ejb throws NPE back to me.

thanks


  | java.lang.NullPointerException
  |         at 
org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:98)
  |         at $Proxy12.destroy(Unknown Source)
  |         at 
com.payvand.search.model.business.SearchResult$$FastClassByCGLIB$$afe27b7a.invoke(<generated>)
  |         at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
  |         at 
org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:45)
  |         at 
org.jboss.seam.intercept.ClientSideInterceptor$1.proceed(ClientSideInterceptor.java:73)
  |         at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:55)
  |         at 
org.jboss.seam.interceptors.RemoveInterceptor.removeIfNecessary(RemoveInterceptor.java:39
  | )
  |         at sun.reflect.GeneratedMethodAccessor68.invoke(Unknown Source)
  |         at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  |         at java.lang.reflect.Method.invoke(Method.java:585)
  |         at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
  |         at 
org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
  |         at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
  |         at 
org.jboss.seam.interceptors.ExceptionInterceptor.handleExceptions(ExceptionInterceptor.ja
  | va:38)
  |         at sun.reflect.GeneratedMethodAccessor65.invoke(Unknown Source)
  |         at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  |         at java.lang.reflect.Method.invoke(Method.java:585)
  |         at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
  |         at 
org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
  |         at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
  |         at 
org.jboss.seam.intercept.RootInterceptor.createSeamInvocationContext(RootInterceptor.java
  | :144)
  |         at 
org.jboss.seam.intercept.RootInterceptor.invokeInContexts(RootInterceptor.java:129)
  |         at 
org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:102)
  |         at 
org.jboss.seam.intercept.ClientSideInterceptor.interceptInvocation(ClientSideInterceptor.
  | java:82)
  |         at 
org.jboss.seam.intercept.ClientSideInterceptor.intercept(ClientSideInterceptor.java:51)
  |         at 
com.payvand.search.model.business.SearchResult$$EnhancerByCGLIB$$6e750b57_2.destroy(<generated>)
  |         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:585)
  |         at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
  |         at 
org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:102)
  |         at org.jboss.seam.Component.callComponentMethod(Component.java:1791)
  |         at org.jboss.seam.Component.callDestroyMethod(Component.java:1747)
  |         at org.jboss.seam.contexts.Contexts.destroy(Contexts.java:189)
  |         at org.jboss.seam.contexts.Lifecycle.endSession(Lifecycle.java:222)
  |         at 
org.jboss.seam.servlet.SeamListener.sessionDestroyed(SeamListener.java:45)
  |         at 
org.apache.catalina.session.StandardSession.expire(StandardSession.java:675)
  |         at 
org.apache.catalina.session.StandardSession.isValid(StandardSession.java:567)
  |         at 
org.apache.catalina.session.ManagerBase.processExpires(ManagerBase.java:655)
  |         at 
org.apache.catalina.session.ManagerBase.backgroundProcess(ManagerBase.java:640)
  |         at 
org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1283)
  |         at 
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(Conta
  | inerBase.j
  | ava:1568)
  |         at 
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(Conta
  | inerBase.j
  | ava:1577)
  |         at 
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(Conta
  | inerBase.j
  | ava:1577)
  |         at 
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.jav
  | a:1557)
  |         at java.lang.Thread.run(Thread.java:595)
  | 
  | WARN Could not destroy component: searchResult[color]
  | 
  | java.lang.NullPointerException
  |         at 
org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:98)
  |         at $Proxy12.destroy(Unknown Source)
  |         at 
com.payvand.search.model.business.SearchResult$$FastClassByCGLIB$$afe27b7a.invoke(<generated>)
  |         at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
  |         at 
org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:45)
  |         at 
org.jboss.seam.intercept.ClientSideInterceptor$1.proceed(ClientSideInterceptor.java:73)
  |         at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:55)
  |         at 
org.jboss.seam.interceptors.RemoveInterceptor.removeIfNecessary(RemoveInterceptor.java:39
  | )
  |         at sun.reflect.GeneratedMethodAccessor68.invoke(Unknown Source)
  |         at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  |         at java.lang.reflect.Method.invoke(Method.java:585)
  |         at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
  |         at 
org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
  |         at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
  |         at 
org.jboss.seam.interceptors.ExceptionInterceptor.handleExceptions(ExceptionInterceptor.ja
  | va:38)
  |         at sun.reflect.GeneratedMethodAccessor65.invoke(Unknown Source)
  |         at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  |         at java.lang.reflect.Method.invoke(Method.java:585)
  |         at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
  |         at 
org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
  |         at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
  |         at 
org.jboss.seam.intercept.RootInterceptor.createSeamInvocationContext(RootInterceptor.java
  | :144)
  |         at 
org.jboss.seam.intercept.RootInterceptor.invokeInContexts(RootInterceptor.java:129)
  |         at 
org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:102)
  |         at 
org.jboss.seam.intercept.ClientSideInterceptor.interceptInvocation(ClientSideInterceptor.
  | java:82)
  |         at 
org.jboss.seam.intercept.ClientSideInterceptor.intercept(ClientSideInterceptor.java:51)
  |         at 
com.payvand.search.model.business.SearchResult$$EnhancerByCGLIB$$6e750b57_7.destroy(<generated>)
  |         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:585)
  |         at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
  |         at 
org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:102)
  |         at org.jboss.seam.Component.callComponentMethod(Component.java:1791)
  |         at org.jboss.seam.Component.callDestroyMethod(Component.java:1747)
  |         at org.jboss.seam.contexts.Contexts.destroy(Contexts.java:189)
  |         at org.jboss.seam.contexts.Lifecycle.endSession(Lifecycle.java:222)
  |         at 
org.jboss.seam.servlet.SeamListener.sessionDestroyed(SeamListener.java:45)
  |         at 
org.apache.catalina.session.StandardSession.expire(StandardSession.java:675)
  |         at 
org.apache.catalina.session.StandardSession.isValid(StandardSession.java:567)
  |         at 
org.apache.catalina.session.ManagerBase.processExpires(ManagerBase.java:655)
  |         at 
org.apache.catalina.session.ManagerBase.backgroundProcess(ManagerBase.java:640)
  |         at 
org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1283)
  |         at 
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(Conta
  | inerBase.j
  | ava:1568)
  |         at 
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(Conta
  | inerBase.j
  | ava:1577)
  |         at 
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(Conta
  | inerBase.j
  | ava:1577)
  |         at 
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.jav
  | a:1557)
  |         at java.lang.Thread.run(Thread.java:595)
  | WARN Could not destroy component: searchResult
  | java.lang.NullPointerException
  |         at 
org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:98)
  |         at $Proxy12.destroy(Unknown Source)
  |         at 
com.payvand.search.model.business.SearchResult$$FastClassByCGLIB$$afe27b7a.invoke(<generated>)
  |         at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
  |         at 
org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:45)
  |         at 
org.jboss.seam.intercept.ClientSideInterceptor$1.proceed(ClientSideInterceptor.java:73)
  |         at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:55)
  |         at 
org.jboss.seam.interceptors.RemoveInterceptor.removeIfNecessary(RemoveInterceptor.java:39
  | )
  |         at sun.reflect.GeneratedMethodAccessor68.invoke(Unknown Source)
  |         at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  |         at java.lang.reflect.Method.invoke(Method.java:585)
  |         at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
  |         at 
org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
  |         at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
  |         at 
org.jboss.seam.interceptors.ExceptionInterceptor.handleExceptions(ExceptionInterceptor.ja
  | va:38)
  |         at sun.reflect.GeneratedMethodAccessor65.invoke(Unknown Source)
  |         at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  |         at java.lang.reflect.Method.invoke(Method.java:585)
  |         at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
  |         at 
org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
  |         at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
  |         at 
org.jboss.seam.intercept.RootInterceptor.createSeamInvocationContext(RootInterceptor.java
  | :144)
  |         at 
org.jboss.seam.intercept.RootInterceptor.invokeInContexts(RootInterceptor.java:129)
  |         at 
org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:102)
  |         at 
org.jboss.seam.intercept.ClientSideInterceptor.interceptInvocation(ClientSideInterceptor.
  | java:82)
  |         at 
org.jboss.seam.intercept.ClientSideInterceptor.intercept(ClientSideInterceptor.java:51)
  |         at 
com.payvand.search.model.business.SearchResult$$EnhancerByCGLIB$$6e750b57.destroy(<generated>)
  |         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:585)
  |         at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
  |         at 
org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:102)
  |         at org.jboss.seam.Component.callComponentMethod(Component.java:1791)
  |         at org.jboss.seam.Component.callDestroyMethod(Component.java:1747)
  |         at org.jboss.seam.contexts.Contexts.destroy(Contexts.java:189)
  |         at org.jboss.seam.contexts.Lifecycle.endSession(Lifecycle.java:222)
  |         at 
org.jboss.seam.servlet.SeamListener.sessionDestroyed(SeamListener.java:45)
  |         at 
org.apache.catalina.session.StandardSession.expire(StandardSession.java:675)
  |         at 
org.apache.catalina.session.StandardSession.isValid(StandardSession.java:567)
  |         at 
org.apache.catalina.session.ManagerBase.processExpires(ManagerBase.java:655)
  |         at 
org.apache.catalina.session.ManagerBase.backgroundProcess(ManagerBase.java:640)
  |         at 
org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1283)
  |         at 
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(Conta
  | inerBase.j
  | ava:1568)
  |         at 
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(Conta
  | inerBase.j
  | ava:1577)
  |         at 
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(Conta
  | inerBase.j
  | ava:1577)
  |         at 
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.jav
  | a:1557)
  |         at java.lang.Thread.run(Thread.java:595)
  | WARN Could not destroy component: searchResult[color]
  | java.lang.NullPointerException
  |         at 
org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:98)
  |         at $Proxy12.destroy(Unknown Source)
  |         at 
com.payvand.search.model.business.SearchResult$$FastClassByCGLIB$$afe27b7a.invoke(<generated>)
  |         at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
  |         at 
org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:45)
  |         at 
org.jboss.seam.intercept.ClientSideInterceptor$1.proceed(ClientSideInterceptor.java:73)
  |         at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:55)
  |         at 
org.jboss.seam.interceptors.RemoveInterceptor.removeIfNecessary(RemoveInterceptor.java:39
  | )
  |         at sun.reflect.GeneratedMethodAccessor68.invoke(Unknown Source)
  |         at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  |         at java.lang.reflect.Method.invoke(Method.java:585)
  |         at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
  |         at 
org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
  |         at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
  |         at 
org.jboss.seam.interceptors.ExceptionInterceptor.handleExceptions(ExceptionInterceptor.ja
  | va:38)
  |         at sun.reflect.GeneratedMethodAccessor65.invoke(Unknown Source)
  |         at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  |         at java.lang.reflect.Method.invoke(Method.java:585)
  |         at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
  |         at 
org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
  |         at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
  |         at 
org.jboss.seam.intercept.RootInterceptor.createSeamInvocationContext(RootInterceptor.java
  | :144)
  |         at 
org.jboss.seam.intercept.RootInterceptor.invokeInContexts(RootInterceptor.java:129)
  |         at 
org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:102)
  |         at 
org.jboss.seam.intercept.ClientSideInterceptor.interceptInvocation(ClientSideInterceptor.
  | java:82)
  |         at 
org.jboss.seam.intercept.ClientSideInterceptor.intercept(ClientSideInterceptor.java:51)
  |         at 
com.payvand.search.model.business.SearchResult$$EnhancerByCGLIB$$6e750b57_4.destroy(<generated>)
  |         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:585)
  |         at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
  |         at 
org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:102)
  |         at org.jboss.seam.Component.callComponentMethod(Component.java:1791)
  |         at org.jboss.seam.Component.callDestroyMethod(Component.java:1747)
  |         at org.jboss.seam.contexts.Contexts.destroy(Contexts.java:189)
  |         at org.jboss.seam.contexts.Lifecycle.endSession(Lifecycle.java:222)
  |         at 
org.jboss.seam.servlet.SeamListener.sessionDestroyed(SeamListener.java:45)
  |         at 
org.apache.catalina.session.StandardSession.expire(StandardSession.java:675)
  |         at 
org.apache.catalina.session.StandardSession.isValid(StandardSession.java:567)
  |         at 
org.apache.catalina.session.ManagerBase.processExpires(ManagerBase.java:655)
  |         at 
org.apache.catalina.session.ManagerBase.backgroundProcess(ManagerBase.java:640)
  |         at 
org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1283)
  |         at 
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(Conta
  | inerBase.j
  | ava:1568)
  |         at 
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(Conta
  | inerBase.j
  | ava:1577)
  |         at 
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(Conta
  | inerBase.j
  | ava:1577)
  |         at 
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.jav
  | a:1557)
  |         at java.lang.Thread.run(Thread.java:595)
  | 
  | WARN Could not destroy component: searchResult
  | 
  | java.lang.NullPointerException
  |         at 
org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:98)
  |         at $Proxy12.destroy(Unknown Source)
  |         at 
com.payvand.search.model.business.SearchResult$$FastClassByCGLIB$$afe27b7a.invoke(<generated>)
  |         at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
  |         at 
org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:45)
  |         at 
org.jboss.seam.intercept.ClientSideInterceptor$1.proceed(ClientSideInterceptor.java:73)
  |         at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:55)
  |         at 
org.jboss.seam.interceptors.RemoveInterceptor.removeIfNecessary(RemoveInterceptor.java:39
  | )
  |         at sun.reflect.GeneratedMethodAccessor68.invoke(Unknown Source)
  |         at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  |         at java.lang.reflect.Method.invoke(Method.java:585)
  |         at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
  |         at 
org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
  |         at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
  |         at 
org.jboss.seam.interceptors.ExceptionInterceptor.handleExceptions(ExceptionInterceptor.ja
  | va:38)
  |         at sun.reflect.GeneratedMethodAccessor65.invoke(Unknown Source)
  |         at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  |         at java.lang.reflect.Method.invoke(Method.java:585)
  |         at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
  |         at 
org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
  |         at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
  |         at 
org.jboss.seam.intercept.RootInterceptor.createSeamInvocationContext(RootInterceptor.java
  | :144)
  |         at 
org.jboss.seam.intercept.RootInterceptor.invokeInContexts(RootInterceptor.java:129)
  |         at 
org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:102)
  |         at 
org.jboss.seam.intercept.ClientSideInterceptor.interceptInvocation(ClientSideInterceptor.
  | java:82)
  |         at 
org.jboss.seam.intercept.ClientSideInterceptor.intercept(ClientSideInterceptor.java:51)
  |         at 
com.payvand.search.model.business.SearchResult$$EnhancerByCGLIB$$6e750b57_3.destroy(<generated>)
  |         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:585)
  |         at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
  |         at 
org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:102)
  |         at org.jboss.seam.Component.callComponentMethod(Component.java:1791)
  |         at org.jboss.seam.Component.callDestroyMethod(Component.java:1747)
  |         at org.jboss.seam.contexts.Contexts.destroy(Contexts.java:189)
  |         at org.jboss.seam.contexts.Lifecycle.endSession(Lifecycle.java:222)
  |         at 
org.jboss.seam.servlet.SeamListener.sessionDestroyed(SeamListener.java:45)
  |         at 
org.apache.catalina.session.StandardSession.expire(StandardSession.java:675)
  |         at 
org.apache.catalina.session.StandardSession.isValid(StandardSession.java:567)
  |         at 
org.apache.catalina.session.ManagerBase.processExpires(ManagerBase.java:655)
  |         at 
org.apache.catalina.session.ManagerBase.backgroundProcess(ManagerBase.java:640)
  |         at 
org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1283)
  |         at 
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(Conta
  | inerBase.j
  | ava:1568)
  |         at 
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(Conta
  | inerBase.j
  | ava:1577)
  |         at 
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(Conta
  | inerBase.j
  | ava:1577)
  |         at 
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.jav
  | a:1557)
  |         at java.lang.Thread.run(Thread.java:595)
  | WARN Could not destroy component: searchResult
  | java.lang.NullPointerException
  |         at 
org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:98)
  |         at $Proxy12.destroy(Unknown Source)
  |         at 
com.payvand.search.model.business.SearchResult$$FastClassByCGLIB$$afe27b7a.invoke(<generated>)
  |         at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
  |         at 
org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:45)
  |         at 
org.jboss.seam.intercept.ClientSideInterceptor$1.proceed(ClientSideInterceptor.java:73)
  |         at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:55)
  |         at 
org.jboss.seam.interceptors.RemoveInterceptor.removeIfNecessary(RemoveInterceptor.java:39
  | )
  |         at sun.reflect.GeneratedMethodAccessor68.invoke(Unknown Source)
  |         at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  |         at java.lang.reflect.Method.invoke(Method.java:585)
  |         at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
  |         at 
org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
  |         at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
  |         at 
org.jboss.seam.interceptors.ExceptionInterceptor.handleExceptions(ExceptionInterceptor.ja
  | va:38)
  |         at sun.reflect.GeneratedMethodAccessor65.invoke(Unknown Source)
  |         at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  |         at java.lang.reflect.Method.invoke(Method.java:585)
  |         at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
  |         at 
org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
  |         at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
  |         at 
org.jboss.seam.intercept.RootInterceptor.createSeamInvocationContext(RootInterceptor.java
  | :144)
  |         at 
org.jboss.seam.intercept.RootInterceptor.invokeInContexts(RootInterceptor.java:129)
  |         at 
org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:102)
  |         at 
org.jboss.seam.intercept.ClientSideInterceptor.interceptInvocation(ClientSideInterceptor.
  | java:82)
  |         at 
org.jboss.seam.intercept.ClientSideInterceptor.intercept(ClientSideInterceptor.java:51)
  |         at 
com.payvand.search.model.business.SearchResult$$EnhancerByCGLIB$$6e750b57_5.destroy(<generated>)
  |         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:585)
  |         at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
  |         at 
org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:102)
  |         at org.jboss.seam.Component.callComponentMethod(Component.java:1791)
  |         at org.jboss.seam.Component.callDestroyMethod(Component.java:1747)
  |         at org.jboss.seam.contexts.Contexts.destroy(Contexts.java:189)
  |         at org.jboss.seam.contexts.Lifecycle.endSession(Lifecycle.java:222)
  |         at 
org.jboss.seam.servlet.SeamListener.sessionDestroyed(SeamListener.java:45)
  |         at 
org.apache.catalina.session.StandardSession.expire(StandardSession.java:675)
  |         at 
org.apache.catalina.session.StandardSession.isValid(StandardSession.java:567)
  |         at 
org.apache.catalina.session.ManagerBase.processExpires(ManagerBase.java:655)
  |         at 
org.apache.catalina.session.ManagerBase.backgroundProcess(ManagerBase.java:640)
  |         at 
org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1283)
  |         at 
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(Conta
  | inerBase.j
  | ava:1568)
  |         at 
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(Conta
  | inerBase.j
  | ava:1577)
  |         at 
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(Conta
  | inerBase.j
  | ava:1577)
  |         at 
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.jav
  | a:1557)
  |         at java.lang.Thread.run(Thread.java:595)
  | 
  | WARN Could not destroy component: searchResult
  | 
  | java.lang.NullPointerException
  |         at 
org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:98)
  |         at $Proxy12.destroy(Unknown Source)
  |         at 
com.payvand.search.model.business.SearchResult$$FastClassByCGLIB$$afe27b7a.invoke(<generated>)
  |         at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
  |         at 
org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:45)
  |         at 
org.jboss.seam.intercept.ClientSideInterceptor$1.proceed(ClientSideInterceptor.java:73)
  |         at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:55)
  |         at 
org.jboss.seam.interceptors.RemoveInterceptor.removeIfNecessary(RemoveInterceptor.java:39
  | )
  |         at sun.reflect.GeneratedMethodAccessor68.invoke(Unknown Source)
  |         at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  |         at java.lang.reflect.Method.invoke(Method.java:585)
  |         at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
  |         at 
org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
  |         at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
  |         at 
org.jboss.seam.interceptors.ExceptionInterceptor.handleExceptions(ExceptionInterceptor.ja
  | va:38)
  |         at sun.reflect.GeneratedMethodAccessor65.invoke(Unknown Source)
  |         at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  |         at java.lang.reflect.Method.invoke(Method.java:585)
  |         at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
  |         at 
org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
  |         at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
  |         at 
org.jboss.seam.intercept.RootInterceptor.createSeamInvocationContext(RootInterceptor.java
  | :144)
  |         at 
org.jboss.seam.intercept.RootInterceptor.invokeInContexts(RootInterceptor.java:129)
  |         at 
org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:102)
  |         at 
org.jboss.seam.intercept.ClientSideInterceptor.interceptInvocation(ClientSideInterceptor.
  | java:82)
  |         at 
org.jboss.seam.intercept.ClientSideInterceptor.intercept(ClientSideInterceptor.java:51)
  |         at 
com.payvand.search.model.business.SearchResult$$EnhancerByCGLIB$$6e750b57_6.destroy(<generated>)
  |         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:585)
  |         at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
  |         at 
org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:102)
  |         at org.jboss.seam.Component.callComponentMethod(Component.java:1791)
  |         at org.jboss.seam.Component.callDestroyMethod(Component.java:1747)
  |         at org.jboss.seam.contexts.Contexts.destroy(Contexts.java:189)
  |         at org.jboss.seam.contexts.Lifecycle.endSession(Lifecycle.java:222)
  |         at 
org.jboss.seam.servlet.SeamListener.sessionDestroyed(SeamListener.java:45)
  |         at 
org.apache.catalina.session.StandardSession.expire(StandardSession.java:675)
  |         at 
org.apache.catalina.session.StandardSession.isValid(StandardSession.java:567)
  |         at 
org.apache.catalina.session.ManagerBase.processExpires(ManagerBase.java:655)
  |         at 
org.apache.catalina.session.ManagerBase.backgroundProcess(ManagerBase.java:640)
  |         at 
org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1283)
  |         at 
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(Conta
  | inerBase.j
  | ava:1568)
  |         at 
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(Conta
  | inerBase.j
  | ava:1577)
  |         at 
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(Conta
  | inerBase.j
  | ava:1577)
  |         at 
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.jav
  | a:1557)
  |         at java.lang.Thread.run(Thread.java:595)
  | 
  | WARN Could not destroy component: indexSearch
  | 
  | java.lang.NullPointerException
  |         at 
org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:98)
  |         at $Proxy17.destroy(Unknown Source)
  |         at 
com.payvand.search.model.business.IndexSearch$$FastClassByCGLIB$$c01a0ee5.invoke(<generated>)
  |         at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
  |         at 
org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:45)
  |         at 
org.jboss.seam.intercept.ClientSideInterceptor$1.proceed(ClientSideInterceptor.java:73)
  |         at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:55)
  |         at 
org.jboss.seam.interceptors.RemoveInterceptor.removeIfNecessary(RemoveInterceptor.java:39
  | )
  |         at sun.reflect.GeneratedMethodAccessor68.invoke(Unknown Source)
  |         at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  |         at java.lang.reflect.Method.invoke(Method.java:585)
  |         at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
  |         at 
org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
  |         at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
  |         at 
org.jboss.seam.interceptors.ExceptionInterceptor.handleExceptions(ExceptionInterceptor.ja
  | va:38)
  |         at sun.reflect.GeneratedMethodAccessor65.invoke(Unknown Source)
  |         at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  |         at java.lang.reflect.Method.invoke(Method.java:585)
  |         at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
  |         at 
org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
  |         at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
  |         at 
org.jboss.seam.interceptors.SynchronizationInterceptor.serialize(SynchronizationIntercept
  | or.java:30
  | )
  |         at sun.reflect.GeneratedMethodAccessor202.invoke(Unknown Source)
  |         at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  |         at java.lang.reflect.Method.invoke(Method.java:585)
  |         at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
  |         at 
org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
  |         at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
  |         at 
org.jboss.seam.intercept.RootInterceptor.createSeamInvocationContext(RootInterceptor.java
  | :144)
  |         at 
org.jboss.seam.intercept.RootInterceptor.invokeInContexts(RootInterceptor.java:129)
  |         at 
org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:102)
  |         at 
org.jboss.seam.intercept.ClientSideInterceptor.interceptInvocation(ClientSideInterceptor.
  | java:82)
  |         at 
org.jboss.seam.intercept.ClientSideInterceptor.intercept(ClientSideInterceptor.java:51)
  |         at 
com.payvand.search.model.business.IndexSearch$$EnhancerByCGLIB$$d99d7842.destroy(<generated>)
  |         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:585)
  |         at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
  |         at 
org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:102)
  |         at org.jboss.seam.Component.callComponentMethod(Component.java:1791)
  |         at org.jboss.seam.Component.callDestroyMethod(Component.java:1747)
  |         at org.jboss.seam.contexts.Contexts.destroy(Contexts.java:189)
  |         at org.jboss.seam.contexts.Lifecycle.endSession(Lifecycle.java:230)
  |         at 
org.jboss.seam.servlet.SeamListener.sessionDestroyed(SeamListener.java:45)
  |         at 
org.apache.catalina.session.StandardSession.expire(StandardSession.java:675)
  |         at 
org.apache.catalina.session.StandardSession.isValid(StandardSession.java:567)
  |         at 
org.apache.catalina.session.ManagerBase.processExpires(ManagerBase.java:655)
  |         at 
org.apache.catalina.session.ManagerBase.backgroundProcess(ManagerBase.java:640)
  |         at 
org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1283)
  |         at 
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(Conta
  | inerBase.j
  | ava:1568)
  |         at 
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(Conta
  | inerBase.j
  | ava:1577)
  |         at 
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(Conta
  | inerBase.j
  | ava:1577)
  |         at 
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.jav
  | a:1557)
  |         at java.lang.Thread.run(Thread.java:595)
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015595#4015595

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4015595
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to