We just made a custom PlaceController and Historian to share some log
messages. Most of the google methods are private so that we can't just
override them implementing our log messages.
You mentioned GWT.setUncaughtExceptionHandler and i already placed it in my
code. But it may be the wrong
UPDATE:
after try catching in my AbstractClientFactory i found something:
protected EventBus createEventBus() {
return new SimpleEventBus() {
@Override
public void fireEvent(Event? event) {
try {
try {
super.fireEvent(event);
} catch (UmbrellaException ue) {
for (Throwable t : ue.getCauses()) {
// here, use your code that prints the stack-trace; and if it's not
enough, loop over the getCause() hierarchy
}
}
An UncaughtExceptionHandler is a global catch: basically, your GWT code
I solved it You won't believe it... My View is currently using a third
party calendar which needs to be implemented via native js. Deep in my
UmbrellaExceptions I found something like $wnd.Calendar is null or wrong
type. However this was firing an event which got recognized by GWT an
This showed me the root of the problem ;)
import com.google.web.bindery.event.shared.UmbrellaException;
...
...
private void checkAndPrintException(Throwable ex) {
if(ex instanceof UmbrellaException){
LOG.debug(UMBRELLA EXCEPTION FOUND);
UmbrellaException umbEx =