Home » Eclipse Projects » Remote Application Platform (RAP) » error occurs occasionally when using MARKUP_ENABLED img tag
|
Re: error occurs occasionally when using MARKUP_ENABLED img tag [message #1074117 is a reply to message #1074051] |
Fri, 26 July 2013 06:36 |
Ivan Furnadjiev Messages: 2427 Registered: July 2009 Location: Sofia, Bulgaria |
Senior Member |
|
|
Hi,
that's interesting. Does it happen in all browsers - IE 8,9,10, Firefox,
Chrome, Opera? Is your widget List or Table?
Best,
Ivan
On 7/26/2013 5:00 AM, Song David wrote:
> hi,
> I downloaded the new nightly build that fixs MARUP_ENABLED for img
> herf event, I think it works well, but error occurs occasionally
> Error: TypeError: targetElement.tagName is undefined
>
> stack:
> .members._findHyperlink@http://localhost:10080/rwt-resources/rap-client.js:51811
> members._checkAndProcessHyperlink@http://localhost:10080/rwt-resources/rap-client.js:51788
>
> members._onMouseUp@http://localhost:10080/rwt-resources/rap-client.js:51759
>
> members._dispatchEvent@http://localhost:10080/rwt-resources/rap-client.js:6261
>
> members._dispatchEvent@http://localhost:10080/rwt-resources/rap-client.js:6273
>
> members._dispatchEvent@http://localhost:10080/rwt-resources/rap-client.js:6273
>
> members.dispatchEvent@http://localhost:10080/rwt-resources/rap-client.js:6191
>
> statics._onmouseevent_post@http://localhost:10080/rwt-resources/rap-client.js:17363
>
> statics._processMouseEvent<.default@http://localhost:10080/rwt-resources/rap-client.js:17295
>
> statics._onmouseevent@http://localhost:10080/rwt-resources/rap-client.js:17225
>
> statics.bind/wrap@http://localhost:10080/rwt-resources/rap-client.js:5725
>
> fileName: http://localhost:10080/rwt-resources/rap-client.js
> lineNumber: 51811
> columnNumber: 8
> Stack:
> .members._findHyperlink@http://localhost:10080/rwt-resources/rap-client.js:51811
> members._checkAndProcessHyperlink@http://localhost:10080/rwt-resources/rap-client.js:51788
>
> members._onMouseUp@http://localhost:10080/rwt-resources/rap-client.js:51759
>
> members._dispatchEvent@http://localhost:10080/rwt-resources/rap-client.js:6261
>
> members._dispatchEvent@http://localhost:10080/rwt-resources/rap-client.js:6273
>
> members._dispatchEvent@http://localhost:10080/rwt-resources/rap-client.js:6273
>
> members.dispatchEvent@http://localhost:10080/rwt-resources/rap-client.js:6191
>
> statics._onmouseevent_post@http://localhost:10080/rwt-resources/rap-client.js:17363
>
> statics._processMouseEvent<.default@http://localhost:10080/rwt-resources/rap-client.js:17295
>
> statics._onmouseevent@http://localhost:10080/rwt-resources/rap-client.js:17225
>
> statics.bind/wrap@http://localhost:10080/rwt-resources/rap-client.js:5725
>
> Debug: on
>
> Best Regards
> David
--
Ivan Furnadjiev
Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/
Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
|
|
|
Re: error occurs occasionally when using MARKUP_ENABLED img tag [message #1074134 is a reply to message #1074117] |
Fri, 26 July 2013 07:15 |
David Song Messages: 217 Registered: April 2011 |
Senior Member |
|
|
now, when I scroll the table or gird from one side to the other, the error occurs always even in Firefox, Chrome or IE. The code above happens in Firefox, but in Chrome 28 or IE 10 the code is not the same with it in Firefox
in Chrome or IE the code is like below:
Error: TypeError: Cannot call method 'toLowerCase' of undefined
Stack: TypeError: Cannot call method 'toLowerCase' of undefined
at rwt.qx.Class.define.members._findHyperlink (http://localhost:10080/rwt-resources/rap-client.js:51811:41)
at rwt.qx.Class.define.members._checkAndProcessHyperlink (http://localhost:10080/rwt-resources/rap-client.js:51788:26)
at rwt.qx.Class.define.members._onMouseUp (http://localhost:10080/rwt-resources/rap-client.js:51759:14)
at rwt.qx.Class.define.members._dispatchEvent (http://localhost:10080/rwt-resources/rap-client.js:6261:18)
at rwt.qx.Class.define.members._dispatchEvent (http://localhost:10080/rwt-resources/rap-client.js:6273:18)
at rwt.qx.Class.define.members._dispatchEvent (http://localhost:10080/rwt-resources/rap-client.js:6273:18)
at rwt.qx.Class.define.members.dispatchEvent (http://localhost:10080/rwt-resources/rap-client.js:6191:12)
at Object.rwt.qx.Class.define.statics._onmouseevent_post (http://localhost:10080/rwt-resources/rap-client.js:17363:25)
at Object.rwt.qx.Class.define.statics._processMouseEvent.rwt.util.Variant.select.default [as _processMouseEvent] (http://localhost:10080/rwt-resources/rap-client.js:17295:14)
at Object.rwt.qx.Class.define.statics._onmouseevent (http://localhost:10080/rwt-resources/rap-client.js:17225:16)
Debug: on
[Updated on: Fri, 26 July 2013 07:19] Report message to a moderator
|
|
| | | |
Re: error occurs occasionally when using MARKUP_ENABLED img tag [message #1074519 is a reply to message #1074153] |
Sat, 27 July 2013 01:34 |
David Song Messages: 217 Registered: April 2011 |
Senior Member |
|
|
Hi Ivan,
I test the newest nightly build rap-2.2.0-N-20130726-1307 just now, but error still happens.
I tested it in firefox, chrome and ie and this happens when I scroll the table or grid.
in firefox:
rror: TypeError: targetNode is null
stack: .members._findHyperlink@http://localhost:10080/rwt-resources/rap-client.js:51811
.members._checkAndProcessHyperlink@http://localhost:10080/rwt-resources/rap-client.js:51788
.members._onMouseUp@http://localhost:10080/rwt-resources/rap-client.js:51759
.members._dispatchEvent@http://localhost:10080/rwt-resources/rap-client.js:6261
.members._dispatchEvent@http://localhost:10080/rwt-resources/rap-client.js:6273
.members._dispatchEvent@http://localhost:10080/rwt-resources/rap-client.js:6273
.members.dispatchEvent@http://localhost:10080/rwt-resources/rap-client.js:6191
.statics._onmouseevent_post@http://localhost:10080/rwt-resources/rap-client.js:17363
.statics._processMouseEvent<.default@http://localhost:10080/rwt-resources/rap-client.js:17295
.statics._onmouseevent@http://localhost:10080/rwt-resources/rap-client.js:17225
.statics.bind/wrap@http://localhost:10080/rwt-resources/rap-client.js:5725
fileName: http://localhost:10080/rwt-resources/rap-client.js
lineNumber: 51811
columnNumber: 8
Stack: .members._findHyperlink@http://localhost:10080/rwt-resources/rap-client.js:51811
.members._checkAndProcessHyperlink@http://localhost:10080/rwt-resources/rap-client.js:51788
.members._onMouseUp@http://localhost:10080/rwt-resources/rap-client.js:51759
.members._dispatchEvent@http://localhost:10080/rwt-resources/rap-client.js:6261
.members._dispatchEvent@http://localhost:10080/rwt-resources/rap-client.js:6273
.members._dispatchEvent@http://localhost:10080/rwt-resources/rap-client.js:6273
.members.dispatchEvent@http://localhost:10080/rwt-resources/rap-client.js:6191
.statics._onmouseevent_post@http://localhost:10080/rwt-resources/rap-client.js:17363
.statics._processMouseEvent<.default@http://localhost:10080/rwt-resources/rap-client.js:17295
.statics._onmouseevent@http://localhost:10080/rwt-resources/rap-client.js:17225
.statics.bind/wrap@http://localhost:10080/rwt-resources/rap-client.js:5725
Debug: on
in ie and chrome the error detail is almost the same as below:
Error: TypeError: Cannot read property 'tagName' of null
Stack: TypeError: Cannot read property 'tagName' of null
at rwt.qx.Class.define.members._findHyperlink (http://localhost:10080/rwt-resources/rap-client.js:51811:29)
at rwt.qx.Class.define.members._checkAndProcessHyperlink (http://localhost:10080/rwt-resources/rap-client.js:51788:26)
at rwt.qx.Class.define.members._onMouseUp (http://localhost:10080/rwt-resources/rap-client.js:51759:14)
at rwt.qx.Class.define.members._dispatchEvent (http://localhost:10080/rwt-resources/rap-client.js:6261:18)
at rwt.qx.Class.define.members._dispatchEvent (http://localhost:10080/rwt-resources/rap-client.js:6273:18)
at rwt.qx.Class.define.members._dispatchEvent (http://localhost:10080/rwt-resources/rap-client.js:6273:18)
at rwt.qx.Class.define.members.dispatchEvent (http://localhost:10080/rwt-resources/rap-client.js:6191:12)
at Object.rwt.qx.Class.define.statics._onmouseevent_post (http://localhost:10080/rwt-resources/rap-client.js:17363:25)
at Object.rwt.qx.Class.define.statics._processMouseEvent.rwt.util.Variant.select.default [as _processMouseEvent] (http://localhost:10080/rwt-resources/rap-client.js:17295:14)
at Object.rwt.qx.Class.define.statics._onmouseevent (http://localhost:10080/rwt-resources/rap-client.js:17225:16)
Debug: on
thanks
David
[Updated on: Sat, 27 July 2013 01:36] Report message to a moderator
|
|
| | |
Re: error occurs occasionally when using MARKUP_ENABLED img tag [message #1074618 is a reply to message #1074615] |
Sat, 27 July 2013 08:39 |
Ivan Furnadjiev Messages: 2427 Registered: July 2009 Location: Sofia, Bulgaria |
Senior Member |
|
|
Hi,
thanks for the screenshots, but they don't help much. The problem is in
the exact DOM (HTML) elements configuration. That's why I need a test
project to reproduce and trace the issue. I've played a lot with
Table/Tree with different configurations of the markup, but I can't
reproduce the issue in any browser. Fixing something blindly will not
lead to anywhere.
Best,
Ivan
On 7/27/2013 11:30 AM, Song David wrote:
> Hi Ivan,
> I created a little test project, only one table in it, but it run ok.
> I give a screen shot of runing in chrome, hoping it useful for you
>
>
--
Ivan Furnadjiev
Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/
Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
|
|
| | | | |
Goto Forum:
Current Time: Tue Sep 24 08:30:47 GMT 2024
Powered by FUDForum. Page generated in 0.07798 seconds
|