sivarajankumar / google-web-toolkit-incubator

Automatically exported from code.google.com/p/google-web-toolkit-incubator
0 stars 0 forks source link

Canvas.arc() throws exception when radius == 0.0 (mac hosted mode) #159

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What version of gwt and gwt-incubator are you using? gwt-mac-1.5.2 and
gwt-incubator_1-5_Sept_04

What OS and browser are you using? OSX 10.4 and Firefox 3.0.3 (but problem
occurs in hosted mode)

Do you see this error in hosted mode, web mode, or both? Only hosted mode

[ERROR] arc
com.google.gwt.core.client.JavaScriptException: (INDEX_SIZE_ERR):
INDEX_SIZE_ERR: DOM Exception 1
 line: 35
 sourceURL:
jar:file:/Users/mgflax/Documents/workspace/com.tullib.ndf/gwt-incubator.jar!/com
/google/gwt/widgetideas/graphics/client/impl/GWTCanvasImplDefault.java
 code: 1
 INUSE_ATTRIBUTE_ERR: 10
 WRONG_DOCUMENT_ERR: 4
 HIERARCHY_REQUEST_ERR: 3
 NO_MODIFICATION_ALLOWED_ERR: 7
 VALIDATION_ERR: 16
 NOT_FOUND_ERR: 8
 NOT_SUPPORTED_ERR: 9
 DOMSTRING_SIZE_ERR: 2
 TYPE_MISMATCH_ERR: 17
 NO_DATA_ALLOWED_ERR: 6
 SYNTAX_ERR: 12
 INDEX_SIZE_ERR: 1
 INVALID_MODIFICATION_ERR: 13
 INVALID_CHARACTER_ERR: 5
 INVALID_STATE_ERR: 11
 NAMESPACE_ERR: 14
 INVALID_ACCESS_ERR: 15
    at
com.google.gwt.widgetideas.graphics.client.impl.GWTCanvasImplDefault.arc(Native
Method)
    at
com.google.gwt.widgetideas.graphics.client.GWTCanvas.arc(GWTCanvas.java:160)
    at
com.tullib.ndf.client.display.GraphicalDisplay$ArcInfo.draw(GraphicalDisplay.jav
a:56)
    at
com.tullib.ndf.client.display.GraphicalDisplay.notifyAtomPairAtom(GraphicalDispl
ay.java:126)
    at
com.tullib.ndf.client.model.MasterController.notifyAtomPairAtom(MasterController
.java:1468)
    at com.tullib.ndf.client.model.CycleEngine.addAtomPair(CycleEngine.java:177)
    at com.tullib.ndf.client.model.CycleEngine.addPair(CycleEngine.java:166)
    at com.tullib.ndf.client.model.PairEngine.addPairsFor(PairEngine.java:103)
    at com.tullib.ndf.client.model.PairEngine.orderCreate(PairEngine.java:51)
    at com.tullib.ndf.client.model.State.processOrderUpdates(State.java:248)
    at com.tullib.ndf.client.model.State.processRequest(State.java:45)
    at com.tullib.ndf.client.model.EngineRelay$2.onSuccess(EngineRelay.java:252)
    at com.tullib.ndf.client.model.EngineRelay$2.onSuccess(EngineRelay.java:1)
    at
com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter.onResponseReceived(Re
questCallbackAdapter.java:215)
    at
com.google.gwt.http.client.Request.fireOnResponseReceivedImpl(Request.java:254)
    at
com.google.gwt.http.client.Request.fireOnResponseReceivedAndCatch(Request.java:2
26)
    at com.google.gwt.http.client.Request.fireOnResponseReceived(Request.java:217)

Original issue reported on code.google.com by marshall...@gmail.com on 5 Oct 2008 at 1:13

GoogleCodeExporter commented 8 years ago

Original comment by ecc%google.com@gtempaccount.com on 1 Dec 2008 at 5:55

GoogleCodeExporter commented 8 years ago
Reassigning to jaime who wrote the canvas stuff.

Original comment by jlaba...@google.com on 25 Mar 2009 at 5:33