PDA

View Full Version : [FIXED] gridView dateformat NPE



yopiyop
29 Aug 2008, 12:31 AM
with


ColumnConfig c...
c.setDateTimeFormat(DateTimeFormat.getShortDateFormat());
there is NPE with null data values and formatter :




[ERROR] Uncaught exception escaped
java.lang.RuntimeException: java.lang.NullPointerException
at com.extjs.gxt.ui.client.store.ListStore.onLoadException(ListStore.java:181)
..

Caused by: java.lang.NullPointerException: null
at com.google.gwt.i18n.client.DateTimeFormat.formatDate(DateTimeFormat.java:775)
at com.google.gwt.i18n.client.DateTimeFormat.subFormat(DateTimeFormat.java:1457)
at com.google.gwt.i18n.client.DateTimeFormat.format(DateTimeFormat.java:534)
at com.extjs.gxt.ui.client.widget.grid.GridView.getRenderedValue(GridView.java:855)

darrellmeyer
2 Sep 2008, 7:53 AM
Fix is in SVN.