When the invariants tab is resized, the following exception is raised
non-deterministically. The issue is that a boolean value is returned when a
float is expected. I think the problem is that the Raphael path object is not
initialized when it is queried for its BBox field.
com.google.gwt.dev.shell.HostedModeException: Something other than a float was
returned from JSNI method '@synopticgwt.client.invariants.Path::getBBoxY()': JS
value of type boolean, expected float
at com.google.gwt.dev.shell.JsValueGlue.get(JsValueGlue.java:118)
at com.google.gwt.dev.shell.ModuleSpace.invokeNativeFloat(ModuleSpace.java:235)
at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeFloat(JavaScriptHost.java:67)
at synopticgwt.client.invariants.Path.getBBoxY(Path.java)
at synopticgwt.client.invariants.Path.getY2(Path.java:230)
at synopticgwt.client.invariants.model.Arrow.fixHeadRotation(Arrow.java:188)
at synopticgwt.client.invariants.model.Arrow.scale(Arrow.java:211)
at synopticgwt.client.invariants.model.TOInvariant.scaleTo(TOInvariant.java:145)
at synopticgwt.client.invariants.InvariantsGraph.translateAndScaleArrows(InvariantsGraph.java:393)
at synopticgwt.client.invariants.InvariantsGraph.resize(InvariantsGraph.java:308)
at synopticgwt.client.invariants.InvariantsTab.resize(InvariantsTab.java:145)
at synopticgwt.client.util.InvariantsResizeHandler$1.run(InvariantsResizeHandler.java:51)
at com.google.gwt.user.client.Timer.fire(Timer.java:149)
Original issue reported on code.google.com by bestchai on 6 Feb 2012 at 5:53
Original issue reported on code.google.com by
bestchai
on 6 Feb 2012 at 5:53