Re: Step 3 of tutorial

35 views
Skip to first unread message

Milan Cvejic

unread,
Nov 27, 2012, 2:23:13 PM11/27/12
to google-we...@googlegroups.com
Please provide us with full stack trace..

Best,
Milan

On Monday, November 26, 2012 7:44:19 PM UTC+1, gwt/java newbie wrote:
I am on Step 3 of the tutorial using Eclipse and I tried to Run > Run As > Web application.  When trying to view it I got this error:

Exception while loading module com.google.gwt.sample.stockwatcher.client.StockWatcher. See Development Mode for details.

java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:406)
at com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:200)
at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:526)
at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:364)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
at com.google.gwt.sample.stockwatcher.client.StockWatcher.onModuleLoad(StockWatcher.java:41)
... 9 more

Jens

unread,
Nov 27, 2012, 2:35:25 PM11/27/12
to google-we...@googlegroups.com
Not sure but I would guess you have missed some steps in the tutorial. Have you done everything mentioned in https://developers.google.com/web-toolkit/doc/latest/tutorial/buildui#hostpage ?

It tells you to modify the StockWatcher.html file.

-- J.
Reply all
Reply to author
Forward
0 new messages