Help! Super Dev Mode crashes with NPE on statics???
We have a project that compiles fine and runs fine using normally
compile files.
When we try and run in Super Dev Mode all statics are coming up as
"undefined" in the javascript?
This only happens when running SDM ?
We've tried moving the "GWT.create" portions into at "static {}" block
and checked to see if they were showing up as null and they aren't at
that point ..
-Mike
Class fragment:
public class Butter implements ScheduledCommand, LoginEventHandler {
private final static ButterClientFactoryImpl factory =
GWT.create(ButterClientFactoryImpl.class);
private final static ButterPageLayout layout =
GWT.create(ButterPageLayout.class);
private final static Api api = new Api();
function which is triggering the undefined error:
public static EventBus getEventBus(){ return factory.getEventBus(); }
--
You received this message because you are subscribed to the Google Groups "Google
Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.