How can I get the cause / stacktrace behind the umbrella exception? I have
a global exception handler which prints the exception to console:
https://gist.github.com/aliakhtar/7a9bbb2d3796917179ed

What needs to be modified to get it to print the full trace?

On Fri, Jul 10, 2015 at 8:18 AM, Colin Alworth <[email protected]> wrote:

> As this isn't a NPE (or a type error, which I think is the JS equivalent),
> the we're missing a step here. You are seeing an UmbrellaException thrown,
> which means not that the handlermanager or event wiring broke, but that
> your own handler threw the exception (i.e. the 'TypeError' described in the
> wrapper).
>
> That trace is kept in the umbrella exception, and will likely be necessary
> to figure out what the real issue is.
>
> Also, the stack below the anon function won't be useful, that's very
> likely the wiring that calls into the widget event handling from the dom.
>
> On Thu, Jul 9, 2015 at 10:08 PM Ali Akhtar <[email protected]> wrote:
>
>> In 2.8.0-SNAPSHOT, when the ValueChangeEvent is triggered for a dropdown,
>> I'm encountering the following stack trace:
>>
>> Uncaught com.google.gwt.event.shared.UmbrellaException: Exception caught:
>> Exception caught: (TypeError) : Cannot read property
>> 'java_util_LinkedList_size' of undefined
>>
>>
>> com_google_gwt_event_shared_HandlerManager_$fireEvent__Lcom_google_gwt_event_shared_HandlerManager_2Lcom_google_gwt_event_shared_GwtEvent_2V
>>
>>
>> com_google_gwt_user_client_ui_Widget_$onBrowserEvent__Lcom_google_gwt_user_client_ui_Widget_2Lcom_google_gwt_user_client_Event_2V
>>
>> _.onBrowserEvent__Lcom_google_gwt_user_client_Event_2V
>>
>> _.onBrowserEvent__Lcom_google_gwt_user_client_Event_2V
>>
>>
>> com_google_gwt_user_client_impl_DOMImplStandard_dispatchEvent__Lcom_google_gwt_user_client_Event_2V
>>
>> (anonymous function)
>>
>>
>> This only happens in production, in SDM it works without any issues.
>>
>> I'm not sure which line specifically causes this, because the stacktrace
>> stops at the anonymous function. But, it seems to be around where I'm
>> creating an autobean object. The first line of my event handler which shows
>> a loading message, seems to get executed fine.
>>
>> Would appreciate a speedy resolution to this, as this is in production.
>> Thanks.
>>
>> --
>> 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/f4b201e1-5a00-4681-a4ac-3505d7bbc291%40googlegroups.com
>> <https://groups.google.com/d/msgid/google-web-toolkit-contributors/f4b201e1-5a00-4681-a4ac-3505d7bbc291%40googlegroups.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 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/-hXkD147aS4/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/CADcXZMxS%3D7pNHH%3DqHBsY3grOA3jUdq6P%2BPn2asgLGJmGJ-87Bg%40mail.gmail.com
> <https://groups.google.com/d/msgid/google-web-toolkit-contributors/CADcXZMxS%3D7pNHH%3DqHBsY3grOA3jUdq6P%2BPn2asgLGJmGJ-87Bg%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/CAKiMtbcMM%3D%3Djs%3DkM7VZUm%3Df50c%3DY3fGeX-Dy_2KPCF3t2ZeCsg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to