-
19 Jun 2012 3:02 AM #1
Answered: Cannot call method 'getTime' of null
Answered: Cannot call method 'getTime' of null
Hi,
I'm trying to integrate sencha io to my existing project, but when try to add a record in store i get this errors :
(i followed the code existing in the app todo example)
Thanks.Code:ERROR: Ext.io.data.Proxy.sync: Exception thrown during synchronizationLogger.js:132 ERROR: TypeError Logger.js:132 ERROR: TypeError: Cannot call method 'getTime' of null at [object Object].setRecord (http://localhost/sencha-work/pharmap...3271139:439:44) at [object Object].<anonymous> (http://localhost/sencha-work/pharmap...03271139:70:18) at Array.forEach (native) at [object Object].create (http://localhost/sencha-work/pharmap...03271139:68:17) at [object Object].commit (http://localhost/sencha-work/pharmap...3271311:228:20) at [object Object].<anonymous> (http://localhost/sencha-work/pharmap...03271139:87:15) at [object Object].<anonymous> (http://localhost/sencha-work/pharmap...03271311:41:22) at [object Object].getCSIndex (http://localhost/sencha-work/pharmap...3271139:262:18) at new <anonymous> (http://localhost/sencha-work/pharmap...03271311:38:20) at [object Object].self (http://localhost/sencha-work/pharmap...uch.js:4954:45) Logger.js:132
- [COLOR=red !important]Uncaught TypeError: Cannot call method 'getTime' of null [/COLOR]
-
Best Answer Posted by romulus2012
Ok, i found the error. I have a Date field in my model and i leave it empty.
-
19 Jun 2012 3:19 AM #2
Ok, i found the error. I have a Date field in my model and i leave it empty.


Reply With Quote