I have spent a few hours trying various things and so far am no closer to figuring out what’s going on.
In short, I haven’t been able to successfully setup SuperDevMode so far. I came across
this post on how to do it in IntelliJ
, but haven’t quite gotten it to work.
I am getting the impression that my environment is to blame and here’s why. I stripped down my Container to two integers and two strings. Everything else was removed. Likewise, I removed all code from my page involving anything tricky with the grid, leaving only its initialization. Without adding the Renderer, things work fine. However, once I add the renderer, even in its most stripped version, I get the exact same error … The exception I posted yesterday morning.
Interestingly enough, when debugging the application, the initialization works fine, and the data enters the grid fine. This exception only comes up when I try to view the page that the grid is on. So, whatever this is, it is entirely client side. I tried tracing the Javascript code to see what’s going on, but that led me nowhere. That code is so obfuscated that understanding it is beyond my ability (or more precisely, my patience).
I will try again to get SuperDevMode working a bit later, but I am curious, could this problem simply be something wrong with my generated WidgetSet? Is there something I can do to validate that it is correctly being built? Initially I was having some issues upgrading to Vaadin 7.4.7 from 7.3.x because of some ordering problems in my pom. Could this be the case here, too?