It always helps to post an SSCCE so we can attempt to reproduce the problem. From what you've provided, it seems the display method is throwing the exception...looking at what you've posted it seems...