Exception on datatable.add() or datatable.updateItem()

Hi,

When i am trying to add or update an item i get following exception.
I am editing items in datatable manually, so i add or update them in js code, i am

Error: n is null
webix.DataStore.prototype.add@https://cdn.webix.com/edge/webix.js:396:160
webix.DataStore.prototype.Ef/<@https://cdn.webix.com/edge/webix.js:404:174
successCallback@http://candycodes-admin-v2.loc/app/controllers/UsersCtrl.js:191:16
f/<@https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.4.7/angular.min.js:119:113
lf/this.$get</n.prototype.$eval@https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.4.7/angular.min.js:133:217
lf/this.$get</n.prototype.$digest@https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.4.7/angular.min.js:130:225
lf/this.$get</n.prototype.$apply@https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.4.7/angular.min.js:133:510
h@https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.4.7/angular.min.js:87:374
K@https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.4.7/angular.min.js:91:1
Sf/</z.onload@https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.4.7/angular.min.js:93:37

I am not sure but i think this is a bug.

This is datatable config:

var datatable = {
			margin:10,
			rows: [{
				view:'datatable',
				id:'datatableUsers', 
				select:true,
				hover: "table-hover",
				autoheight:true,
				scroll: "y",
				pager:"datatableUsersPager",
				columns:[
				    { id:'id', header:'', adjust:true },
					{ id:'names', header:['Nombre', { content:"textFilter", placeholder:"Filter by the name" }], fillspace:true },
					{ id:'lastnames', header:['Apellido',  { content:"textFilter", placeholder:"Filter by lastname" }], fillspace:true },
					{ id:'email', header:['E-mail',  { content:"textFilter", placeholder:"Filter by email" }], fillspace:true },
					{ id:'sex', header:'Sexo', css:"tc", 
						template:function(obj){ 
							if (obj.hasOwnProperty("sex")) {
								return obj.sex === 'f' ? 'Female' : 'Male'; 
							} 
							return "<i>No sex</i>"; 
						} 
					},
					{ id:"fbid", header:"Facebook ID", adjust:true },
					{ id:'date', header:'Fecha', css:"tc", adjust:true, format:show_date, editFormat: show_editor, editParse: parse_editor },
					{ id:'trash', header:'&nbsp;', width:35, template:'<span  style="color:#777777; cursor:pointer;" class="webix_icon fa-trash-o"></span> '}
				],
				url:'/users',
				onClick:{
					webix_icon:function(e,id,node){
						webix.confirm({
							text:'Se eliminará de usuario?', ok:'Sí', cancel:'No',
							callback:function(res){
								if(res){
									$http({
										method:"DELETE",
										url:"/users/" + id
									}).then(
										function successCallback(response){
											if (response.data.success === true) {
												webix.$$("datatableUsers").remove(id);
												webix.message("Se suprimió el usuario.");
											}
											else {
												webix.message({ type:"error", text:"Error deleting user." });
											}
										}, function errorCalback(response){
											webix.message({ type:"error", text:"Error deleting user." });
										}
									);
								}
							}
						});
					}
				},
				on:{
					onItemDblClick:function(id) {
						var datatable = $$("datatableUsers"),
							form = $$("formUser"),
							window = $$('windowUser'),
							selectedId = datatable.getSelectedId(),
							user = datatable.getItem(selectedId);
						
						form.clear();
						form.setValues(user);
						window.show();
						form.focus();
					}
				}
			}]
		};

Can you share the content of successCallback@hUsersCtrl.js:191
Also, please try to include webix_debug.js instead of webix.js, it will provide a bit more readable stack trace