Hi,
I'm generating a rich:DataTable with binding to backend bean - backend bean creates a list of rich:columns and adds to the dataTable.
Table is working fine for me, but after a few minutes I see this error in logs - apparantly a nullpointer exception while saving state of the dataTable - doesnt affect displaying or even refresh of the dataTable.
What should I do to eliminate the root cause of this NPE?
A part of the relevant log....
HashMap.java:985) ... 30 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithMethod(RegularObjectPersister.java:120) ... 47 more Caused by: java.lang.NullPointerException at javax.faces.component.UIComponentBase.saveAttachedState(UIComponentBase.java:1339) at javax.faces.component.UIComponentBase.saveBindingsState(UIComponentBase.java:1447) at javax.faces.component.UIComponentBase.saveState(UIComponentBase.java:1238) at javax.faces.component.UIData.saveState(UIData.java:530) at org.ajax4jsf.ajax.repeat.UIDataAdaptor.saveState(UIDataAdaptor.java:1243) at org.richfaces.component.html.HtmlDataTable.saveState(HtmlDataTable.java:1094) at javax.faces.component.UIComponentBase$AttributesMap.writeObject(UIComponentBase.java:1760)