Stevan Malesevic created TRINIDAD-2297:
------------------------------------------

             Summary: exception from comp reference
                 Key: TRINIDAD-2297
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-2297
             Project: MyFaces Trinidad
          Issue Type: Bug
          Components: Components
            Reporter: Stevan Malesevic


In one of applications we see a exception call stack like this:

Caused by: java.lang.IllegalStateException: The component 
RichTable[org.apache.myfaces.trinidad.component.UIXTable$RowKeyFacesBeanWrapper@1e2dc0cd,
 id=table1] is NOT connected to the component tree
at 
org.apache.myfaces.trinidad.util.ComponentReference.calculateComponentPath(ComponentReference.java:370)
at 
org.apache.myfaces.trinidad.util.ComponentReference$DeferredComponentReference.getScopedId(ComponentReference.java:629)
at 
org.apache.myfaces.trinidad.util.ComponentReference$DeferredComponentReference.ensureInitialization(ComponentReference.java:604)
at 
org.apache.myfaces.trinidadinternal.config.GlobalConfiguratorImpl._finishComponentReferenceInitialization(GlobalConfiguratorImpl.java:538)
at 
org.apache.myfaces.trinidadinternal.config.GlobalConfiguratorImpl._releaseRequestContext(GlobalConfiguratorImpl.java:501)
at 
org.apache.myfaces.trinidadinternal.config.GlobalConfiguratorImpl.endRequest(GlobalConfiguratorImpl.java:301)
at 
org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$CacheRenderKit.release(FacesContextFactoryImpl.java:230)

Problems here are:
1) Exception is thrown before all ComponentReferences are fixed
2) Since exception is thrown FacesContextFactoryImpl$CacheRenderKit.release 
never gets a chance to call _base.release() which means release doesn't finish 
completlly

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to