{ "id": "149247", "key": "TIMOB-19105", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2015-11-10T01:25:23.000+0000", "created": "2015-06-29T19:13:37.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [ { "id": "16723", "description": "Windows Platform Support, ListView updates, Vector overlays in maps", "name": "Release 4.1.0", "archived": false, "released": true, "releaseDate": "2015-07-08" }, { "id": "16925", "description": "WatchKit Support--all going into 5.0 now", "name": "Release 5.0.0", "archived": true, "released": true, "releaseDate": "2015-09-16" } ], "issuelinks": [ { "id": "54561", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "166595", "key": "TIMOB-24485", "fields": { "summary": "Windows: LiveView is not working for Windows Phone 8.1.", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "Low", "id": "4" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-06-14T21:21:00.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "12642", "name": "Windows", "description": "Windows authoring support" } ], "description": "*NOTE* - This is a regression. Works fine with build 4.1.0.v20150629074136\r\nh5.Steps To Reproduce:\r\n1. Create a default alloy or classic app for windows.\r\n2. Build for windows device.\r\n\r\nh5.Actual Results:\r\n1. The app launches, we see the appcelerator splash screen & the app crashes.\r\n2. In the logs we get {code}[ERROR] The remote procedure call failed.{code}\r\n3. We are not able to build for windows device because of this issue.\r\n\r\nh5.Expected Results:\r\n1. The app should not crash after splash screen when launched on device & we should not see any errors.", "attachment": [], "flagged": false, "summary": "Windows: App crashes after showing splash screen on device only with error \"[ERROR] The remote procedure call failed.\" ", "creator": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Environment:\r\nAppc Studio: 4.1.0.201506261427\r\nTi SDK: 4.1.0.v20150629101857\r\nTi CLI: 4.0.1\r\nAlloy: 1.6.2\r\nWindows: 8.1 Enterprise 64-bit\r\nAPPC NPM: 4.1.0-1\r\nAPPC CLI: 4.1.0-4 \r\nDevice: Nokia Lumia 928 - Windows Phone 8.1\r\nWindows emulator : 8.1", "closedSprints": [ { "id": 525, "state": "closed", "name": "2015 Sprint 23 SDK", "startDate": "2015-11-07T01:30:15.519Z", "endDate": "2015-11-21T01:30:00.000Z", "completeDate": "2015-11-23T02:54:27.887Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "356290", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "This appears to be due to encryption. Building to device with a deploy type of development does not throw this error(no encryption) and emulator with a deploy type of production throws this error (encryption)", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2015-06-29T19:28:04.000+0000", "updated": "2015-06-29T19:28:04.000+0000" }, { "id": "356291", "author": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "body": "Please provide the app you're trying to compile, too.", "updateAuthor": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "created": "2015-06-29T19:30:36.000+0000", "updated": "2015-06-29T19:30:36.000+0000" }, { "id": "356301", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "[~dtoth] this happens with a newly created project using {{appc new}}, building with either {{appc run -p windows -T wp-device}} or {{appc run -p windows -T wp-emulator -D production}}", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2015-06-29T20:25:58.000+0000", "updated": "2015-06-29T20:25:58.000+0000" }, { "id": "356613", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix.\r\n\r\nWe can build to device successfully.\r\n\r\nClosing.\r\n\r\nEnvironment:\r\nAppc Studio: 4.1.0.201506261427\r\nTi SDK: 4.1.0.v20150701131146\r\nTi CLI: 4.0.1\r\nAlloy: 1.6.2\r\nWindows: 8.1 Enterprise 64-bit\r\nAPPC NPM: 4.1.0-1\r\nAPPC CLI: 4.1.0-4 \r\nDevice: Nokia Lumia 928 - Windows Phone 8.1\r\n", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-07-01T20:47:57.000+0000", "updated": "2015-07-01T20:47:57.000+0000" }, { "id": "358185", "author": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This is a regression as the issue does not occur on SDK 4.1.0.GA\r\n\r\nThe issue occurs only on device and not on emulator with deployment type as development or production.\r\n\r\nEnvironment:\r\nOS: Win 8.1 enterprise - 64-bit\r\nTi SDK: 4.2.0.v20150721230609\r\nAppc CLI core: 4.1.2\r\nAppc CLI npm: 4.1.0\r\nDevice: Nokia Lumia 520 (v8.1)", "updateAuthor": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-07-23T05:20:53.000+0000", "updated": "2015-07-23T05:20:53.000+0000" }, { "id": "358200", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "[~ssekhri] This message is basically a generic crash and doesn't give any real details on why it failed. Do you know when this started happening? With what app? We sort of need to look at the recent changes and possible triggers to have idea why this might fail...\r\n\r\nGiven that it works on emulator versus device, it's likely to be encryption related: cc [~dtoth]", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2015-07-23T16:26:32.000+0000", "updated": "2015-07-23T16:32:05.000+0000" }, { "id": "358241", "author": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~cwilliams]The issue occurs for both alloy and titanium apps. It did crash on new default template apps. Also tried a sample app like Todo list and it did show the same behavior.\r\nThe issue does not occur on 4.1.0,GA\r\nHowever, going back through builds on the master branch, found that the issue started occurring since the build 4.2.0.v20150721115805\r\nThe build on the mater branch prior to it i.e. 4.2.0.v20150720183441 works fine.\r\nSurprisingly both these build have the same githash. So not sure what triggered the fail", "updateAuthor": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-07-24T06:57:39.000+0000", "updated": "2015-07-24T06:57:39.000+0000" }, { "id": "359784", "author": { "name": "buder", "key": "buder", "displayName": "Jörgen Buder", "active": true, "timeZone": "Europe/Berlin" }, "body": "Hi\r\n\r\nI am now experiencing this exact problem with almost all my apps, however very simple ones does not, I have for instance a few dummies. Did you have more info in this?", "updateAuthor": { "name": "buder", "key": "buder", "displayName": "Jörgen Buder", "active": true, "timeZone": "Europe/Berlin" }, "created": "2015-08-13T08:34:46.000+0000", "updated": "2015-08-13T08:34:46.000+0000" }, { "id": "359812", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "As stated, this is a very generic error which basically just means something went wrong during startup. If we can narrow the SDKs that worked versus when it started showing this error, we can narrow to the possible commits that may have caused it. According to Satyam, it looks like it started around July 20th/21st- so that likely means one of these commits may have caused the issue:\r\nhttps://github.com/appcelerator/titanium_mobile_windows/commit/8df75a5d0cecbf7544d0133c49e2b47912c9af18\r\nhttps://github.com/appcelerator/titanium_mobile_windows/commit/d93270c5acd9e2468ca64ede68f533526d773b30\r\nhttps://github.com/appcelerator/titanium_mobile_windows/commit/662154b13d93f7b51c80ad489392b48a472c81bb\r\n\r\n", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2015-08-13T14:11:54.000+0000", "updated": "2015-08-13T14:11:54.000+0000" }, { "id": "363661", "author": { "name": "mitch.starnes@bnsf.com", "key": "mitch.starnes@bnsf.com", "displayName": "Mitch Starnes", "active": true, "timeZone": "America/Chicago" }, "body": "Any update on this? \r\n\r\nWhen I use 4.2.0.v20150720183441, I get \"Error while require(./app) Can't find variable: _.\r\n\r\nNo luck with anything else that I have tried, either, including the 9/9/15 5.0.0 CR. I get [ERROR] The remote procedure call failed.\r\n\r\n", "updateAuthor": { "name": "mitch.starnes@bnsf.com", "key": "mitch.starnes@bnsf.com", "displayName": "Mitch Starnes", "active": true, "timeZone": "America/Chicago" }, "created": "2015-09-12T01:21:26.000+0000", "updated": "2015-09-12T01:21:26.000+0000" }, { "id": "363676", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "[~mstarnes] Hi Mitch. The undefined \"_\" bug was fixed in TIMOB-19084 which is in the 5.0.x builds.\r\n\r\nAs for the \"remote procedure call failed\" - this is a generic error which typically means that the app crashed during startup. The quickest way to diagnose this is to zip up the app and send it along to us so that we can run the app under the Visual Studio debugger with the debug/source of the Titanium libraries and pinpoint the exception/crash causing the issue. \r\n\r\nYou can email me to zip at cwilliams@appcelerator.com and I can convert it and try it out under the debugger to see what's going on.", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2015-09-12T15:54:06.000+0000", "updated": "2015-09-12T15:54:06.000+0000" }, { "id": "363677", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "Just a general comment for any users seeing this: This is a very generic error, and it's impossible to diagnose what _exactly_ is crashing without being able to get a copy of your app and running it under the debugger with the Titanium source code ourselves.\r\n\r\nIt's likely that some API call being made on startup or setup of your UI is causing a crash. Unless we happen to have a sample app or unit test suite that mimics the same API usage we can't reproduce without your code to know what the root cause is.", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2015-09-12T17:27:07.000+0000", "updated": "2015-09-12T17:27:07.000+0000" }, { "id": "363715", "author": { "name": "buder", "key": "buder", "displayName": "Jörgen Buder", "active": true, "timeZone": "Europe/Berlin" }, "body": "Agree, see this many times... among two is:\n\nYou need to have the en-GB which was not needed in other targets.\n\nDo not use the app_name tag in strings.XML it conflicts with something is the windows builds... \n\nJust for those ending up here... \n\nregards", "updateAuthor": { "name": "buder", "key": "buder", "displayName": "Jörgen Buder", "active": true, "timeZone": "Europe/Berlin" }, "created": "2015-09-13T21:17:35.000+0000", "updated": "2015-09-13T21:17:35.000+0000" }, { "id": "363813", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Catch-all ticket, so marking this for 5.1.0 to keep track of it.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-09-14T18:42:38.000+0000", "updated": "2015-09-14T18:42:38.000+0000" }, { "id": "367729", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Sounds like this relates to TIMOB-19745. [~gmathews] Thoughts?", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-10-25T02:39:16.000+0000", "updated": "2015-10-25T02:39:16.000+0000" }, { "id": "367758", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I think this is something different since the app actually gets deployed to the device. I'll look into this.", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-10-26T08:20:49.000+0000", "updated": "2015-10-26T08:20:49.000+0000" }, { "id": "368384", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Is anyone still seeing this? I can't reproduce it.", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-10-30T01:28:12.000+0000", "updated": "2015-10-30T01:28:12.000+0000" }, { "id": "368390", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "I can't reproduce it too.", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-10-30T02:27:07.000+0000", "updated": "2015-10-30T02:27:07.000+0000" }, { "id": "369490", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "This needs more info on how to reproduce this. Please create new ticket if this happens again.", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-11-10T01:31:38.000+0000", "updated": "2015-11-10T01:31:46.000+0000" }, { "id": "422009", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Echoing the above comments, any further problems please file a new ticket.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-06-14T21:21:00.000+0000", "updated": "2017-06-14T21:21:00.000+0000" } ], "maxResults": 27, "total": 27, "startAt": 0 } } }