java.lang.IllegalArgumentException: could not find UIData referenced by attribute dataScroller@for = 'fooey'

ICEsoft JIRA Issue Tracker | Neil Griffin | 6 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Here's some XHTML that I was using to create the composite component: <?xml version="1.0" encoding="UTF-8"?> <ui:component xmlns="http://www.w3.org/1999/xhtml" xmlns:f="http://java.sun.com/jsf/core" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:cc="http://java.sun.com/jsf/composite" xmlns:ice="http://www.icesoft.com/icefaces/component" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.w3.org/1999/xhtml http://www.w3.org/2002/08/xhtml/xhtml1-transitional.xsd"> <cc:interface> <cc:attribute name="for" required="true" /> <cc:attribute name="value" default="#{i18n['showing-x-x-of-x-results']}" required="false" /> <cc:attribute name="style" required="false" /> <cc:attribute name="styleClass" required="false" /> </cc:interface> <cc:implementation> <ice:dataPaginator for="#{cc.attrs.for}" firstRowIndexVar="firstRowIndex" lastRowIndexVar="lastRowIndex" pageCountVar="pageCount" pageIndexVar="pageIndex" rendered="#{cc.rendered}" rowsCountVar="rowsCount" style="#{cc.attrs.style}" styleClass="#{cc.attrs.styleClass} search-results"> <ice:outputFormat value="#{value}"> <f:param value="#{firstRowIndex}" /> <f:param value="#{lastRowIndex}" /> <f:param value="#{rowsCount}" /> <f:param value="#{pageIndex}" /> <f:param value="#{pageCount}" /> </ice:outputFormat> </ice:dataPaginator> </cc:implementation> </ui:component> And here is the error I get when I try to use the composite component with <foo:iceInfoDataPaginator for="mytable" /> java.lang.IllegalArgumentException: could not find UIData referenced by attribute dataScroller@for = 'fooey' at com.icesoft.faces.component.datapaginator.DataPaginator.findUIData(DataPaginator.java:338) at com.icesoft.faces.component.datapaginator.DataPaginator.getUIData(DataPaginator.java:227) at com.icesoft.faces.component.datapaginator.DataPaginator.isModelResultSet(DataPaginator.java:1106) at com.icesoft.faces.component.datapaginator.DataPaginatorRenderer.encodeBegin(DataPaginatorRenderer.java:205) at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:823) at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:298) at com.sun.faces.renderkit.html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:101) at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:848) at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1613) at com.sun.faces.renderkit.html_basic.CompositeRenderer.encodeChildren(CompositeRenderer.java:75) at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:848) at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:300) at com.sun.faces.renderkit.html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:101) at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:848) at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:300) at com.sun.faces.renderkit.html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:101) at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:848) at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:300) at com.sun.faces.renderkit.html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:101) at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:848)

    ICEsoft JIRA Issue Tracker | 6 years ago | Neil Griffin
    java.lang.IllegalArgumentException: could not find UIData referenced by attribute dataScroller@for = 'fooey'
  2. 0

    Here's some XHTML that I was using to create the composite component: <?xml version="1.0" encoding="UTF-8"?> <ui:component xmlns="http://www.w3.org/1999/xhtml" xmlns:f="http://java.sun.com/jsf/core" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:cc="http://java.sun.com/jsf/composite" xmlns:ice="http://www.icesoft.com/icefaces/component" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.w3.org/1999/xhtml http://www.w3.org/2002/08/xhtml/xhtml1-transitional.xsd"> <cc:interface> <cc:attribute name="for" required="true" /> <cc:attribute name="value" default="#{i18n['showing-x-x-of-x-results']}" required="false" /> <cc:attribute name="style" required="false" /> <cc:attribute name="styleClass" required="false" /> </cc:interface> <cc:implementation> <ice:dataPaginator for="#{cc.attrs.for}" firstRowIndexVar="firstRowIndex" lastRowIndexVar="lastRowIndex" pageCountVar="pageCount" pageIndexVar="pageIndex" rendered="#{cc.rendered}" rowsCountVar="rowsCount" style="#{cc.attrs.style}" styleClass="#{cc.attrs.styleClass} search-results"> <ice:outputFormat value="#{value}"> <f:param value="#{firstRowIndex}" /> <f:param value="#{lastRowIndex}" /> <f:param value="#{rowsCount}" /> <f:param value="#{pageIndex}" /> <f:param value="#{pageCount}" /> </ice:outputFormat> </ice:dataPaginator> </cc:implementation> </ui:component> And here is the error I get when I try to use the composite component with <foo:iceInfoDataPaginator for="mytable" /> java.lang.IllegalArgumentException: could not find UIData referenced by attribute dataScroller@for = 'fooey' at com.icesoft.faces.component.datapaginator.DataPaginator.findUIData(DataPaginator.java:338) at com.icesoft.faces.component.datapaginator.DataPaginator.getUIData(DataPaginator.java:227) at com.icesoft.faces.component.datapaginator.DataPaginator.isModelResultSet(DataPaginator.java:1106) at com.icesoft.faces.component.datapaginator.DataPaginatorRenderer.encodeBegin(DataPaginatorRenderer.java:205) at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:823) at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:298) at com.sun.faces.renderkit.html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:101) at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:848) at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1613) at com.sun.faces.renderkit.html_basic.CompositeRenderer.encodeChildren(CompositeRenderer.java:75) at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:848) at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:300) at com.sun.faces.renderkit.html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:101) at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:848) at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:300) at com.sun.faces.renderkit.html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:101) at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:848) at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:300) at com.sun.faces.renderkit.html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:101) at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:848)

    ICEsoft JIRA Issue Tracker | 6 years ago | Neil Griffin
    java.lang.IllegalArgumentException: could not find UIData referenced by attribute dataScroller@for = 'fooey'
  3. 0

    Binding problem

    Icesoft | 9 years ago | bmaizel
    javax.faces.FacesException: Problem in renderResponse: could not find UIData referenced by attribute dataScroller@for = 'table_id'
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    "could not find UIData referenced by attribute dataScroller"

    Icesoft | 9 years ago | ernest210
    java.lang.IllegalArgumentException: could not find UIData referenced by attribute dataScroller@for = 'dateOne'

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      could not find UIData referenced by attribute dataScroller@for = 'fooey'

      at com.icesoft.faces.component.datapaginator.DataPaginator.findUIData()
    2. com.icesoft.faces
      DataPaginatorRenderer.encodeBegin
      1. com.icesoft.faces.component.datapaginator.DataPaginator.findUIData(DataPaginator.java:338)
      2. com.icesoft.faces.component.datapaginator.DataPaginator.getUIData(DataPaginator.java:227)
      3. com.icesoft.faces.component.datapaginator.DataPaginator.isModelResultSet(DataPaginator.java:1106)
      4. com.icesoft.faces.component.datapaginator.DataPaginatorRenderer.encodeBegin(DataPaginatorRenderer.java:205)
      4 frames
    3. JavaEE 7
      UIComponentBase.encodeBegin
      1. javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:823)
      1 frame
    4. JSF
      GroupRenderer.encodeChildren
      1. com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:298)
      2. com.sun.faces.renderkit.html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:101)
      2 frames
    5. JavaEE 7
      UIComponent.encodeAll
      1. javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:848)
      2. javax.faces.component.UIComponent.encodeAll(UIComponent.java:1613)
      2 frames
    6. JSF
      CompositeRenderer.encodeChildren
      1. com.sun.faces.renderkit.html_basic.CompositeRenderer.encodeChildren(CompositeRenderer.java:75)
      1 frame
    7. JavaEE 7
      UIComponentBase.encodeChildren
      1. javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:848)
      1 frame
    8. JSF
      GroupRenderer.encodeChildren
      1. com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:300)
      2. com.sun.faces.renderkit.html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:101)
      2 frames
    9. JavaEE 7
      UIComponentBase.encodeChildren
      1. javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:848)
      1 frame
    10. JSF
      GroupRenderer.encodeChildren
      1. com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:300)
      2. com.sun.faces.renderkit.html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:101)
      2 frames
    11. JavaEE 7
      UIComponentBase.encodeChildren
      1. javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:848)
      1 frame
    12. JSF
      GroupRenderer.encodeChildren
      1. com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:300)
      2. com.sun.faces.renderkit.html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:101)
      2 frames
    13. JavaEE 7
      UIComponentBase.encodeChildren
      1. javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:848)
      1 frame