PDA

View Full Version : DataListBinder give unhelpful exception message



paulsschwarz
9 Sep 2008, 2:01 PM
1.1 alpha 3

I set up a very simple example using a DataList and a ListStore and a DataListBinder to bind them together. I forgot to call setDisplayProperty on the binder so the DataList didn't know what it was supposed to be showing.

There wasn't a meaningful exception, instead there was a NullPointerException and it took me a while to figure out my silly mistake.