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

Bug 485614

Summary: Error: TypeError: Cannot read property 'row' of undefined
Product: [RT] RAP Reporter: Michael Wirth <mwirth>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: ivan, theanuradha
Version: 3.0   
Target Milestone: 3.1 M4   
Hardware: Macintosh   
OS: Mac OS X   
Whiteboard:

Description Michael Wirth CLA 2016-01-12 04:33:41 EST
Open a popup of a Combo (or CCombo) using Google Chrome (Version 47.0.2526.106 (64-bit)).
In the popup scrolling with the 'scroll wheel' of a Apple Magic Mouse causes the following javascript error:

Error: TypeError: Cannot read property 'row' of undefined

  Stack: TypeError: Cannot read property 'row' of undefined
    at rwt.qx.Class.define.members.getRow (http://127.0.0.1:10080/rwt-resources/rap-client.js:37289:52)
    at rwt.qx.Class.define.members.setTopItem (http://127.0.0.1:10080/rwt-resources/rap-client.js:37206:34)
    at rwt.qx.Class.define.members._updateTopItem (http://127.0.0.1:10080/rwt-resources/rap-client.js:45528:26)
    at rwt.qx.Class.define.members._updateTopItemIndex (http://127.0.0.1:10080/rwt-resources/rap-client.js:45061:14)
    at rwt.qx.Class.define.members._onVertScrollBarChangeValue (http://127.0.0.1:10080/rwt-resources/rap-client.js:45054:12)
    at rwt.qx.Class.define.members._dispatchEvent (http://127.0.0.1:10080/rwt-resources/rap-client.js:3865:18)
    at rwt.qx.Class.define.members.dispatchEvent (http://127.0.0.1:10080/rwt-resources/rap-client.js:3806:12)
    at rwt.qx.Class.define.members.createDispatchEvent (http://127.0.0.1:10080/rwt-resources/rap-client.js:3754:14)
    at rwt.qx.Class.define.members._dispatchValueChanged (http://127.0.0.1:10080/rwt-resources/rap-client.js:30944:12)
    at rwt.qx.Class.define.members._selectionChanged (http://127.0.0.1:10080/rwt-resources/rap-client.js:30999:12)
  Debug: on

With Firefox and Safari there is no problem
Comment 1 Ivan Furnadjiev CLA 2016-01-12 04:55:23 EST
Which RAP version are you using? I believe this issue is fixed in RAP 3.1M4. (see bug 480204 and bug 473482).
Comment 2 Michael Wirth CLA 2016-01-12 05:14:27 EST
I used rap 3.0.1 from http://download.eclipse.org/rt/rap/3.0

I switched to rap 3.1M4 from http://download.eclipse.org/rt/rap/3.1 and no longer got the error.

Thanks.
Comment 3 Anuradha G CLA 2016-02-04 22:59:55 EST
Any plan on back port to 3.0.2 release  ?
Comment 4 Ivan Furnadjiev CLA 2016-02-05 02:51:03 EST
A fix for the root cause (bug 480204) is already backported to 3.0-maintenance branch and will be included in 3.0.2.