I agree with Davekor that this should be added to the documentation. Unlike him, I don't seem to learn as quickly and spent a day and a half on this bug before I finally managed to dig this post up. To make matters worse, this problem appears to exist in the included examples. I grabbed the *gaerequest *code from the *expenses *example and the included *LoginWidget *references a member variable (requests) and throws a NullPointerException with this error: org.mvel2.PropertyAccessException: RootLayoutPanel.get().add(widget): null
Adding if (requests == null) return; fixes it, though I am not particularly happy with this since it will cause me much grief if at some point requests ends up being null at runtime. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/oek2DhPGgGsJ. 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.
