2 Replies Latest reply: Jul 3, 2014 10:40 AM by Sardar Nale RSS

    ADF Exception State ID in request is invalid for the current session.

    Sardar Nale

      Hi,

       

      We are getting below Exception on BPMN human task details form on click of action buttons like close.

      This issue occurs intermittently. Please find stack trace and image about the issue in attached file .


       

      JSPX page code :

      <af:panelGroupLayout id="pgl98Cls" layout="horizontal" >

      <af:commandButton text="Close" id="cb2"

      action="#{AccountDistribution.Cancel_Page}"/>

      <af:spacer width="10" id="s1"/>

      </af:panelGroupLayout>


       

      Java Code for Close button action:

      public String Cancel_Page() {

      return "closeTaskFlow";

      }



      Stack Trace :

       

      [2014-06-24T16:37:26.337-04:00] [wls_soa1] [ERROR] [] [oracle.adfinternal.controller.state.ControllerState] [tid: [ACTIVE].ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: fd803aaa73b00f8d:-35fd2bb:146ce2877cc:-8000-0000000000011bf8,0] [APP: AccountDistributionForJDE] [DSID: 0000KRF_WNU7i4Ugi5AhKo1JeOCl0004A_] [[

      oracle.adf.controller.internal.AdfcIllegalStateException: oracle.adf.controller.ControllerException: ADFC-12000: State ID in request is invalid for the current session.

          at oracle.adfinternal.controller.state.ControllerState.synchronizeStatePart2(ControllerState.java:551)

          at oracle.adfinternal.controller.application.SyncNavigationStateListener.afterPhase(SyncNavigationStateListener.java:79)

          at oracle.adfinternal.controller.lifecycle.ADFLifecycleImpl$PagePhaseListenerWrapper.afterPhase(ADFLifecycleImpl.java:538)

          at oracle.adfinternal.controller.lifecycle.LifecycleImpl.internalDispatchAfterEvent(LifecycleImpl.java:120)

          at oracle.adfinternal.controller.lifecycle.LifecycleImpl.dispatchAfterPagePhaseEvent(LifecycleImpl.java:168)

          at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$PhaseInvokerImpl.dispatchAfterPagePhaseEvent(ADFPhaseListener.java:310)

          at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:87)

          at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePhaseListener.java:53)

          at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:520)

          at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:207)

          at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)

          at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)

          at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)

          at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)

          at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)

          at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)

          at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)

          at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)

          at oracle.adf.share.http.ServletADFFilter.doFilter(ServletADFFilter.java:71)

          at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)

          at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:128)

          at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)

          at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)

          at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)

          at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)

          at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)

          at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)

          at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)

          at oracle.bpel.services.workflow.client.worklist.util.WorkflowFilter.doFilter(WorkflowFilter.java:175)

          at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)

          at oracle.bpel.services.workflow.client.worklist.util.DisableUrlSessionFilter.doFilter(DisableUrlSessionFilter.java:70)

          at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)

          at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:180)

          at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)

          at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)

          at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)

          at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)

          at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)

          at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)

          at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)

          at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)

          at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:163)

          at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)

          at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)

          at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)

          at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3748)

          at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3714)

          at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

          at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

          at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2283)

          at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2182)

          at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1491)

          at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)

          at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

      Caused by: oracle.adf.controller.ControllerException: ADFC-12000: State ID in request is invalid for the current session.

          ... 54 more

       

      ]]