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 :: 211.69.205.45:8080/Mimir2.0/js/d … ntainer.js



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



I need your help!

So much thanks!




Hello,


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


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


layoutDemo.rar (1.07 MB)


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.


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!