[ https://issues.apache.org/jira/browse/TRINIDAD-2211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13686092#comment-13686092 ]
Joji Avirachan commented on TRINIDAD-2211: ------------------------------------------ Hi, We also would like to know when the fix for this will be released. Our project also has the same issue. Thanks Joji > StateUtils$Saver illegally accessing private > UIXComponentBase$ComponentSystemEventListenerWrapper > ------------------------------------------------------------------------------------------------- > > Key: TRINIDAD-2211 > URL: https://issues.apache.org/jira/browse/TRINIDAD-2211 > Project: MyFaces Trinidad > Issue Type: Bug > Affects Versions: 2.0.1-core > Environment: tomcat 6.0.20, myfaces 2.0.11, java 1.6.30, > trinidad-api-2.0.1-20110916.225506-35.jar > , trinidad-impl-2.0.1-20110916.225919-32.jar > Reporter: Caius Gran > Assignee: Scott O'Bryan > Attachments: Bug2211.java, bug_reproduce_TRINIDAD-2211_2.jspx, > bug_reproduce_TRINIDAD-2211.jspx, UIXComponentBase.patch > > > The following error appears when clicking an immediate navigation item on > navigation pane: > java.lang.IllegalAccessException: Class > org.apache.myfaces.trinidad.bean.util.StateUtils$Saver can not access a > member of class > org.apache.myfaces.trinidad.component.UIXComponentBase$ComponentSystemEventListenerWrapper > with modifiers "public" > at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:65) > at java.lang.Class.newInstance0(Class.java:349) > at java.lang.Class.newInstance(Class.java:308) > at > org.apache.myfaces.trinidad.bean.util.StateUtils$Saver.restoreState(StateUtils.java:576) > at > org.apache.myfaces.trinidad.bean.util.StateUtils$SHSaver.restoreState(StateUtils.java:605) > at > org.apache.myfaces.trinidad.bean.util.StateUtils.restoreStateHolder(StateUtils.java:454) > at > org.apache.myfaces.trinidad.bean.AttachedObjects.restoreState(AttachedObjects.java:262) > at > org.apache.myfaces.trinidad.bean.util.StateUtils$SHSaver.restoreState(StateUtils.java:607) > at > org.apache.myfaces.trinidad.bean.util.StateUtils.restoreStateHolder(StateUtils.java:454) > at > org.apache.myfaces.trinidad.bean.PropertyKey.restoreValue(PropertyKey.java:322) > at > org.apache.myfaces.trinidad.bean.util.StateUtils.restoreState(StateUtils.java:400) > at > org.apache.myfaces.trinidad.bean.util.FlaggedPropertyMap.restoreState(FlaggedPropertyMap.java:212) > at > org.apache.myfaces.trinidad.bean.FacesBeanImpl.restoreState(FacesBeanImpl.java:363) > at > org.apache.myfaces.trinidad.component.UIXFacesBeanImpl.restoreState(UIXFacesBeanImpl.java:151) > at > org.apache.myfaces.trinidad.component.UIXComponentBase.restoreState(UIXComponentBase.java:1152) > at > org.apache.myfaces.trinidad.component.UIXCollection.restoreState(UIXCollection.java:369) > at > org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeState.java:57) > at > org.apache.myfaces.trinidad.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:1090) > at > org.apache.myfaces.trinidad.component.UIXCollection.processRestoreState(UIXCollection.java:827) > at > org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeState.java:96) > at > org.apache.myfaces.trinidad.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:1090) > at > org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeState.java:96) > at > org.apache.myfaces.trinidad.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:1090) > at > org.apache.myfaces.trinidad.component.UIXCollection.processRestoreState(UIXCollection.java:827) > at > org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeState.java:96) > at > org.apache.myfaces.trinidad.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:1090) > at > org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeState.java:96) > at > org.apache.myfaces.trinidad.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:1090) > at > org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeState.java:96) > at > org.apache.myfaces.trinidad.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:1090) > at > org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeState.java:96) > at > org.apache.myfaces.trinidad.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:1090) > at > org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeState.java:96) > at > org.apache.myfaces.trinidad.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:1090) > at > org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeState.java:96) > at > org.apache.myfaces.trinidad.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:1090) > at > org.apache.myfaces.trinidad.component.UIXCollection.processRestoreState(UIXCollection.java:827) > at > org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeState.java:96) > at > org.apache.myfaces.trinidad.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:1090) > at > javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1540) > at > org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeState.java:96) > at > org.apache.myfaces.trinidad.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:1090) > at > org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeState.java:96) > at > org.apache.myfaces.trinidad.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:1090) > at > org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeState.java:144) > at > org.apache.myfaces.trinidad.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:1090) > at > org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeState.java:96) > at > org.apache.myfaces.trinidad.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:1090) > at > org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeState.java:96) > at > org.apache.myfaces.trinidad.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:1090) > at > org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeState.java:96) > at > org.apache.myfaces.trinidad.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:1090) > at > org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeState.java:96) > at > org.apache.myfaces.trinidad.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:1090) > at > org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeState.java:96) > at > org.apache.myfaces.trinidad.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:1090) > at > org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeState.java:96) > at > org.apache.myfaces.trinidad.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:1090) > at > org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeState.java:96) > at > org.apache.myfaces.trinidad.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:1090) > at > org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeState.java:96) > at > org.apache.myfaces.trinidad.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:1090) > at > javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1540) > at javax.faces.component.UIViewRoot.processRestoreState(UIViewRoot.java:748) > at > org.apache.myfaces.trinidadinternal.application.StateManagerImpl.restoreView(StateManagerImpl.java:734) > at > org.apache.myfaces.shared.view.ViewDeclarationLanguageBase.restoreView(ViewDeclarationLanguageBase.java:106) > at > org.apache.myfaces.view.facelets.FaceletViewDeclarationLanguage.restoreView(FaceletViewDeclarationLanguage.java:1683) > at > org.apache.myfaces.trinidadinternal.application.ViewDeclarationLanguageFactoryImpl$ChangeApplyingVDLWrapper.restoreView(ViewDeclarationLanguageFactoryImpl.java:335) > at > org.apache.myfaces.application.ViewHandlerImpl.restoreView(ViewHandlerImpl.java:279) > at > com.ocpsoft.pretty.faces.application.PrettyViewHandler.restoreView(PrettyViewHandler.java:109) > at > javax.faces.application.ViewHandlerWrapper.restoreView(ViewHandlerWrapper.java:83) > at > javax.faces.application.ViewHandlerWrapper.restoreView(ViewHandlerWrapper.java:83) > at > org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.restoreView(ViewHandlerImpl.java:242) > at > org.apache.myfaces.lifecycle.RestoreViewExecutor.execute(RestoreViewExecutor.java:124) > at > org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:171) > at > org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118) > at javax.faces.webapp.FacesServlet.service(FacesServlet.java:189) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > at > org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:357) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > 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 > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > at com.ocpsoft.pretty.PrettyFilter.doFilter(PrettyFilter.java:126) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) > at > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) > at > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) > at > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) > at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) > at > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) > at > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849) > at > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) > at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454) > at java.lang.Thread.run(Thread.java:662) > This error follows (or vice versa?) the above: > java.lang.NullPointerException > at > org.apache.myfaces.application.ApplicationImpl._traverseListenerList(ApplicationImpl.java:2131) > at > org.apache.myfaces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:539) > at > org.apache.myfaces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:569) > at > org.apache.myfaces.application.NavigationHandlerImpl$PreDisposeViewCallback.visit(NavigationHandlerImpl.java:226) > at > org.apache.myfaces.component.visit.FullVisitContext.invokeVisitCallback(FullVisitContext.java:139) > at > org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:531) > at > org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:354) > at > org.apache.myfaces.trinidad.component.UIXComponent.visitAllChildren(UIXComponent.java:437) > at > org.apache.myfaces.trinidad.component.UIXComponent.visitChildren(UIXComponent.java:415) > at > org.apache.myfaces.trinidad.component.UIXComponent.visitChildren(UIXComponent.java:695) > ... <SNIP> > at > org.apache.myfaces.trinidad.component.UIXComponent.visitAllChildren(UIXComponent.java:437) > at > org.apache.myfaces.trinidad.component.UIXComponent.visitChildren(UIXComponent.java:415) > at > org.apache.myfaces.trinidad.component.UIXComponent.visitChildren(UIXComponent.java:695) > at > org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:558) > at > org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:354) > at > org.apache.myfaces.trinidad.component.UIXDocument.visitTree(UIXDocument.java:82) > at javax.faces.component.UIComponent.visitTree(UIComponent.java:810) > at > javax.faces.component.UIComponentBase.visitTree(UIComponentBase.java:1073) > at > org.apache.myfaces.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:172) > at > com.ocpsoft.pretty.faces.application.PrettyNavigationHandler.handleNavigation(PrettyNavigationHandler.java:64) > at > org.apache.myfaces.trinidadinternal.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:117) > ... <SNIP> -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira