View Full Version : IE problem
Hello,
I am new here and also new to ExtJS. Can anyone please help me out from following problem?
Showing following error on IE9, I am using ExtJS 4
SCRIPT5007: Unable to get value of the property 'close': object is null or undefined
ext-all.js, line 15 character 57694
SCRIPT5007: Unable to get value of the property 'translatePoints': object is null or undefined
ext-all.js, line 15 character 308504
Showing following error on IE8:
'xtype' is null or not an object
ext-all.js, line 15 character 174472
Thanks.
scottmartin
5 Apr 2012, 6:30 AM
When are you receiving this error? One of our examples, or your app?
In general, it looks like you do not have your path to ExtJS4 set correctly.
Regards,
Scott
In my app. I built my app and checked on chrome always. After almost finished I checked it on IE and got those errors.
<script type="text/javascript" src="lib/ext4/ext-all.js"></script>
I used path like above and its work fine on chrome and firefox. Is there any extra option to do for IE?
Thanks,
Razon
scottmartin
5 Apr 2012, 6:40 AM
Are you using Flash in your app?
Please add this to your header
<!-- Enable IE8 Standards mode -->
<meta http-equiv="X-UA-Compatible" content="IE=8" >
Regards,
Scott.
Showing this same error on IE8 after including that code
SCRIPT5007: Unable to get value of the property 'xtype': object is null or undefined
ext-all.js, line 15 character 174472
Thanks,
Razon
scottmartin
5 Apr 2012, 7:26 AM
You never mentioned if you are using flash or another external component.
searching error on net:
In reading around, I found some threads:
http://stackoverflow.com/questions/7523509/script5007-unable-to-get-value-of-the-property-setreturnvalue-object-is-null
http://stackoverflow.com/questions/5787245/ie9-javascript-error-script5007-unable-to-get-value-of-the-property-ui-obje
Other posts suggest you may have over nesting issues with your layout/design.
Since posting your code may be too much, I would break down your code into segments and start following the call stack.
Regards,
Scott.
oh, sorry.
I use flash(jwplayer) and other extra component(cometchat). Removing those shows same problem.
Thanks,
Razon
scottmartin
6 Apr 2012, 4:50 PM
I believe you are going to have to dissect your app until you find the cause. This an an erroneous error based on how your code is setup.
Regards,
Scott.
This error was for trailing comma. I got it after searching in google and got the result in sencha forum! If anybody face same problem then they can be helped from the below link.
http://www.sencha.com/forum/showthread.php?139073-IE8-xtype-is-null-or-not-an-object
Thanks,
Razon
Powered by vBulletin® Version 4.2.3 Copyright © 2018 vBulletin Solutions, Inc. All rights reserved.