Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » rap client crash "A drawing is already suspended"
rap client crash "A drawing is already suspended" [message #1798680] Thu, 22 November 2018 15:45 Go to next message
Arnaud MERGEY is currently offline Arnaud MERGEYFriend
Messages: 243
Registered: March 2010
Location: France
Senior Member
Hello,

Using GEF diagram in a RAP application the rap client fails unexpectedly.

I am currently not able to find a predictable way to reproduce this issue,

but it seems to occur quite frequently now.

I am copying the error displayed on browser, do you have an idea of what could be the issue ?

Error: Error: Operation "call" on target "w369.gc" of type "rwt.widgets.GC" failed:
A drawing is already suspended
Properties: 
operations = beginPath,rect,0,0,125,576,fill,beginPath,rect,0,0,125,576,fill,beginPath,rect,0,0,125,27,fill,drawImage,rwt-resources/generated/618c2783.gif,16,5,strokeText,Select,false,true,true,35,5,strokeStyle,167,166,170,255,beginPath,moveTo,0.5,27.5,lineTo,125.5,27.5,stroke,strokeStyle,255,255,255,255,beginPath,moveTo,0.5,28.5,lineTo,125.5,28.5,stroke,strokeStyle,224,223,225,255,beginPath,moveTo,0.5,29.5,lineTo,125.5,29.5,stroke,beginPath,rect,0,30,125,19,fill,drawImage,rwt-resources/generated/136f849d.gif,2,31,strokeStyle,74,74,74,255,strokeText,Diagram Tools,false,true,true,21,32,beginPath,rect,0,49,125,37,fill,beginPath,rect,0,49,125,37,fill,drawImage,rwt-resources/generated/804c1b63.gif,16,54,strokeText,Add Existing,false,true,true,35,54,strokeText,Entity,false,true,true,35,67,strokeStyle,167,166,170,255,beginPath,moveTo,0.5,86.5,lineTo,125.5,86.5,stroke,strokeStyle,255,255,255,255,beginPath,moveTo,0.5,87.5,lineTo,125.5,87.5,stroke,strokeStyle,224,223,225,255,beginPath,moveTo,0.5,88.5,lineTo,125.5,88.5,stroke,beginPath,rect,0,89,125,19,fill,drawImage,rwt-resources/generated/a7111c4b.gif,2,90,strokeStyle,74,74,74,255,strokeText,Model Tools,false,true,true,21,91,beginPath,rect,0,108,125,468,fill,beginPath,rect,0,108,125,468,fill,drawImage,rwt-resources/generated/6e155943.png,16,113,strokeText,Add Reference,false,true,true,35,113,fillStyle,207,227,250,255,beginPath,moveTo,14,136.5,lineTo,14,151.5,quadraticCurveTo,14,154,16.5,154,lineTo,109.5,154,quadraticCurveTo,112,154,112,151.5,lineTo,112,136.5,quadraticCurveTo,112,134,109.5,134,lineTo,16.5,134,quadraticCurveTo,14,134,14,136.5,fill,drawImage,rwt-resources/generated/ebdf63f4.png,16,136,fillStyle,255,255,255,255,strokeText,Add Entity,false,true,true,35,136


  Script: {"head":{},"operations":[["set","w8",{"bounds":[0,0,1617,20]}],["call","w369.gc","init",{"x":0,"y":0,"width":125,"height":576,"font":[["Tahoma","Segoe UI","Calibri","Lucida Sans Unicode","sans-serif","Corbel"],11,false,false],"fillStyle":[255,255,255,255],"strokeStyle":[74,74,74,255]}],["call","w369.gc","draw",{"operations":[["beginPath"],["rect",0,0,125,576],["fill"],["beginPath"],["rect",0,0,125,576],["fill"],["beginPath"],["rect",0,0,125,27],["fill"],["drawImage","rwt-resources/generated/618c2783.gif",16,5],["strokeText","Select",false,true,true,35,5],["strokeStyle",[167,166,170,255]],["beginPath"],["moveTo",0.5,27.5],["lineTo",125.5,27.5],["stroke"],["strokeStyle",[255,255,255,255]],["beginPath"],["moveTo",0.5,28.5],["lineTo",125.5,28.5],["stroke"],["strokeStyle",[224,223,225,255]],["beginPath"],["moveTo",0.5,29.5],["lineTo",125.5,29.5],["stroke"],["beginPath"],["rect",0,30,125,19],["fill"],["drawImage","rwt-resources/generated/136f849d.gif",2,31],["strokeStyle",[74,74,74,255]],["strokeText","Diagram Tools",false,true,true,21,32],["beginPath"],["rect",0,49,125,37],["fill"],["beginPath"],["rect",0,49,125,37],["fill"],["drawImage","rwt-resources/generated/804c1b63.gif",16,54],["strokeText","Add Existing",false,true,true,35,54],["strokeText","Entity",false,true,true,35,67],["strokeStyle",[167,166,170,255]],["beginPath"],["moveTo",0.5,86.5],["lineTo",125.5,86.5],["stroke"],["strokeStyle",[255,255,255,255]],["beginPath"],["moveTo",0.5,87.5],["lineTo",125.5,87.5],["stroke"],["strokeStyle",[224,223,225,255]],["beginPath"],["moveTo",0.5,88.5],["lineTo",125.5,88.5],["stroke"],["beginPath"],["rect",0,89,125,19],["fill"],["drawImage","rwt-resources/generated/a7111c4b.gif",2,90],["strokeStyle",[74,74,74,255]],["strokeText","Model Tools",false,true,true,21,91],["beginPath"],["rect",0,108,125,468],["fill"],["beginPath"],["rect",0,108,125,468],["fill"],["drawImage","rwt-resources/generated/6e155943.png",16,113],["strokeText","Add Reference",false,true,true,35,113],["fillStyle",[207,227,250,255]],["beginPath"],["moveTo",14,136.5],["lineTo",14,151.5],["quadraticCurveTo",14,154,16.5,154],["lineTo",109.5,154],["quadraticCurveTo",112,154,112,151.5],["lineTo",112,136.5],["quadraticCurveTo",112,134,109.5,134],["lineTo",16.5,134],["quadraticCurveTo",14,134,14,136.5],["fill"],["drawImage","rwt-resources/generated/ebdf63f4.png",16,136],["fillStyle",[255,255,255,255]],["strokeText","Add Entity",false,true,true,35,136]]}],["set","w376",{"cursor":"crosshair"}]]}
  Stack: Error: Operation "call" on target "w369.gc" of type "rwt.widgets.GC" failed:
A drawing is already suspended
Properties: 
operations = beginPath,rect,0,0,125,576,fill,beginPath,rect,0,0,125,576,fill,beginPath,rect,0,0,125,27,fill,drawImage,rwt-resources/generated/618c2783.gif,16,5,strokeText,Select,false,true,true,35,5,strokeStyle,167,166,170,255,beginPath,moveTo,0.5,27.5,lineTo,125.5,27.5,stroke,strokeStyle,255,255,255,255,beginPath,moveTo,0.5,28.5,lineTo,125.5,28.5,stroke,strokeStyle,224,223,225,255,beginPath,moveTo,0.5,29.5,lineTo,125.5,29.5,stroke,beginPath,rect,0,30,125,19,fill,drawImage,rwt-resources/generated/136f849d.gif,2,31,strokeStyle,74,74,74,255,strokeText,Diagram Tools,false,true,true,21,32,beginPath,rect,0,49,125,37,fill,beginPath,rect,0,49,125,37,fill,drawImage,rwt-resources/generated/804c1b63.gif,16,54,strokeText,Add Existing,false,true,true,35,54,strokeText,Entity,false,true,true,35,67,strokeStyle,167,166,170,255,beginPath,moveTo,0.5,86.5,lineTo,125.5,86.5,stroke,strokeStyle,255,255,255,255,beginPath,moveTo,0.5,87.5,lineTo,125.5,87.5,stroke,strokeStyle,224,223,225,255,beginPath,moveTo,0.5,88.5,lineTo,125.5,88.5,stroke,beginPath,rect,0,89,125,19,fill,drawImage,rwt-resources/generated/a7111c4b.gif,2,90,strokeStyle,74,74,74,255,strokeText,Model Tools,false,true,true,21,91,beginPath,rect,0,108,125,468,fill,beginPath,rect,0,108,125,468,fill,drawImage,rwt-resources/generated/6e155943.png,16,113,strokeText,Add Reference,false,true,true,35,113,fillStyle,207,227,250,255,beginPath,moveTo,14,136.5,lineTo,14,151.5,quadraticCurveTo,14,154,16.5,154,lineTo,109.5,154,quadraticCurveTo,112,154,112,151.5,lineTo,112,136.5,quadraticCurveTo,112,134,109.5,134,lineTo,16.5,134,quadraticCurveTo,14,134,14,136.5,fill,drawImage,rwt-resources/generated/ebdf63f4.png,16,136,fillStyle,255,255,255,255,strokeText,Add Entity,false,true,true,35,136

    at Object._processError ([url]http://localhost/test/rwt-resources/350/rap-client.js:226:3814[/url])
    at Object.processOperationArray ([url]http://localhost/test/rwt-resources/350/rap-client.js:226:924[/url])
    at Object.processMessage ([url]http://localhost/test/rwt-resources/350/rap-client.js:226:253[/url])
    at Object._handleSuccess ([url]http://localhost/test/rwt-resources/350/rap-client.js:230:3439[/url])
    at rwt.remote.Request._success ([url]http://localhost/test/rwt-resources/350/rap-client.js:98:925[/url])
    at rwt.remote.Request._onReadyStateChange ([url]http://localhost/test/rwt-resources/350/rap-client.js:98:1596[/url])
    at XMLHttpRequest. ([url]http://localhost/test/rwt-resources/350/rap-client.js:7:219[/url])
  Debug: off
  Request: {"head":{"requestCounter":873},"operations":[["notify","w369","MouseUp",{"x":1266,"y":266,"time":2619126,"button":1,"shiftKey":false,"ctrlKey":false,"altKey":false}],["set","w1",{"cursorLocation":[1266,266]}]]}

[Updated on: Thu, 22 November 2018 15:47]

Report message to a moderator

Re: rap client crash "A drawing is already suspended" [message #1798689 is a reply to message #1798680] Thu, 22 November 2018 18:38 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2426
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
That's fixed in RAP 3.6

Regards,
Ivan
Re: rap client crash "A drawing is already suspended" [message #1798728 is a reply to message #1798689] Fri, 23 November 2018 10:42 Go to previous message
Arnaud MERGEY is currently offline Arnaud MERGEYFriend
Messages: 243
Registered: March 2010
Location: France
Senior Member
Great ! thanks Ivan
Previous Topic:Text overflow in Firefox 63
Next Topic:UIThread not shutting down after closing browser with multiple Runnables currently beeing executed
Goto Forum:
  


Current Time: Fri Apr 26 21:13:53 GMT 2024

Powered by FUDForum. Page generated in 0.03153 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top