This sounds familiar to a recent discussion on the dev list:

http://www.mail-archive.com/[email protected]/msg01912.html

sean

On 5/12/05, Mikey E <[EMAIL PROTECTED]> wrote:
> I'm getting the same error while using a dataTable (with 1.0.9) ..
> any ideas/workarounds?
> 
> 
> On 4/27/05, Rob Decker <[EMAIL PROTECTED]> wrote:
> > Do I have to keep state for the dataList? Is there a requirement that my 
> > data is saved
> > in session when I use the dataList? I don't understand why it's trying to 
> > restore the
> > state of descendent components. Why doesn't doesn't it just loop through 
> > list and lay
> > them out again?
> >
> > java.lang.NullPointerException
> >        at javax.faces.component.UIData.restoreDescendantComponentStates
> > (UIData.java:432)
> >        at javax.faces.component.UIData.restoreDescendantComponentStates
> > (UIData.java:436)
> >        at javax.faces.component.UIData.restoreDescendantComponentStates
> > (UIData.java:436)
> >        at javax.faces.component.UIData.setRowIndex(UIData.java:191)
> >        at org.apache.myfaces.custom.datalist.HtmlDataList.setRowIndex
> > (HtmlDataList.java:69)
> >        at org.apache.myfaces.custom.datalist.HtmlListRenderer.encodeChildren
> > (HtmlListRenderer.java:137)
> >        at javax.faces.component.UIComponentBase.encodeChildren
> > (UIComponentBase.java:329)
> >        at 
> > javax.faces.webapp.UIComponentTag.encodeChildren(UIComponentTag.java:380)
> >        at 
> > javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:288)
> >        at org.apache.myfaces.taglib.UIComponentBodyTagBase.doEndTag
> > (UIComponentBodyTagBase.java:98)
> >        at org.apache.jsp.inc.scroller_jsp._jspx_meth_x_dataList_1
> > (scroller_jsp.java:1606)
> >
> > --
> > Rob
> >
> > @objectsource.org
> >
> >
>

Reply via email to