9 Replies Latest reply: Aug 2, 2013 2:55 AM by sotaof RSS

    how to resolve "Attempt to validate an already invalid RegionSite"

    swath
      Hi,

      In my scenario I need to navigate between the 2 pages..page1 and page2..if the record exists in DB it should navigate to page1 , otherwise navigation should be to page2. To implement this I have created a method in AM to check the entry in database.
      Then I am trying to call ApplicationModule Client Interface method in my task flow as the default activity and based on the output from that method I am trying to navigate between the pages.

      I am getting the below error during the page load..please suggest me some solution for this issue.

      Error:
      <UIXRegion$RegionSiteImpl> <validate> Attempt to validate an already invalid RegionSite:
      <LifecycleImpl> <_handleException> ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase RENDER_RESPONSE 6
      java.lang.IllegalStateException: Attempt to validate an already invalid RegionSite:
           at oracle.adf.view.rich.component.fragment.UIXRegion$RegionSiteImpl.validate(UIXRegion.java:993)
           at oracle.adf.view.rich.component.fragment.UIXRegion$RegionContextChange.doChangeImpl(UIXRegion.java:1198)
           at oracle.adf.view.rich.context.DoableContextChange.doChange(DoableContextChange.java:91)
           at oracle.adf.view.rich.component.fragment.UIXRegion._beginInterruptibleRegion(UIXRegion.java:693)
           at oracle.adf.view.rich.component.fragment.UIXRegion.encodeBegin(UIXRegion.java:279)
           at javax.faces.component.UIComponent.encodeAll(UIComponent.java:928)
           at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:399)
           at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2633)
           at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:415)
           at oracle.adfinternal.view.faces.renderkit.rich.FormRenderer.encodeAll(FormRenderer.java:220)
           at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
           at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
           at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
           at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
           at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:399)
           at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2633)
           at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:415)
           at oracle.adfinternal.view.faces.renderkit.rich.DocumentRenderer.encodeAll(DocumentRenderer.java:1273)
           at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
           at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
           at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
           at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
           at javax.faces.component.UIComponent.encodeAll(UIComponent.java:933)
           at com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:266)
           at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:197)
           at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189)
           at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:193)
           at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:800)
           at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:294)
           at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:214)
           at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
           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:300)
           at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
           at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
           at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
           at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
           at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
           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:56)
           at oracle.wcps.client.PersonalizationFilter.doFilter(PersonalizationFilter.java:75)
           at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
           at oracle.webcenter.content.integration.servlets.ContentServletFilter.doFilter(ContentServletFilter.java:168)
           at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
           at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:175)
           at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
           at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
           at java.security.AccessController.doPrivileged(Native Method)
           at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
           at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
           at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
           at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
           at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
           at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
           at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
           at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
           at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
           at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
           at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
           at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
           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:2277)
           at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
           at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
           at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
           at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
      <Feb 29, 2012 5:22:10 PM IST> <Error> <HTTP> <BEA-101020> <[ServletContext@19025740[app:planning module:planning-MscPlanPlanningCommonPublicUiMeasures-context-root path:/planning-MscPlanPlanningCommonPublicUiMeasures-context-root spec-version:2.5 version:V2.0]] Servlet failed with Exception
      java.lang.IllegalStateException: Attempt to validate an already invalid RegionSite:
           at oracle.adf.view.rich.component.fragment.UIXRegion$RegionSiteImpl.validate(UIXRegion.java:993)
           at oracle.adf.view.rich.component.fragment.UIXRegion$RegionContextChange.doChangeImpl(UIXRegion.java:1198)
           at oracle.adf.view.rich.context.DoableContextChange.doChange(DoableContextChange.java:91)
           at oracle.adf.view.rich.component.fragment.UIXRegion._beginInterruptibleRegion(UIXRegion.java:693)
           at oracle.adf.view.rich.component.fragment.UIXRegion.encodeBegin(UIXRegion.java:279)
           Truncated. see log file for complete stacktrace
      >
      <Feb 29, 2012 5:22:10 PM IST> <Notice> <Diagnostics> <BEA-320068> <Watch 'UncheckedException' with severity 'Notice' on server 'DefaultServer' has triggered at Feb 29, 2012 5:22:10 PM IST. Notification details: 
      WatchRuleType: Log 
      WatchRule: (SEVERITY = 'Error') AND ((MSGID = 'WL-101020') OR (MSGID = 'WL-101017') OR (MSGID = 'WL-000802') OR (MSGID = 'BEA-101020') OR (MSGID = 'BEA-101017') OR (MSGID = 'BEA-000802')) 
      WatchData: DATE = Feb 29, 2012 5:22:10 PM IST SERVER = DefaultServer MESSAGE = [ServletContext@19025740[app:planning module:planning-MscPlanPlanningCommonPublicUiMeasures-context-root path:/planning-MscPlanPlanningCommonPublicUiMeasures-context-root spec-version:2.5 version:V2.0]] Servlet failed with Exception
      java.lang.IllegalStateException: Attempt to validate an already invalid RegionSite:
           at oracle.adf.view.rich.component.fragment.UIXRegion$RegionSiteImpl.validate(UIXRegion.java:993)
           at oracle.adf.view.rich.component.fragment.UIXRegion$RegionContextChange.doChangeImpl(UIXRegion.java:1198)
           at oracle.adf.view.rich.context.DoableContextChange.doChange(DoableContextChange.java:91)
           at oracle.adf.view.rich.component.fragment.UIXRegion._beginInterruptibleRegion(UIXRegion.java:693)
           at oracle.adf.view.rich.component.fragment.UIXRegion.encodeBegin(UIXRegion.java:279)
           at javax.faces.component.UIComponent.encodeAll(UIComponent.java:928)
           at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:399)
           at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2633)
           at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:415)
           at oracle.adfinternal.view.faces.renderkit.rich.FormRenderer.encodeAll(FormRenderer.java:220)
           at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
           at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
           at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
           at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
           at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:399)
           at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2633)
           at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:415)
           at oracle.adfinternal.view.faces.renderkit.rich.DocumentRenderer.encodeAll(DocumentRenderer.java:1273)
           at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
           at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
           at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
           at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
           at javax.faces.component.UIComponent.encodeAll(UIComponent.java:933)
           at com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:266)
           at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:197)
           at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189)
           at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:193)
           at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:800)
           at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:294)
           at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:214)
           at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
           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:300)
           at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
           at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
           at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
           at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
           at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
           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:56)
           at oracle.wcps.client.PersonalizationFilter.doFilter(PersonalizationFilter.java:75)
           at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
           at oracle.webcenter.content.integration.servlets.ContentServletFilter.doFilter(ContentServletFilter.java:168)
           at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
           at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:175)
           at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
           at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
           at java.security.AccessController.doPrivileged(Native Method)
           at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
           at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
           at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
           at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
           at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
           at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
           at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
           at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
           at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
           at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
           at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
           at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
           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:2277)
           at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
           at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
           at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
           at weblogic.work.ExecuteThread.run(ExecuteThread.java:178) 
        • 1. Re: how to resolve "Attempt to validate an already invalid RegionSite"
          SantoshVaza
          Hi,

          check whether you have create table rights in your schema ??
          Because framework might not be able to create a PS_TXN table....

          Alternatively if it doesnot helps then you can try running your appln with -Djbo.debugoutput=console enabled in JAVA options.


          Regards,
          Santosh
          • 2. Re: how to resolve "Attempt to validate an already invalid RegionSite"
            swath
            after running with -Djbo.debugoutput=console , the error is not coming..not sure how it got resolved..
            • 4. Re: how to resolve "Attempt to validate an already invalid RegionSite"
              920709
              I create a bounded taskflow ,named puz07btf1 using page fragments.
              I create a jsf page (index.jsf) ,I drag and drop the puz07btf1 to jsf page as a region model.

              In my page fragment I have a tree table.
              I have set the "activation" property of region to "immediate". And I make sure that taskflow has default activity. And then I have set -Djbo.debugoutput=console in java options.

              But when i try to add row in my treetable I get the following error.
              <UIXRegion> <_logIllegalContextChangeMessage> ADF_FACES-10026:During the processing of the region component, either a context change was not found or it did not match the instance set up by the current component. Expected oracle.adf.view.rich.component.fragment.UIXRegion$RegionContextChange but found UIXCollection.CollectionComponentChange[Component class: oracle.adf.view.rich.component.rich.data.RichTreeTable, component ID: tt1].
              <UIXRegion> <getRegionModel> 
              java.lang.IllegalStateException: The expression "#{bindings.puz07btf1.regionModel}" (that was specified for the RegionModel "value" attribute of the region component with id "r1") evaluated to null.
              This is typically due to an error in the configuration of the objects referenced by this expression.
              If it helps, the expression "#{bindings.puz07btf1}" evaluates to "null".
              If it helps, the expression "#{bindings}" evaluates to "puzzle_app_puz07_view_pageDefs_puz07p02PageDef_WEB_INF_puz07_btf_xml_puz07_btf".  Now using an empty RegionModel instead.
                   at oracle.adf.view.rich.component.fragment.UIXRegion.getRegionModel(UIXRegion.java:477)
                   at oracle.adf.view.rich.component.fragment.UIXRegion._beginInterruptibleRegion(UIXRegion.java:751)
                   at oracle.adf.view.rich.component.fragment.UIXRegion.processRegion(UIXRegion.java:525)
                   at oracle.adfinternal.view.faces.facelets.rich.RegionHandler._processRegion(RegionHandler.java:142)
                   at oracle.adfinternal.view.faces.facelets.rich.RegionHandler.applyNextHandler(RegionHandler.java:61)
                   at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:184)
                   at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
                   at com.sun.faces.facelets.tag.jsf.core.FacetHandler.apply(FacetHandler.java:104)
                   at oracle.adfinternal.view.faces.facelets.rich.IncludeHandler._apply(IncludeHandler.java:128)
                   at oracle.adfinternal.view.faces.facelets.rich.IncludeHandler.includeDefinition(IncludeHandler.java:156)
                   at oracle.adfinternal.view.faces.facelets.rich.FacetRefHandler.applyNextHandler(FacetRefHandler.java:41)
                   at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:184)
                   at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
                   at com.sun.faces.facelets.tag.jsf.core.FacetHandler.apply(FacetHandler.java:104)
                   at javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
                   at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:184)
                   at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
                   at com.sun.faces.facelets.tag.jsf.core.FacetHandler.apply(FacetHandler.java:104)
                   at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:98)
                   at javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
                   at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:184)
                   at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
                   at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:98)
                   at oracle.adfinternal.view.faces.facelets.rich.IncludeDefHandler.apply(IncludeDefHandler.java:68)
                   at com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:93)
                   at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:98)
                   at com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:82)
                   at com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:308)
                   at com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:367)
                   at com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:346)
                   at com.sun.faces.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:199)
                   at oracle.adfinternal.view.faces.facelets.rich.IncludeHandler.applyNextHandler(IncludeHandler.java:77)
                   at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:184)
                   at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
                   at javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
                   at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:184)
                   at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
                   at javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
                   at oracle.adfinternal.view.faces.facelets.rich.RichDocumentHandler.applyNextHandler(RichDocumentHandler.java:68)
                   at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:184)
                   at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
                   at com.sun.faces.facelets.tag.jsf.core.ViewHandler.apply(ViewHandler.java:167)
                   at com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:93)
                   at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:98)
                   at com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:82)
                   at com.sun.faces.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:152)
                   at com.sun.faces.application.view.FaceletViewHandlingStrategy.buildView(FaceletViewHandlingStrategy.java:744)
                   at org.apache.myfaces.trinidadinternal.application.ViewDeclarationLanguageFactoryImpl$ChangeApplyingVDLWrapper.buildView(ViewDeclarationLanguageFactoryImpl.java:341)
                   at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:982)
                   at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:334)
                   at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:232)
                   at javax.faces.webapp.FacesServlet.service(FacesServlet.java:313)
                   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:300)
                   at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
                   at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
                   at oracle.adf.share.http.ServletADFFilter.doFilter(ServletADFFilter.java:65)
                   at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
                   at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:122)
                   at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
                   at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
                   at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
                   at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
                   at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
                   at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
                   at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
                   at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)
                   at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
                   at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:180)
                   at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
                   at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
                   at java.security.AccessController.doPrivileged(Native Method)
                   at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
                   at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
                   at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
                   at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
                   at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
                   at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
                   at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
                   at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
                   at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
                   at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
                   at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
                   at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
                   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:2277)
                   at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
                   at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
                   at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
                   at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
              
              <UIXRegion$RegionSiteImpl> <validate> Attempt to validate an already invalid RegionSite:
              <LifecycleImpl> <_handleException> ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase RENDER_RESPONSE 6
              java.lang.IllegalStateException: Attempt to validate an already invalid RegionSite:
                   at oracle.adf.view.rich.component.fragment.UIXRegion$RegionSiteImpl.validate(UIXRegion.java:1152)
                   at oracle.adf.view.rich.component.fragment.UIXRegion$RegionContextChange.doChangeImpl(UIXRegion.java:1389)
                   at oracle.adf.view.rich.context.DoableContextChange.doChange(DoableContextChange.java:91)
                   at oracle.adf.view.rich.component.fragment.UIXRegion._beginInterruptibleRegion(UIXRegion.java:762)
                   at oracle.adf.view.rich.component.fragment.UIXRegion.processRegion(UIXRegion.java:525)
                   at oracle.adfinternal.view.faces.facelets.rich.RegionHandler._processRegion(RegionHandler.java:142)
                   at oracle.adfinternal.view.faces.facelets.rich.RegionHandler.applyNextHandler(RegionHandler.java:61)
                   at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:184)
                   at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
                   at com.sun.faces.facelets.tag.jsf.core.FacetHandler.apply(FacetHandler.java:104)
                   at oracle.adfinternal.view.faces.facelets.rich.IncludeHandler._apply(IncludeHandler.java:128)
                   at oracle.adfinternal.view.faces.facelets.rich.IncludeHandler.includeDefinition(IncludeHandler.java:156)
                   at oracle.adfinternal.view.faces.facelets.rich.FacetRefHandler.applyNextHandler(FacetRefHandler.java:41)
                   at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:184)
                   at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
                   at com.sun.faces.facelets.tag.jsf.core.FacetHandler.apply(FacetHandler.java:104)
                   at javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
                   at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:184)
                   at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
                   at com.sun.faces.facelets.tag.jsf.core.FacetHandler.apply(FacetHandler.java:104)
                   at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:98)
                   at javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
                   at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:184)
                   at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
                   at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:98)
                   at oracle.adfinternal.view.faces.facelets.rich.IncludeDefHandler.apply(IncludeDefHandler.java:68)
                   at com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:93)
                   at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:98)
                   at com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:82)
                   at com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:308)
                   at com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:367)
                   at com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:346)
                   at com.sun.faces.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:199)
                   at oracle.adfinternal.view.faces.facelets.rich.IncludeHandler.applyNextHandler(IncludeHandler.java:77)
                   at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:184)
                   at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
                   at javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
                   at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:184)
                   at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
                   at javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
                   at oracle.adfinternal.view.faces.facelets.rich.RichDocumentHandler.applyNextHandler(RichDocumentHandler.java:68)
                   at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:184)
                   at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
                   at com.sun.faces.facelets.tag.jsf.core.ViewHandler.apply(ViewHandler.java:167)
                   at com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:93)
                   at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:98)
                   at com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:82)
                   at com.sun.faces.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:152)
                   at com.sun.faces.application.view.FaceletViewHandlingStrategy.buildView(FaceletViewHandlingStrategy.java:744)
                   at org.apache.myfaces.trinidadinternal.application.ViewDeclarationLanguageFactoryImpl$ChangeApplyingVDLWrapper.buildView(ViewDeclarationLanguageFactoryImpl.java:341)
                   at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:982)
                   at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:334)
                   at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:232)
                   at javax.faces.webapp.FacesServlet.service(FacesServlet.java:313)
                   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:300)
                   at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
                   at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
                   at oracle.adf.share.http.ServletADFFilter.doFilter(ServletADFFilter.java:65)
                   at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
                   at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:122)
                   at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
                   at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
                   at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
                   at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
                   at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
                   at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
                   at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
                   at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)
                   at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
                   at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:180)
                   at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
                   at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
                   at java.security.AccessController.doPrivileged(Native Method)
                   at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
                   at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
                   at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
                   at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
                   at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
                   at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
                   at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
                   at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
                   at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
                   at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
                   at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
                   at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
                   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:2277)
                   at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
                   at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
                   at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
              Please help.
              • 5. Re: how to resolve "Attempt to validate an already invalid RegionSite"
                Frank Nimphius-Oracle
                Hi,

                the error usually shows if there is no default activity defined in a task flow. Make sure you have a default activity defined in your task flow. If you use a task flow template, make sure the default activity is not marked there unless all other control flow cases are wild card flows.

                Frank
                • 6. Re: how to resolve "Attempt to validate an already invalid RegionSite"
                  920709
                  thanks for replying sir,
                  But I've made sure my bounded task flow has default activity. and in this case I used task flow template which using wild card.

                  I wonder what may be the issue, may be I miss something but i don't know what it is exactly.
                  • 7. Re: how to resolve "Attempt to validate an already invalid RegionSite"
                    sotaof

                    good , I have solved !  thank you!

                      by  sotaof

                    • 8. Re: how to resolve "Attempt to validate an already invalid RegionSite"
                      ansh

                      HI,

                       

                      What was the exact problem behind this? How did it resolve?

                       

                      Regards,

                      Ansh

                      • 9. Re: how to resolve "Attempt to validate an already invalid RegionSite"
                        sotaof

                        Hello, my English is not good ,  but  I have a try to let you know what I said.

                        maybe the question is the taskflow you built that is used by ".jspx" . you can drop the taskflow and new a taskflow again.

                        by  sotaof