PDA

View Full Version : Linux + IE9 + EXTJS 4.1 GSP page not loading. [Grails Application]



eegasudheer
10 Aug 2012, 2:06 AM
Hi,

I'm facing a strange issue, I created a war file using Spring tool suite. Deployed the war in Tomcat 7.0.29 + windows environment. Able to access the application from IE9+FF+Chrome browsers, I deployed the same war file in linux machine on Tomcat 7.029, I'm not able to access the url from IE9, working fine with FF+Chrome. The page is not loading at all. Giving below error on the status bar.

Message: Unable to get value of the property 'isModel': object is null or undefined
Line: 59379
Char: 13
Code: 0
URI: http://<Somehost:8181>/Sample/extjs/ext-all-debug-w-comments.js (http://ipitlxsdev1:8181/IPEvents/extjs/ext-all-debug-w-comments.js)

I'm only including ext-all-debug-w-comments.js in the application.

Any help is appreciated.

-Thanks

maneljn
27 Mar 2013, 8:43 AM
i have the same problem, and i have found the problem is a trailing comma inside the data of an inline data store definition



columnWidth: 0.5,
name: 'for_nivel[]',
xtype: 'cesiclearablecombobox',
fieldLabel: '<?php echo addslashes(_IDI_NIVELMECU); ?>',
emptyText: '<?php echo addslashes(_IDI_COMBO_LIBRE_EMPTY); ?>',
store: Ext.create('Ext.data.Store', {
model: 'Cesigrup.Curriculums.modeloClaveDescripcion',
data : [
{ clave: '<?php echo addslashes(_IDI_NIVELMECU_1); ?>', descripcion: '' },
{ clave: '<?php echo addslashes(_IDI_NIVELMECU_2); ?>', descripcion: '' },
{ clave: '<?php echo addslashes(_IDI_NIVELMECU_3); ?>', descripcion: '' },
{ clave: '<?php echo addslashes(_IDI_NIVELMECU_4); ?>', descripcion: '' },
{ clave: '<?php echo addslashes(_IDI_NIVELMECU_5); ?>', descripcion: '' },
{ clave: '<?php echo addslashes(_IDI_NIVELMECU_6); ?>', descripcion: '' },
{ clave: '<?php echo addslashes(_IDI_NIVELMECU_7); ?>', descripcion: '' },
{ clave: '<?php echo addslashes(_IDI_NIVELMECU_8); ?>', descripcion: '' },
]
}),
displayField: 'clave',
valueField: 'clave',
queryMode: 'local',
editable: true,
enforceMaxLength: true,
maxLength: 100,
anchor: '100%',
allowBlank: true


The comma of the last record is the problem, i have removed it and error gone.



...
{ clave: '<?php echo addslashes(_IDI_NIVELMECU_8); ?>', descripcion: '' }