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

Bug 414018

Summary: [Tree][Markup] Scrolling a tree with items that contain markup causes javascript problem
Product: [RT] RAP Reporter: Frank Appel <fr.appel>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 2.2   
Target Milestone: 2.2 M1   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
Snippet to reproduce the problem none

Description Frank Appel CLA 2013-07-30 10:48:32 EDT
Created attachment 233944 [details]
Snippet to reproduce the problem

RWT version taken from: http://download.eclipse.org/rt/rap/nightly/runtime/20130726-1307

Steps to reproduce:

- launch the attached entry point snippet
- open the browser and connect with an appropriate URL of the given entry point
- scroll the tree in the shell a few times up and down with the vertical scroll bar

=> The following problem occures:
(reproduced in Chrome and IE)

Error: TypeError: Cannot read property 'tagName' of null

Stack: TypeError: Cannot read property 'tagName' of null
    at rwt.qx.Class.define.members._findHyperlink (http://127.0.0.1:10080/rwt-resources/rap-client.js:51811:29)
    at rwt.qx.Class.define.members._checkAndProcessHyperlink (http://127.0.0.1:10080/rwt-resources/rap-client.js:51788:26)
    at rwt.qx.Class.define.members._onMouseUp (http://127.0.0.1:10080/rwt-resources/rap-client.js:51759:14)
    at rwt.qx.Class.define.members._dispatchEvent (http://127.0.0.1:10080/rwt-resources/rap-client.js:6261:18)
    at rwt.qx.Class.define.members._dispatchEvent (http://127.0.0.1:10080/rwt-resources/rap-client.js:6273:18)
    at rwt.qx.Class.define.members._dispatchEvent (http://127.0.0.1:10080/rwt-resources/rap-client.js:6273:18)
    at rwt.qx.Class.define.members.dispatchEvent (http://127.0.0.1:10080/rwt-resources/rap-client.js:6191:12)
    at Object.rwt.qx.Class.define.statics._onmouseevent_post (http://127.0.0.1:10080/rwt-resources/rap-client.js:17363:25)
    at Object.rwt.qx.Class.define.statics._processMouseEvent.rwt.util.Variant.select.default [as _processMouseEvent] (http://127.0.0.1:10080/rwt-resources/rap-client.js:17295:14)
    at Object.rwt.qx.Class.define.statics._onmouseevent (http://127.0.0.1:10080/rwt-resources/rap-client.js:17225:16)
  Debug: on
Comment 1 Ivan Furnadjiev CLA 2013-07-30 11:01:32 EDT
This issue has been reported in the newsgroup ( http://www.eclipse.org/forums/index.php/t/494719/ ) and it's already fixed with commit 09bd527489aa20294298eba05ea63fb33fced689 (see bug 412406 comment#2). Please check the latest nightly build.