Owd-Larrd / gwt-google-apis

Automatically exported from code.google.com/p/gwt-google-apis
0 stars 0 forks source link

OnMouseOverHandler Uncaught exception over legend color box #466

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Found in Release:
1.1.1

Platform information (OS, Browser, GWT version).  Does the issue exist on
other platforms?
Firefox 4

Windows 7 / 64bits

GWT 2.3

Give a Detailed description of the problem.  If possible, please include
some code that reproduces the problem and a verbatim copy of any error
messages you can find.

Having a line, area or column chart displayed, if you move the mouse over the 
legend color box you get the uncaught exception below. 

09:31:34.383 [ERROR] [----] Uncaught exception escaped
java.lang.NullPointerException: null
    at com.google.gwt.visualization.client.events.OnMouseOverHandler.onEvent(OnMouseOverHandler.java:52)
    at com.google.gwt.visualization.client.events.Handler.onCallback(Handler.java:48)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
    at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
    at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:167)
    at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:281)
    at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:531)
    at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:352)
    at java.lang.Thread.run(Thread.java:662)

Workaround if you have one:

Links to the relevant Google Group posts:

Original issue reported on code.google.com by kevin.al...@gmail.com on 11 May 2011 at 8:14

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks for the report.  I fixed that plus a few other places where we assume 
retrieving a Double property will not be null.

Review up at
http://gwt-code-reviews.appspot.com/1448802

Original comment by zundel@google.com on 14 May 2011 at 2:11

GoogleCodeExporter commented 9 years ago
I put up a jar file that has this (unreviewed) patch rolled into it.

http://code.google.com/p/gwt-google-apis/downloads/detail?name=gwt-visualization
-1.1.2-rc2.zip

Original comment by zundel@google.com on 14 May 2011 at 3:23

GoogleCodeExporter commented 9 years ago
r1912

Original comment by zundel@google.com on 20 May 2011 at 2:17

GoogleCodeExporter commented 9 years ago
Thank you very much!! And very good job!!

Original comment by kevin.al...@gmail.com on 21 May 2011 at 6:20

GoogleCodeExporter commented 9 years ago

Original comment by zundel@google.com on 28 Oct 2011 at 4:21