Project: titanium
Issue TIMOB-18674: Windows: Analytics is crashing during second invocation of sendAnalytics method
Running the corporate directory app from the CLI, the app reliably crashes when it tries to send the app.feature event (after having sent an enroll event). Here's the output from the logs during launch: {code} [INFO] Connected to app -- Start application log ----------------------------------------------------- [INFO] creating instance of Analytics class [INFO] checking if database exists [INFO] databaseExists [INFO] creating database [INFO] createDatabase [INFO] sendAppEnrollEvent [INFO] createAppEnrollEvent [INFO] createAnalyticsEvent [INFO] postAnalyticsEvent [INFO] needsEnrollEvent [INFO] getProps [INFO] addEvent [INFO] getProps [INFO] Sequence: 0 [INFO] Inserting: {"type":"ti.enroll","timestamp":"2015-03-10T18:04:27.819Z","m id":"","sid":"{d13d8cb9-6d9e-4045-893c-fd6a87c0a0fd}","appGUID":"__GUID__","payl oad":"{\"app_name\":\"__NAME__\",\"oscpu\":0,\"platform\":\"windows\",\"app_id\" :\"__ID__\",\"ostype\":\"x86\",\"osarch\":\"x86\",\"model\":\"Microsoft Virtual\ ",\"deploytype\":\"development\",\"app_version\":\"__VERSION__\",\"tz\":240,\"os \":\"windowsphone\",\"osver\":\"0.0\",\"sdkver\":\"__TITANIUM_VERSION__\",\"nett ype\":\"LAN\"}","expandPayload":true} [INFO] updateProps [INFO] sendAnalytics [INFO] updateProps [INFO] featureEvent [INFO] createEvent [INFO] createAnalyticsEvent [INFO] postAnalyticsEvent [INFO] addEvent [INFO] getProps [INFO] Sequence: 1 [INFO] Inserting: {"type":"app.feature","timestamp":"2015-03-10T18:04:27.820Z", "mid":"","sid":"{d13d8cb9-6d9e-4045-893c-fd6a87c0a0fd}","appGUID":"__GUID__","pa yload":"{\"eventName\":\"windows.directory.viewed\"}","expandPayload":true} [INFO] updateProps [INFO] sendAnalytics [INFO] Disconnected from app -- End application log ------------------------------------------------------- {code}
Story points: 8