I think this issue explains what you have observed (see the comments
towards the end)

code.google.com/p/google-web-toolkit/issues/detail?id=3069
On 9 Apr 2012 08:01, "Alex Luya" <[email protected]> wrote:

>    After some debugging,I found
> "com.google.gwt.event.shared.UmbrellaException: One or more exceptions
> caught, see full set in UmbrellaException#getCauses' when calling
> method: [nsIDOMEventListener::handleEvent]"(in web model) is caused by
> runtime null pointer.Question is
> why this kind of runtime null pointer exception didn't got  thrown out
> under host model.Actually,blow code won't thrown out any exception and
> even got alert popup in my laptop(gwt 2.4+java 7 64bit+ubuntu 12.04
> 64bit+eclipse 3.7).Anybody knows how to enforce eclipse throw out
> exception whenever a runtime null on JavascriptObject pointer occurs.
>
> ----------------------------------------------------------------------------------------------
> public class GWTTest implements EntryPoint
> {
>        public static class JsObj extends JavaScriptObject
>        {
>                protected JsObj()
>                {
>                }
>
>                public final native void setValue(String Value)/*-{
>                        this.Value=Value;
>                        alert(Value);
>                }-*/;
>        }
>
>        /**
>         * This is the entry point method.
>         */
>        public void onModuleLoad()
>        {
>                JsObj jsObj = null;
>                jsObj.setValue("val");
>        }
> }
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> 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.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
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.

Reply via email to