throw UnsupportedOperationException on nils, and show something informative