Skip to content

Instantly share code, notes, and snippets.

@unthingable
unthingable / gist:1932927
Created February 28, 2012 14:49
gwt devmode fail
Exception in thread "Code server for admin from Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:10.0.1) Gecko/20100101 Firefox/10.0.1 on https://127.0.0.1/admin.html?gwt.codesvr=127.0.0.1:9997 @ pb8&uE4{OBKn@'!N" java.lang.NullPointerException
at com.google.gwt.dev.shell.ModuleSpace.dispose(ModuleSpace.java:146)
at com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:215)
at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:525)
at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:363)
at java.lang.Thread.run(Thread.java:662)
@unthingable
unthingable / DataDictJSOexample.java
Created January 19, 2012 16:03
JSNI return types with CellTable
public class DataDictJSO extends JavaScriptObject {
...
public final native void put(String key, String obj) /*-{
this[key] = obj;
}-*/;
/**
* A slick way to get down to the object.
* @param keys can be "foo" or "foo.bar.baz"
* @param <T>