Recently, as I've started using the EventBus a lot more, I'm noticing it 
seems to be not throwing UmbrellaExceptions when for example, there is a 
NPE in one of the handlers. silently continuing instead. Anyone any idea on 
whats causing this, and how it can be avoided? 

I suspect it might be because I'm firing more Events during the execution 
of a handler (or some method called from the handler) but even using 
deferred commands to fire events doesn't seem to help.

Setup is something like this: 

Singleton 'backend' - Fires events on server push, or due to user request, 
uses main EventBus. 
Activity - Creates a 'provider' object, giving it a RessetableEventBus. 
provider listens for events from backend, and fires its own events. 
The activity subscribe to events from the provider. If these handlers throw 
a NPE/other exception, we never see it.







-- 
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/-/XcYMZvSW5p0J.
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