Thanks a lot for the work around, Daniel. My sanity is saved. On Tue, Feb 10, 2015 at 12:58 PM, 'Daniel Kurka' via GWT Contributors < [email protected]> wrote:
> This looks like the same compiler bug we are currently investigating, for > now you can clear your SDM cache (button on its page) and you should be > able to continue. > > On Tue, Feb 10, 2015 at 7:16 AM, Ali Akhtar <[email protected]> wrote: > >> I'm using 2.8.0-SNAPSHOT, from >> https://github.com/manolo/gwt-snapshot/raw/master/ >> >> When I try to invoke the following method: >> >> public Clerk<D> setEvents(HasValue<?>... fields) >> { >> for (HasValue<?> f : fields) >> { >> f.addValueChangeHandler( e -> validate() ); >> } >> return this; >> } >> >> I get the following exception: >> >> com.google.gwt.core.client.JavaScriptException: (ReferenceError) : >> Lcom_google_gwt_user_client_ui_HasValue_2_classLit_0_g$ is not defined >> >> Any ideas what's going on here? The code compiles, I have the classes on >> classpath, but I still see that exception. >> >> In fact, lately I've been getting a lot of these 'xxx_classLit_0_g$ not >> defined' exceptions in SDM. E.g: >> >> https://groups.google.com/forum/#!topic/google-web-toolkit/RzsjqX2gGd4 >> >> https://groups.google.com/forum/#!topic/google-web-toolkit/Uf3IUgeUdP8 >> >> It seems that using any random class in GWT can cause that exception to >> come up. Which doesn't make sense as I'm writing valid code that compiles. >> >> Am I doing something wrong, or is this a bug in the compiler? >> >> Would greatly appreciate if any light can be shed on this. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "GWT Contributors" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/google-web-toolkit-contributors/83b0b1f8-f8a7-4997-8426-62804e286adf%40googlegroups.com >> <https://groups.google.com/d/msgid/google-web-toolkit-contributors/83b0b1f8-f8a7-4997-8426-62804e286adf%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Google Germany GmbH > *Dienerstr. 12* > *80331 München* > > Registergericht und -nummer: Hamburg, HRB 86891 > Sitz der Gesellschaft: Hamburg > Geschäftsführer: Graham Law, Katherine Stephens > > -- > You received this message because you are subscribed to a topic in the > Google Groups "GWT Contributors" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/google-web-toolkit-contributors/RWSov9AilF4/unsubscribe > . > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/google-web-toolkit-contributors/CALLujirarjkVZiL-KXu735kWtSuiRQdMiQFVaWVwXgq75_AB5w%40mail.gmail.com > <https://groups.google.com/d/msgid/google-web-toolkit-contributors/CALLujirarjkVZiL-KXu735kWtSuiRQdMiQFVaWVwXgq75_AB5w%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "GWT Contributors" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/CAKiMtbc2oiVBPnRnKwKrL_Ra0MPX3wWrCMP1Z87rmsdjtLUCdA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
