[richfaces-issues] [JBoss JIRA] (RF-12670) JSF 2.0 compatibility issue, NoSuchFieldError: javax/faces/component/visit/VisitHint.SKIP_ITERATION

Dupont Dupont (JIRA) jira-events at lists.jboss.org
Tue Dec 18 04:12:08 EST 2012


    [ https://issues.jboss.org/browse/RF-12670?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12742021#comment-12742021 ] 

Dupont Dupont commented on RF-12670:
------------------------------------

It should be possible by :
 * putting jsf 2.1 jars into WEB-INF/lib and setting classloader = PARENT_LAST.
 * or by adding jsf 2.1 into a shared lib.
I'll check it today.

I've also sent an email to IBM support to see if they are going to incorporate JSF 2.1.x into WAS 8.x anytime soon.
                
> JSF 2.0 compatibility issue, NoSuchFieldError: javax/faces/component/visit/VisitHint.SKIP_ITERATION
> ---------------------------------------------------------------------------------------------------
>
>                 Key: RF-12670
>                 URL: https://issues.jboss.org/browse/RF-12670
>             Project: RichFaces
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 4.3.0.M3
>            Reporter: Dupont Dupont
>             Fix For: 4.3.0.CR1
>
>
> When using RF 4.3.0-SNAPSHOT with a JSF 2.0 implementation (i.e. Websphere 8), I get a 
> {code}
> java.lang.NoSuchFieldError: javax/faces/component/visit/VisitHint.SKIP_ITERATION
>       at org.richfaces.component.UIDataAdaptor.requiresRowIteration(UIDataAdaptor.java:1387)
>       at org.richfaces.component.UIDataAdaptor.visitTree(UIDataAdaptor.java:1304)
>       at javax.faces.component.UIComponent.visitTree(UIComponent.java:793)
>       at javax.faces.component.UIComponentBase.visitTree(UIComponentBase.java:1007)
>       at javax.faces.component.UIForm.visitTree(UIForm.java:269)
>       at javax.faces.component.UIComponent.visitTree(UIComponent.java:793)
>       at javax.faces.component.UIComponentBase.visitTree(UIComponentBase.java:1007)
>       at javax.faces.component.UIComponent.visitTree(UIComponent.java:793)
>       at javax.faces.component.UIComponentBase.visitTree(UIComponentBase.java:1007)
>       at org.apache.myfaces.lifecycle.DefaultRestoreViewSupport.processComponentBinding(DefaultRestoreViewSupport.java:90)
>       at org.apache.myfaces.lifecycle.RestoreViewExecutor.execute(RestoreViewExecutor.java:142)
>       at org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:171)
>       at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
>       at 
> {code}
> RF 4.3.0-SNAPSHOT is using an API introduced with JSF 2.1 in UIDataAdaptor.
> See https://github.com/richfaces/components/commit/d65e614ef03adf87c0b6df2288689f0fd78d3a77#common/ui/src/main/java/org/richfaces/component/UIDataAdaptor.java

--
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


More information about the richfaces-issues mailing list