users@glassfish.java.net

SJAS 9.0u1 error: InjectionException: null invocation context

From: <glassfish_at_javadesktop.org>
Date: Thu, 12 Apr 2007 02:49:34 PDT

That error keeps comming up in the logs at different times, it gets reported against a few contexts all of which share a similar code base:

app1.ear
  app1.war
  sameejb.ejb (v1)
  samewar.war (v1)

app2.ear
  app2.war
  sameejb.ejb (v1.1)
  samewar.war (v.1)

There are 3-4 apps sharing that same structure, but the "same" modules they contain may be different versions between say app1 and app2

After a few hours of running the following error occurs:

com.sun.enterprise.InjectionException: null invocation context
com.sun.faces.spi.InjectionProviderException: com.sun.enterprise.InjectionException: null invocation context
        at com.sun.faces.vendor.GlassFishInjectionProvider.invokePreDestroy(GlassFishInjectionProvider.java:83)
        at com.sun.faces.application.ApplicationAssociate.handlePreDestroy(ApplicationAssociate.java:563)
        at com.sun.faces.application.WebappLifecycleListener.handleAttributeEvent(WebappLifecycleListener.java:226)
        at com.sun.faces.application.WebappLifecycleListener.sessionDestroyed(WebappLifecycleListener.java:107)
        at org.apache.catalina.session.StandardSession.expire(StandardSession.java:753)
        at org.apache.catalina.session.StandardSession.expire(StandardSession.java:711)
        at org.apache.catalina.session.StandardSession.isValid(StandardSession.java:627)
        at org.apache.catalina.session.StandardManager.processExpires(StandardManager.java:855)
        at org.apache.catalina.core.StandardContext.backgroundProcess(StandardContext.java:5053)
        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1645)
        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1634)
        at java.lang.Thread.run(Thread.java:595)
Caused by: com.sun.enterprise.InjectionException: null invocation context
        at com.sun.enterprise.util.InjectionManagerImpl.invokeInstancePreDestroy(InjectionManagerImpl.java:159)
        at com.sun.faces.vendor.GlassFishInjectionProvider.invokePreDestroy(GlassFishInjectionProvider.java:81)
        ... 11 more
[Message sent by forum member 'danielrhoades' (danielrhoades)]

http://forums.java.net/jive/thread.jspa?messageID=212047