I followed all advices on http://google-web-toolkit.googlecode.com/svn/trunk/distro-source/core/src/doc/helpInfo/jsoRestrictions.html and still get the infamous <init>$ error.
The following statement triggers the error:
final OpenCTM ctm = OpenCTM.create();
Where OpenCTM is:
public final class OpenCTM extends GObject {
protected OpenCTM() {}
public static native OpenCTM create() /*-{
return new $wnd.GLGE.OpenCTM();
}-*/;
public native void setSrc(String url, String relativeTo) /*-{
this.setSrc(url, relativeTo);
}-*/;
}
The whole code is located in my GitHub repository and is still pretty small. I'm trying to write a wrapper library for the GLGE framework.
I really don't know what to do anymore.
<init>$error", is this a GWT error or a GLGE error? Can you post exactly what the error is and at what point you get it? - funkybroJSOs at generator time, which shouldn't be allowed. funkybro is right, a stack trace will help in trying to give you suggestions, plus most info on when you get this (such as where in the glge-gwt proj this can be confirmed). - Colin Alworth