5

The application is loading in the browser, however it is throwing exceptions which says

11:59:49.770 [ERROR] [loginform] Uncaught exception escaped com.google.gwt.event.shared.UmbrellaException: One or more exceptions caught, see full set in UmbrellaException#getCauses at com.google.gwt.event.shared.HandlerManager.fireEvent(HandlerManager.java:129) at com.google.gwt.user.client.ui.Widget.fireEvent(Widget.java:129) at com.google.gwt.event.dom.client.DomEvent.fireNativeEvent(DomEvent.java:116) at com.google.gwt.user.client.ui.Widget.onBrowserEvent(Widget.java:177) at com.google.gwt.user.client.DOM.dispatchEventImpl(DOM.java:1351)

What is the cause and how to resolve this?

Joachim Sauer
  • 302,674
  • 57
  • 556
  • 614
  • 1
    The real cause is logged, update and provide full stacktrace. (Perhaps you need to use GWT devMode) –  Oct 09 '12 at 06:41
  • See your GWT layout. Debug it. Any exception thrown in your layout will be embraced with umbrella exception. – Yegoshin Maxim Oct 09 '12 at 06:44
  • @YegoshinMaxim Exception **com.google.gwt.event.shared.HandlerManager.fireEvent(HandlerManager.java:129)** pointing to _HandlerManager Class_ at **throw new UmbrellaException(e.getCauses());** –  Oct 09 '12 at 06:50
  • 2
    What you pointed out - is not the real case. Exception may be thrown somewhere in your gwt layout code, for example NPE when working with non-initialized variable. And it become an UmbrellaException in your browser. – Yegoshin Maxim Oct 09 '12 at 06:55

3 Answers3

4

You are missing the interesting part. Create an uncaught exception-handler, like in this question. update:

As you can see here: GWT/JAVA Uncaught exception escaped

The Stacktrace should be longer. There is a root-cause atatched to the Umbrella-Exception.

Christian Kuetbach
  • 15,850
  • 5
  • 43
  • 79
3

Try to resolve errors happened in your application. I've already answered the same question GWT client umbrellaexception get full error message in java

Community
  • 1
  • 1
hsestupin
  • 1,115
  • 10
  • 19
0

I am from future) I had same problem today. I just foggot to add .js folder in project and a few lines of code to "yourModule".html file. See instalation guide here: http://www.moxiegroup.com/moxieapps/gwt-highcharts/userguide.jsp#installation

Andrew
  • 591
  • 2
  • 12
  • 33