Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by YuqianLi on Dec 04, 2009 05:45
open dhtmlx forum
dhtmlxlayout error IE 8 and firefox

Hi
About a month ago,when I use dhtmlxLayout in my web project,from IE 6, IE 7 and Firefox Setup 3.5.2,all run successfully.
But these two days ,from IE 8,and also my Firefox has updated automatically,they both show out erro.

In firefox debug is:

uncaught exception: [Exception... "Component returned failure code: 0x80004003 (NS_ERROR_INVALID_POINTER)" nsresult: "0x80004003 (NS_ERROR_INVALID_POINTER)" location: "JS frame :: http://localhost:8080/Mimir2.0/js/dhtmlxLayout2.5/codebase/dhtmlxcontainer.js :: anonymous :: line 10" data: no

and in IE 8 is :
用户代理: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; QQPinyinSetup 620; .NET CLR 2.0.50727; InfoPath.2; CIBA; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022)
时间戳: Fri, 4 Dec 2009 13:42:41 UTC


消息: 参数无效。
行: 10
字符: 2591
代码: 0
URI: http://211.69.205.45:8080/Mimir2.0/js/dhtmlxLayout2.5/codebase/dhtmlxcontainer.js

surprising : the above errs can not appear when in IE6 IE7

I need your help!
So much thanks!

Answer posted by Alex (support) on Dec 04, 2009 06:05

Hello,

please provide a complete demo where we can recreate the issue.

Answer posted by Yuqian Li on Dec 04, 2009 07:21

The attachments is my demo project.You can extract it ,then import it to myeclipse . 

I test it in windows and myeclipse 6.0.1 and jdk 1.6 . The data used is just set by hand.

along with the above errs ,in second tabber ,the toolbar can not show .I think you can see it when you run it again.

 

Thanks so much

Attachments (1)
Answer posted by Alex (support) on Dec 04, 2009 08:06

The issue is caused by Layout2.cells("b").attachObject("Tips"); call. There isn't html object with id="Tips" on the page. Try to delete this line to solve the issue.

Answer posted by YuqianLi on Dec 04, 2009 18:15

Thanks so much! 

That is  a good lesson for me and my classmate. Next time we will keep much more care when coding.

 so much thanks ,again!