I'm getting a JavaScriptException in certain cases when initializing a DockPanel. I was previously on the SVN trunk, but hadn't updated in a while. I just recently upgraded to GWT 2.0.4 through Eclipse, which is when I noticed the problem.
DockPanel does not crash when I first initialize it, only when I create a second DockPanel to prepare it to replace the previous DockPanel. The stack trace highlights are here: com.google.gwt.core.client.JavaScriptException: (TypeError): this.contentWindow is null in a DockPanel subclass: HTML top = getTop(); //this element is cached add(top, DockPanel.NORTH); //this triggers the error DockPanel crashes when running: widget.removeFromParent(); //widget = top Here is the full stack trace: http://pastebin.com/Ji9Cndb5 Especially strange side note: this bug is reproducible every time I run in development mode, or when compiled to javascript, but not when I run in debug development mode. This is true even if I don't have any breakpoints enabled. Any help understanding this JavaScriptException is appreciated. Thanks, Carver -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
