从Extjs4到Extjs5 Uncaught TypeError:无法读取属性' metaData'为null

时间:2014-12-17 13:58:47

标签: ext4

未捕获的TypeError:无法读取属性' metaData'为null 我还有这个错误。我从Extjs 4搬到了5.Any Ideas?

Uncaught TypeError: Cannot read property 'metaData' of nullext-all-debug.js:61885 Ext.define.createAccessor.resultext-all-debug.js:61791 
Ext.define.readRecordsext-all-debug.js:59803 
Ext.define.readext-all-debug.js:61444 
Ext.define.processResponseext-all-debug.js:61746 (anonymous function)ext-all-debug.js:5750 Ext.apply.callbackext-all-debug.js:16297 
Ext.define.onCompleteext-all-debug.js:16236 
Ext.define.onStateChangeext-all-debug.js:4710 
Ext.Function.ExtFunction.bind

1 个答案:

答案 0 :(得分:0)

传递给方法的数据对象为null。确保在您的代理定义中,您指向有效负载中的正确数据根。此外,创建Sencha Fiddle或JSFiddle将非常有助于解决此问题。

相关问题