View Full Version : dom.firstChild is null or not an object?
Lloyd K
14 Nov 2007, 1:26 AM
Recently with Ext 1.1.1 I've been getting an odd error in IE (and only IE), it is as follows:
Line: 15
Char: 24385
Error: 'dom.firstChild' is null or not an object
Code: 0
I'm having trouble getting to the bottom of this, any thoughts?
evant
14 Nov 2007, 1:45 AM
Without posting any code it's hard for anyone to help you. You need to give us relevant information.
Lloyd K
14 Nov 2007, 1:52 AM
Well you see that's just it, I can't post any code because I simply don't know where the problem is and IE doesn't really like to be helpful :(
brian.moeskau
14 Nov 2007, 2:06 AM
Have you tried using one of the IE debugging options (MS script debugger, Visual Studio, etc.) to see where the error is occurring? Also, while your overall application may have a lot of code, you should be able to generally isolate the error in some way based on when it occurs in the context of your app, right? Or does it just not run at all? In that case, start removing stuff until it works, then add things back in until it breaks.
evant
14 Nov 2007, 3:21 AM
Surely it doesn't just happen at random? You can't do anything to trigger it?
Do you have anything that runs on a timer?
Lloyd K
14 Nov 2007, 6:41 AM
Looking in to this more but the machine I use the MS Script Debugger is borked somewhat. Not sure when it happens still, it happens on a quite complex page with lots of Ext stuff usually when I have to update a grid.
No timer or anything like that. Will keep hacking at it though I'm trying to move it to 2.0, at least thats my hope and hopefully the problem will go away then :P
Powered by vBulletin® Version 4.1.5 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.