http://gwt-code-reviews.appspot.com/1114801/diff/1/2 File user/src/com/google/gwt/view/client/SelectionModel.java (right):
http://gwt-code-reviews.appspot.com/1114801/diff/1/2#newcode75 user/src/com/google/gwt/view/client/SelectionModel.java:75: : keyProvider.getKey(item); Cell Widgets already check if the item is null before passing it to the key provider. Technically, null is a valid value and a key provider could provide a non-null key. However, the 99% use case is that the key provider would just return null, and passing null is more likely to cause an NPE in user code. http://gwt-code-reviews.appspot.com/1114801/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors