javax.faces.FacesException: Problem in renderResponse: could not find UIData referenced by attribute dataScroller@for = 'table_id'

Icesoft | bmaizel | 9 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 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'
  2. 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'
  3. 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'
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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'
  6. 0

    Universal Image Loader : IllegalArgumentException when using FileNameGenerator with extension

    Stack Overflow | 2 years ago
    java.lang.IllegalArgumentException: keys must match regex [a-z0-9_-] {1,64}: "1828294.jpg" at com.nostra13.universalimageloader.cache.disc.impl.ext.DiskLruCache.valida teKey(DiskLruCache.java:697) at com.nostra13.universalimageloader.cache.disc.impl.ext.DiskLruCache.get(Di skLruCache.java:414) at com.nostra13.universalimageloader.cache.disc.impl.ext.LruDiscCache.get(Lr uDiscCache.java:133) at com.nostra13.universalimageloader.core.ImageLoaderEngine$1.run(ImageLoade rEngine.java:72) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java :1112) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.jav a:587)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

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

      at com.icesoft.faces.component.datapaginator.DataPaginator.findUIData()
    2. com.icesoft.faces
      DataPaginatorRenderer.encodeBegin
      1. com.icesoft.faces.component.datapaginator.DataPaginator.findUIData(DataPaginator.java:333)
      2. com.icesoft.faces.component.datapaginator.DataPaginator.getUIData(DataPaginator.java:221)
      3. com.icesoft.faces.component.datapaginator.DataPaginator.isModelResultSet(DataPaginator.java:1088)
      4. com.icesoft.faces.component.datapaginator.DataPaginatorRenderer.encodeBegin(DataPaginatorRenderer.java:186)
      4 frames
    3. JavaEE 7
      UIComponentBase.encodeBegin
      1. javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:785)
      1 frame
    4. com.icesoft.faces
      GridRenderer.encodeChildren
      1. com.icesoft.faces.renderkit.dom_html_basic.DomBasicRenderer.encodeParentAndChildren(DomBasicRenderer.java:350)
      2. com.icesoft.faces.renderkit.dom_html_basic.GridRenderer.encodeChildren(GridRenderer.java:203)
      2 frames
    5. JavaEE 7
      UIComponentBase.encodeChildren
      1. javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:809)
      1 frame
    6. com.icesoft.faces
      GroupRenderer.encodeChildren
      1. com.icesoft.faces.renderkit.dom_html_basic.DomBasicRenderer.encodeParentAndChildren(DomBasicRenderer.java:352)
      2. com.icesoft.faces.renderkit.dom_html_basic.DomBasicRenderer.encodeParentAndChildren(DomBasicRenderer.java:358)
      3. com.icesoft.faces.renderkit.dom_html_basic.DomBasicRenderer.encodeParentAndChildren(DomBasicRenderer.java:358)
      4. com.icesoft.faces.renderkit.dom_html_basic.DomBasicRenderer.encodeParentAndChildren(DomBasicRenderer.java:358)
      5. com.icesoft.faces.renderkit.dom_html_basic.DomBasicRenderer.encodeParentAndChildren(DomBasicRenderer.java:358)
      6. com.icesoft.faces.renderkit.dom_html_basic.DomBasicRenderer.encodeParentAndChildren(DomBasicRenderer.java:358)
      7. com.icesoft.faces.renderkit.dom_html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:92)
      7 frames
    7. JavaEE 7
      UIComponentBase.encodeChildren
      1. javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:809)
      1 frame
    8. com.icesoft.faces
      PanelStackRenderer.encodeChildren
      1. com.icesoft.faces.component.util.CustomComponentUtils.renderChild(CustomComponentUtils.java:339)
      2. com.icesoft.faces.component.panelstack.PanelStackRenderer.encodeChildren(PanelStackRenderer.java:112)
      2 frames
    9. JavaEE 7
      UIComponentBase.encodeChildren
      1. javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:809)
      1 frame
    10. com.icesoft.faces
      GroupRenderer.encodeChildren
      1. com.icesoft.faces.renderkit.dom_html_basic.DomBasicRenderer.encodeParentAndChildren(DomBasicRenderer.java:352)
      2. com.icesoft.faces.renderkit.dom_html_basic.DomBasicRenderer.encodeParentAndChildren(DomBasicRenderer.java:358)
      3. com.icesoft.faces.renderkit.dom_html_basic.DomBasicRenderer.encodeParentAndChildren(DomBasicRenderer.java:358)
      4. com.icesoft.faces.renderkit.dom_html_basic.DomBasicRenderer.encodeParentAndChildren(DomBasicRenderer.java:358)
      5. com.icesoft.faces.renderkit.dom_html_basic.DomBasicRenderer.encodeParentAndChildren(DomBasicRenderer.java:358)
      6. com.icesoft.faces.renderkit.dom_html_basic.DomBasicRenderer.encodeParentAndChildren(DomBasicRenderer.java:358)
      7. com.icesoft.faces.renderkit.dom_html_basic.DomBasicRenderer.encodeParentAndChildren(DomBasicRenderer.java:358)
      8. com.icesoft.faces.renderkit.dom_html_basic.DomBasicRenderer.encodeParentAndChildren(DomBasicRenderer.java:358)
      9. com.icesoft.faces.renderkit.dom_html_basic.DomBasicRenderer.encodeParentAndChildren(DomBasicRenderer.java:358)
      10. com.icesoft.faces.renderkit.dom_html_basic.DomBasicRenderer.encodeParentAndChildren(DomBasicRenderer.java:358)
      11. com.icesoft.faces.renderkit.dom_html_basic.DomBasicRenderer.encodeParentAndChildren(DomBasicRenderer.java:358)
      12. com.icesoft.faces.renderkit.dom_html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:92)
      12 frames
    11. JavaEE 7
      UIComponentBase.encodeChildren
      1. javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:809)
      1 frame
    12. com.icesoft.faces
      PanelStackRenderer.encodeChildren
      1. com.icesoft.faces.component.util.CustomComponentUtils.renderChild(CustomComponentUtils.java:339)
      2. com.icesoft.faces.component.panelstack.PanelStackRenderer.encodeChildren(PanelStackRenderer.java:112)
      2 frames
    13. JavaEE 7
      UIComponentBase.encodeChildren
      1. javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:809)
      1 frame
    14. com.icesoft.faces
      D2DViewHandler.renderView
      1. com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:539)
      2. com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:543)
      3. com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:543)
      4. com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:543)
      5. com.icesoft.faces.facelets.D2DFaceletViewHandler.renderResponse(D2DFaceletViewHandler.java:286)
      6. com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:161)
      6 frames
    15. JSF
      LifecycleImpl.render
      1. com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
      2. com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
      3. com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
      3 frames
    16. com.icesoft.faces
      MainServlet.service
      1. com.icesoft.faces.webapp.http.core.JsfLifecycleExecutor.apply(JsfLifecycleExecutor.java:18)
      2. com.icesoft.faces.webapp.http.core.ReceiveSendUpdates.renderCycle(ReceiveSendUpdates.java:54)
      3. com.icesoft.faces.webapp.http.core.ReceiveSendUpdates.service(ReceiveSendUpdates.java:42)
      4. com.icesoft.faces.webapp.http.core.IDVerifier.service(IDVerifier.java:25)
      5. com.icesoft.faces.webapp.http.core.ViewBoundServer.service(ViewBoundServer.java:63)
      6. com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer$Matcher.serviceOnMatch(PathDispatcherServer.java:50)
      7. com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer.service(PathDispatcherServer.java:19)
      8. com.icesoft.faces.webapp.http.servlet.ThreadBlockingAdaptingServlet.service(ThreadBlockingAdaptingServlet.java:19)
      9. com.icesoft.faces.webapp.http.servlet.EnvironmentAdaptingServlet.service(EnvironmentAdaptingServlet.java:29)
      10. com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet.service(MainSessionBoundServlet.java:105)
      11. com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:37)
      12. com.icesoft.faces.webapp.http.servlet.PathDispatcher$Matcher.serviceOnMatch(PathDispatcher.java:52)
      13. com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:29)
      14. com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:76)
      14 frames
    17. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      1 frame
    18. Glassfish Core
      ApplicationDispatcher.forward
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      3. org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654)
      4. org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:445)
      5. org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:343)
      6. org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:292)
      6 frames
    19. com.icesoft.faces
      BlockingServlet.service
      1. com.icesoft.faces.webapp.xmlhttp.BlockingServlet.service(BlockingServlet.java:54)
      1 frame
    20. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
      5. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
      6. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      7. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      8. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
      8 frames
    21. Grizzly HTTP
      JIoEndpoint$Worker.run
      1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
      2. org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)
      3. org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
      3 frames
    22. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:619)
      1 frame