Uploaded image for project: 'RichFaces'
  1. RichFaces
  2. RF-12670

JSF 2.0 compatibility issue, NoSuchFieldError: javax/faces/component/visit/VisitHint.SKIP_ITERATION

    Details

    • Sprint:
      4.3.0.CR1 - Regression Fixes

      Description

      When using RF 4.3.0-SNAPSHOT with a JSF 2.0 implementation (i.e. Websphere 8), I get a

      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 
      

      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

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                bleathem Brian Leathem
                Reporter:
                gonzalad Dupont Dupont
              • Votes:
                1 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 30 minutes
                  30m
                  Remaining:
                  Remaining Estimate - 30 minutes
                  30m
                  Logged:
                  Time Spent - Not Specified
                  Not Specified