You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org> on 2010/09/01 04:45:54 UTC
[jira] Resolved: (MYFACES-2887) IllegalAccessException restoring
custom behavior state
[ https://issues.apache.org/jira/browse/MYFACES-2887?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Leonardo Uribe resolved MYFACES-2887.
-------------------------------------
Assignee: Leonardo Uribe
Fix Version/s: 2.0.2-SNAPSHOT
Resolution: Fixed
It is an error on BehaviorBase. Thanks for the example, it helps a lot.
> IllegalAccessException restoring custom behavior state
> ------------------------------------------------------
>
> Key: MYFACES-2887
> URL: https://issues.apache.org/jira/browse/MYFACES-2887
> Project: MyFaces Core
> Issue Type: Bug
> Components: JSR-314
> Affects Versions: 2.0.2-SNAPSHOT
> Reporter: Nick Belaevski
> Assignee: Leonardo Uribe
> Fix For: 2.0.2-SNAPSHOT
>
> Attachments: jsf2test.zip
>
>
> See test project attached. Clicking link leads to:
> 20.08.2010 13:58:41 org.apache.myfaces.renderkit.ErrorPageWriter handleThrowable
> SEVERE: An exception occurred
> javax.faces.FacesException: java.lang.RuntimeException: java.lang.IllegalAccessException: Class javax.faces.component.UIComponentBase can not access a member of class javax.faces.component.behavior._DeltaList with modifiers "public"
> at org.apache.myfaces.shared_impl.context.ExceptionHandlerImpl.wrap(ExceptionHandlerImpl.java:241)
> at org.apache.myfaces.shared_impl.context.ExceptionHandlerImpl.handle(ExceptionHandlerImpl.java:156)
> at org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:191)
> 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.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:619)
> Caused by: java.lang.RuntimeException: java.lang.IllegalAccessException: Class javax.faces.component.UIComponentBase can not access a member of class javax.faces.component.behavior._DeltaList with modifiers "public"
> at javax.faces.component.UIComponentBase.restoreAttachedState(UIComponentBase.java:1607)
> at javax.faces.component.behavior.BehaviorBase.restoreState(BehaviorBase.java:126)
> at javax.faces.component.UIComponentBase.restoreAttachedState(UIComponentBase.java:1615)
> at javax.faces.component._DeltaList.restoreState(_DeltaList.java:251)
> at javax.faces.component.UIComponentBase.restoreAttachedState(UIComponentBase.java:1615)
> at javax.faces.component.UIComponentBase.restoreFullBehaviorsMap(UIComponentBase.java:1790)
> at javax.faces.component.UIComponentBase.restoreState(UIComponentBase.java:1742)
> at javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1385)
> at javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1428)
> at javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1428)
> at javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1428)
> at javax.faces.component.UIViewRoot.processRestoreState(UIViewRoot.java:680)
> at org.apache.myfaces.application.jsp.JspStateManagerImpl.restoreView(JspStateManagerImpl.java:418)
> at org.apache.myfaces.shared_impl.view.ViewDeclarationLanguageBase.restoreView(ViewDeclarationLanguageBase.java:106)
> at org.apache.myfaces.view.facelets.FaceletViewDeclarationLanguage.restoreView(FaceletViewDeclarationLanguage.java:1277)
> at org.apache.myfaces.application.ViewHandlerImpl.restoreView(ViewHandlerImpl.java:278)
> at org.apache.myfaces.lifecycle.RestoreViewExecutor.execute(RestoreViewExecutor.java:123)
> at org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:171)
> ... 14 more
> Caused by: java.lang.IllegalAccessException: Class javax.faces.component.UIComponentBase can not access a member of class javax.faces.component.behavior._DeltaList 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 javax.faces.component.UIComponentBase.restoreAttachedState(UIComponentBase.java:1598)
> ... 31 more
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.