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

Bug 422221

Summary: Hovering over a TableCell that should display a Tooltip causes a severe JS error
Product: [RT] RAP Reporter: Edgar Mueller <emueller>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P2 CC: mknauer
Version: 2.2   
Target Milestone: 2.2 RC1   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
RAP Project to reproduce the problem none

Description Edgar Mueller CLA 2013-11-21 04:02:54 EST
Created attachment 237606 [details]
RAP Project to reproduce the problem

When starting the RAP project that can be found in the attachment and hovering over one of the cells in the 'Status' column, the client crashes with the following error below. It seems as if this error has been introduced with 2.2 M2, since it is working with M1 (makes sense if looking at the changelog for M2).

--------------------------------------------------------------------------------
Error: Error: Operation "set" on target "w72" of type "rwt.widgets.Grid" failed:
Das Objekt unterstützt die Eigenschaft oder Methode "_findRowByItem" nicht
Properties: 
cellToolTipText = Hello tooltip!


  Script: {"head":{"requestCounter":3},"operations":[["set","w72",{"cellToolTipText":"Hello tooltip!"}]]}
  description: Operation "set" on target "w72" of type "rwt.widgets.Grid" failed:
Das Objekt unterstützt die Eigenschaft oder Methode "_findRowByItem" nicht
Properties: 
cellToolTipText = Hello tooltip!

  stack: Error: Operation "set" on target "w72" of type "rwt.widgets.Grid" failed:
Das Objekt unterstützt die Eigenschaft oder Methode "_findRowByItem" nicht
Properties: 
cellToolTipText = Hello tooltip!

   at _processError (http://127.0.0.1:57427/rwt-resources/rap-client.js:228:3801)
   at processOperationArray (http://127.0.0.1:57427/rwt-resources/rap-client.js:228:913)
   at processMessage (http://127.0.0.1:57427/rwt-resources/rap-client.js:228:183)
   at _handleSuccess (http://127.0.0.1:57427/rwt-resources/rap-client.js:232:3521)
   at _success (http://127.0.0.1:57427/rwt-resources/rap-client.js:96:1010)
   at _onReadyStateChange (http://127.0.0.1:57427/rwt-resources/rap-client.js:96:1900)
   at d (http://127.0.0.1:57427/rwt-resources/rap-client.js:14:514)
  Stack: Error: Operation "set" on target "w72" of type "rwt.widgets.Grid" failed:
Das Objekt unterstützt die Eigenschaft oder Methode "_findRowByItem" nicht
Properties: 
cellToolTipText = Hello tooltip!

   at _processError (http://127.0.0.1:57427/rwt-resources/rap-client.js:228:3801)
   at processOperationArray (http://127.0.0.1:57427/rwt-resources/rap-client.js:228:913)
   at processMessage (http://127.0.0.1:57427/rwt-resources/rap-client.js:228:183)
   at _handleSuccess (http://127.0.0.1:57427/rwt-resources/rap-client.js:232:3521)
   at _success (http://127.0.0.1:57427/rwt-resources/rap-client.js:96:1010)
   at _onReadyStateChange (http://127.0.0.1:57427/rwt-resources/rap-client.js:96:1900)
   at d (http://127.0.0.1:57427/rwt-resources/rap-client.js:14:514)
  Debug: off
  Request: {"head":{"requestCounter":2},"operations":[["call","w72","renderToolTipText",{"item":"w80","column":0}],["set","w1",{"cursorLocation":[186,186]}]]}
Comment 1 Ivan Furnadjiev CLA 2013-11-21 06:33:21 EST
Reproducible with RAP from git master. Set the priority to P2.
Comment 2 Ivan Furnadjiev CLA 2013-11-21 11:03:49 EST
Fixed in master with commit 1a957b3bca048ec30aeb16c4a1b1580d77c045bc.