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

Metamer: rich:inplaceInput, rich:inputNumberSlider: rich:inputNumberSpinner: rich:message: rich:messages: CSV: page with example failed to open

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 4.2.0.CR1
    • Fix Version/s: 4.2.0.CR1
    • Component/s: qe
    • Labels:
      None
    • Environment:

      RichFaces 4.2.0.CR1
      Metamer 4.2.0.20120130-CR1
      Mojarra 2.1.3-SNAPSHOT
      JBoss AS 7.0.2.Final
      Java(TM) SE Runtime Environment 1.6.0_26-b03 @ Linux
      Firefox 10.0 @ Linux i686

    • Steps to Reproduce:
      Hide

      1. Open Metamer page faces/components/richInplaceInput/csv.xhtml
      2. error message appears instead of example page

      Show
      1. Open Metamer page faces/components/richInplaceInput/csv.xhtml 2. error message appears instead of example page

      Description

      Open one from following pages

      • faces/components/richInplaceInput/csv.xhtml
      • faces/components/richInputNumberSlider/csv.xhtml
      • faces/components/richInputNumberSpinner/csv.xhtml
      • faces/components/richMessage/csv.xhtml
      • faces/components/richMessages/csv.xhtml
      • faces/components/richValidator/csv.xhtml
      • faces/components/richValidator/wrapping.xhtml
      • faces/components/richValidator/single.xhtml

      causes error page with following stack trace:
      java.lang.NoSuchMethodError: com.google.common.collect.ImmutableSet.copyOf(Ljava/util/Collection;)Lcom/google/common/collect/ImmutableSet;

      Stack trace on page
      java.lang.NoSuchMethodError: com.google.common.collect.ImmutableSet.copyOf(Ljava/util/Collection;)Lcom/google/common/collect/ImmutableSet;
      	org.richfaces.renderkit.html.ClientOnlyScript.<init>(ClientOnlyScript.java:35)
      	org.richfaces.renderkit.html.ClientValidatorRenderer.createValidatorScript(ClientValidatorRenderer.java:184)
      	org.richfaces.renderkit.html.ClientValidatorRenderer.createValidatorScript(ClientValidatorRenderer.java:154)
      	org.richfaces.renderkit.html.ClientValidatorRenderer.buildAndStoreValidatorScript(ClientValidatorRenderer.java:125)
      	org.richfaces.renderkit.html.ClientValidatorRenderer.getScript(ClientValidatorRenderer.java:60)
      	javax.faces.component.behavior.ClientBehaviorBase.getScript(ClientBehaviorBase.java:103)
      	org.richfaces.component.behavior.ClientValidatorImpl.getScript(ClientValidatorImpl.java:91)
      	org.richfaces.renderkit.RenderKitUtils.createBehaviorsChain(RenderKitUtils.java:282)
      	org.richfaces.renderkit.RenderKitUtils.getAttributeAndBehaviorsValue(RenderKitUtils.java:409)
      	org.richfaces.renderkit.RenderKitUtils.addToScriptHash(RenderKitUtils.java:621)
      	org.richfaces.renderkit.html.InplaceInputRenderer.encodeEnd(InplaceInputRenderer.java:447)
      	javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:875)
      	com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:312)
      	com.sun.faces.renderkit.html_basic.GridRenderer.renderRow(GridRenderer.java:185)
      	com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(GridRenderer.java:129)
      	javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:845)
      	javax.faces.component.UIComponent.encodeAll(UIComponent.java:1756)
      	javax.faces.render.Renderer.encodeChildren(Renderer.java:168)
      	javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:845)
      	com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:304)
      	com.sun.faces.renderkit.html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:105)
      	javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:845)
      	javax.faces.component.UIComponent.encodeAll(UIComponent.java:1756)
      	javax.faces.component.UIComponent.encodeAll(UIComponent.java:1759)
      	javax.faces.component.UIComponent.encodeAll(UIComponent.java:1759)
      	com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:401)
      	com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:131)
      	javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:288)
      	com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:121)
      	com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
      	com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
      	javax.faces.webapp.FacesServlet.service(FacesServlet.java:594)
      	org.richfaces.tests.metamer.TestIdentityFilter.doFilter(TestIdentityFilter.java:93)
      
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  jjamrich Ján Jamrich
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: