1 Reply Latest reply: May 14, 2013 2:51 PM by User738616-Oracle RSS

    java.lang.IllegalStateException: missing external value for attribute

    1007823
      Hi all,

      We are getting the below exception (not consistently) while involking JSF application deployed in weblogic coherence server .

      Caused by: java.lang.IllegalStateException: missing external value for attribute "carrierBean" of session id "Qq80zJxNHxM3S6k6ZCqmrUrqUK6Qgm3VVRSTxvkUR6x0DWMNJRae"
           at com.tangosol.coherence.servlet.SplittableHolder.ensureInternalBinary(SplittableHolder.java:169)
           at com.tangosol.coherence.servlet.OptimizedHolder.getValue(OptimizedHolder.java:64)
           at com.tangosol.coherence.servlet.SplittableHolder.getValue(SplittableHolder.java:56)
           at com.tangosol.coherence.servlet.AbstractHttpSessionModel.getAttribute(AbstractHttpSessionModel.java:130)
           at com.tangosol.coherence.servlet.api23.HttpSessionImpl.getAttribute(HttpSessionImpl.java:81)
           at weblogic.servlet.internal.session.CoherenceWebSessionData$HttpSessionImpl.getAttribute(CoherenceWebSessionData.java:462)
           at weblogic.servlet.internal.session.CoherenceWebSessionData.getAttribute(CoherenceWebSessionData.java:351)
           at com.sun.faces.context.SessionMap.get(ExternalContextImpl.java:569)
           at com.sun.faces.el.VariableResolverImpl.resolveVariable(VariableResolverImpl.java:90)
           at oracle.adfinternal.view.faces.el.AdfFacesVariableResolver.resolveVariable(AdfFacesVariableResolver.java:40)
           at com.sun.faces.el.impl.NamedValue.evaluate(NamedValue.java:145)
           at com.sun.faces.el.impl.ComplexValue.evaluate(ComplexValue.java:166)
           at com.sun.faces.el.impl.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:263)
           at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:160)
           at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:143)
           at javax.faces.component.UIOutput.getValue(UIOutput.java:167)
           at org.richfaces.component.UITabPanel.getValue(UITabPanel.java:70)
           at org.richfaces.component.UITabPanel.getRenderedValue(UITabPanel.java:96)
           at org.richfaces.component.UITabPanel.restoreState(UITabPanel.java:137)
           at org.richfaces.component.html.HtmlTabPanel.restoreState(HtmlTabPanel.java:1019)
           at javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1032)
           at javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1044)
           at javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1044)
           at javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1044)
           at javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1044)
           at javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1044)
           at javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1044)
           at javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1044)
           at javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1044)
           at javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1044)
           at javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1044)
           at javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1044)
           at org.ajax4jsf.application.AjaxStateManager.restoreView(AjaxStateManager.java:246)
           at com.sun.faces.application.ViewHandlerImpl.restoreView(ViewHandlerImpl.java:250)
           at org.ajax4jsf.application.ViewHandlerWrapper.restoreView(ViewHandlerWrapper.java:116)
           at org.ajax4jsf.application.AjaxViewHandler.restoreView(AjaxViewHandler.java:159)
           at oracle.adfinternal.view.faces.application.ViewHandlerImpl.restoreView(ViewHandlerImpl.java:235)
           at org.ajax4jsf.application.ViewHandlerWrapper.restoreView(ViewHandlerWrapper.java:116)
           at org.ajax4jsf.application.AjaxViewHandler.restoreView(AjaxViewHandler.java:159)
           at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:177)
           at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
           at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:112)
           at javax.faces.webapp.FacesServlet.service(FacesServlet.java:213)
           ... 21 more

      Any help is appreciated.......
      Thanking you all in advance.
        • 1. Re: java.lang.IllegalStateException: missing external value for attribute
          User738616-Oracle
          Hi,

          What locking mode are you using : http://coherence.oracle.com/display/COH35UG/Coherence*Web+Locking+Modes

          It is possible that that another thread has concurrently removed the attribute when this thread is accessing the session attribute.

          HTH

          Cheers,
          _NJ