When using an IDE that is able to perform searches with regular expressions (like Aptana Studio): ,\s+} can be a lifesaver.

My error occurred because I forgot to declare the itemSelector in one of my dataViews.