[INFO] : Sync Progress: { [DEBUG] : : {"message":"Starting synchronization","state":"syncStarted"} [INFO] : "message": "Starting synchronization", [INFO] : "state": "syncStarted" [INFO] : } [INFO] : Sync Progress: { [INFO] : "message": "Logging in admin@eagentmobile2013.onmicrosoft.com", [INFO] : "state": "loginStarted" [INFO] : } [DEBUG] : : {"message":"Logging in admin@eagentmobile2013.onmicrosoft.com","state":"loginStarted"} [DEBUG] : reqUri: http://e80189ea2413d9bb303c7095fc2bde12af543e0f.dev.ace.appcelerator.com/api/1.0/msDynamicsCrm1.0/login [DEBUG] : Sending request (100 bytes) [INFO] : Sync Progress: { [INFO] : "message": "Sent 100%", [INFO] : "progress": 1, [INFO] : "state": "sendStream" [INFO] : } [DEBUG] : : {"message":"Sent 100%","progress":1,"state":"sendStream"} [ERROR] : Script Error { [ERROR] : backtrace = "#0 () at :0"; [ERROR] : line = 35; [ERROR] : message = "Invalid type passed to function"; [ERROR] : nativeLocation = "-[TiNetworkHTTPClientProxy setOnsendstream:] (TiNetworkHTTPClientProxy.m:389)"; [ERROR] : nativeReason = "expected: Function, was: (null)"; [ERROR] : sourceId = 308101024; [ERROR] : sourceURL = "file:///Users/fede/Library/Application%20Support/iPhone%20Simulator/7.1/Applications/4DE68DA4-9A75-4BF5-BBFB-D130017BCB31/syncServer.app/appcelerator.syncserver.client"; [ERROR] : } [INFO] : Sync Progress: { [INFO] : "message": "Received -4100%", [INFO] : "progress": -41, [INFO] : "state": "dataStream" [INFO] : } [DEBUG] : : {"message":"Received -4100%","progress":-41,"state":"dataStream"} [INFO] : Sync Progress: { [INFO] : "message": "Received 100%", [INFO] : "progress": 1, [INFO] : "state": "dataStream" [INFO] : } [DEBUG] : : {"message":"Received 100%","progress":1,"state":"dataStream"} [DEBUG] : Request succeeded (41 bytes, server: 809ms, network: 191ms, total: 1000ms) [INFO] : Sync Progress: { [INFO] : "message": "Authenticated", [INFO] : "state": "loginCompleted" [INFO] : } [DEBUG] : : {"message":"Authenticated","state":"loginCompleted"} [INFO] : Sync Progress: { [DEBUG] : : {"message":"Push started","state":"pushStarted"} [INFO] : "message": "Push started", [INFO] : "state": "pushStarted" [INFO] : } [INFO] : Sync Progress: { [INFO] : "message": "Push completed", [INFO] : "count": 0, [INFO] : "totalRecords": 0, [INFO] : "state": "pushCompleted" [INFO] : } [INFO] : Sync Progress: { [INFO] : "message": "Pull started for model ", [INFO] : "modelName": "contact", [DEBUG] : : {"message":"Push completed","count":0,"totalRecords":0,"state":"pushCompleted"} [INFO] : "state": "pullStarted" [INFO] : } [DEBUG] : : {"message":"Pull started for model ","modelName":"contact","state":"pullStarted"} [DEBUG] : reqUri: http://e80189ea2413d9bb303c7095fc2bde12af543e0f.dev.ace.appcelerator.com/api/1.0/msDynamicsCrm1.0/get-details [DEBUG] : Sending request (128 bytes) [INFO] : Sync Progress: { [INFO] : "message": "Sent 100%", [INFO] : "progress": 1, [INFO] : "state": "sendStream" [INFO] : } [DEBUG] : : {"message":"Sent 100%","progress":1,"state":"sendStream"} [ERROR] : Script Error { [ERROR] : backtrace = "#0 () at :0"; [ERROR] : line = 35; [ERROR] : message = "Invalid type passed to function"; [ERROR] : nativeLocation = "-[TiNetworkHTTPClientProxy setOnsendstream:] (TiNetworkHTTPClientProxy.m:389)"; [ERROR] : nativeReason = "expected: Function, was: (null)"; [ERROR] : sourceId = 308101024; [ERROR] : sourceURL = "file:///Users/fede/Library/Application%20Support/iPhone%20Simulator/7.1/Applications/4DE68DA4-9A75-4BF5-BBFB-D130017BCB31/syncServer.app/appcelerator.syncserver.client"; [ERROR] : } [ERROR] : 2014-06-10 13:33:39.703 syncServer[75590:70b] Warning: Attempt to present on whose view is not in the window hierarchy! [INFO] : Sync Progress: { [DEBUG] : : {"message":"Received -378300%","progress":-3783,"state":"dataStream"} [INFO] : "message": "Received -378300%", [INFO] : "progress": -3783, [INFO] : "state": "dataStream" [INFO] : } [INFO] : Sync Progress: { [INFO] : "message": "Received 100%", [INFO] : "progress": 1, [INFO] : "state": "dataStream" [INFO] : } [INFO] : Sync Progress: { [INFO] : "message": "Pulled 10 record(s)", [INFO] : "modelName": "contact", [INFO] : "count": 10, [INFO] : "totalRecords": 10, [INFO] : "state": "pullPage" [INFO] : } [DEBUG] : : {"message":"Received 100%","progress":1,"state":"dataStream"} [DEBUG] : Request succeeded (5961 bytes, server: 1237ms, network: 231ms, total: 1468ms) [DEBUG] : : {"message":"Pulled 10 record(s)","modelName":"contact","count":10,"totalRecords":10,"state":"pullPage"} [INFO] : Sync Progress: { [INFO] : "message": "Pull completed for model ", [INFO] : "modelName": "contact", [INFO] : "count": 10, [INFO] : "totalRecords": 10, [INFO] : "state": "pullCompleted" [INFO] : } [DEBUG] : : {"message":"Pull completed for model ","modelName":"contact","count":10,"totalRecords":10,"state":"pullCompleted"} [INFO] : Sync Progress: { [INFO] : "message": "Synchronization completed", [INFO] : "state": "syncCompleted" [INFO] : } [DEBUG] : : {"message":"Synchronization completed","state":"syncCompleted"} [INFO] : Successfully synchronized: { [INFO] : "push": { [INFO] : "count": 0, [INFO] : "totalRecords": 0, [INFO] : "failed": [] [INFO] : }, [INFO] : "pull": { [INFO] : "count": 10, [INFO] : "contact": { [INFO] : "count": 10 [INFO] : } [INFO] : } [INFO] : } [DEBUG] : : {"push":{"count":0,"totalRecords":0,"failed":[]},"pull":{"count":10,"contact":{"count":10}}}