Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 422886

Summary: [Browser] evaluate(String script) exception
Product: [RT] RAP Reporter: Cho HyunJong <hangum>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: ivan
Version: 2.2   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X   
Whiteboard:

Description Cho HyunJong CLA 2013-11-29 23:20:02 EST
build number : rap-2.2.0-RC1-20131127-1035
-
. One call normal.
. The flowing error occurs when multiple calls.

------------------------------------------------------------------------------
Tadpole DB Hub loading...
Client Error
Details:

Error: Error: Operation "destroy" on target "w565" of type "null" failed:
objectEntry is undefined
Properties: 


  Script: {"head":{"requestCounter":43},"operations":[["destroy","w565"],["destroy","w564"],["destroy","w563"],["destroy","w562"],["set","w20",{"bounds":[0,0,0,0]}],["create","w580","rwt.widgets.GridColumn",{"parent":"w372","text":"city_id","index":0,"width":44,"moveable":true,"alignment":"right"}],["listen","w580",{"Selection":true}],["create","w581","rwt.widgets.GridColumn",{"parent":"w372","text":"city","index":1,"left":44,"width":170,"moveable":true}],["listen","w581",{"Selection":true}],["create","w582","rwt.widgets.GridColumn",{"parent":"w372","text":"country_id","index":2,"left":214,"width":69,"moveable":true,"alignment":"right"}],["listen","w582",{"Selection":true}],["create","w583","rwt.widgets.GridColumn",{"parent":"w372","text":"last_update","index":3,"left":283,"width":151,"moveable":true}],["listen","w583",{"Selection":true}],["call","w365","evaluate",{"script":"(function(){editorService.setTextFocus()})();"}]]}
  fileName: http://127.0.0.1:10081/rwt-resources/rap-client.js
  lineNumber: 71168
  columnNumber: 4
  Stack: rwt.remote.MessageProcessor._processError@http://127.0.0.1:10081/rwt-resources/rap-client.js:71168
rwt.remote.MessageProcessor.processOperationArray@http://127.0.0.1:10081/rwt-resources/rap-client.js:71010
rwt.remote.MessageProcessor.processMessage@http://127.0.0.1:10081/rwt-resources/rap-client.js:70963
.members._handleSuccess@http://127.0.0.1:10081/rwt-resources/rap-client.js:71642
@http://127.0.0.1:10081/rwt-resources/rap-client.js:36706
rwt.remote.Request.prototype._onReadyStateChange@http://127.0.0.1:10081/rwt-resources/rap-client.js:36757
.statics.bind/wrap@http://127.0.0.1:10081/rwt-resources/rap-client.js:5739

  Debug: on
  Request: {"head":{"requestCounter":42},"operations":[["call","w365","executeFunction",{"name":"editorServiceHandler","arguments":[25,"178-tadpole-del- SELECT department_id, name, division_id \n FROM Department;\r\n\r\n SELECT EmployeeID, Name, Office, CreateTime \n FROM employees2;\r\n\r\n SELECT city_id, city, country_id, last_update \n FROM city;"]}],["set","w1",{"cursorLocation":[398,453]}]]}
Comment 1 Ivan Furnadjiev CLA 2013-11-30 03:39:32 EST
In order to track the problem down we need a self-running project/snippet to reproduce the issue.
Comment 2 Ivan Furnadjiev CLA 2013-11-30 11:12:41 EST
BTW... does it work with RAP 2.1.1?
Comment 3 Cho HyunJong CLA 2013-11-30 13:16:31 EST
Of course.
It is difficult to make a sample.
And try to make a sample.

I think associated with a issue.(https://bugs.eclipse.org/bugs/show_bug.cgi?id=422242.)

Thank you for always.
Comment 4 Ivan Furnadjiev CLA 2014-01-09 04:09:05 EST
Any progress on a snippet to reproduce the issue?
Comment 5 Cho HyunJong CLA 2014-01-10 23:22:46 EST
Has not been created yet.
There is no problem with the sample. --;;
Comment 6 Ivan Furnadjiev CLA 2014-03-03 04:27:41 EST
As there is no way to reproduce and track down the issue I will close it as WORKSFORME. Please reopen when you can provide a simple demo snippet.