{ "id": "160139", "key": "AC-3610", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2016-05-12T08:29:03.000+0000", "created": "2016-05-10T05:43:18.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-05-12T08:37:25.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": [], "description": "I started getting the problem at SDK 5.4.0.v20160503001406 and it has been present since then. I tested using 5.4.0.v20160509133737 today and still get the same error.\r\n\r\nSDK <= 5.4.0.v20160428075219 works fine\r\n\r\n\r\nSteps to reproduce:\r\n\r\n1. Create native windows module:\r\n{code}\r\n ti create -p windows -t module\"\r\n{code}\r\n2. Build module: \r\n{code}\r\n cd \\windows\r\n ti build -p windows -t wp-local\r\n{code}\r\n3. Copy resulting zip file to existing mobile app project\r\n4. include in tiapp.xml:\r\n{code}\r\n \r\n module_name\r\n \r\n{code}\r\n5. Build using CLI:\r\n{code}\r\n appc ti build --platform windows --target wp-device\r\n{code}\r\n\r\nResult:\r\n{code}\r\n[INFO] Project built successfully in 2m 382ms\r\n\r\n[INFO] Installing the application...\r\n[ERROR] The remote procedure call failed.\r\n[ERROR] Error: The remote procedure call failed.\r\n at ChildProcess. (C:\\ProgramData\\Titanium\\mobilesdk\\win32\\5.4.0.v20160509133737\\node_modules\\windowslib\\lib\\wptool.js:762:10)\r\n at ChildProcess.emit (events.js:110:17)\r\n at maybeClose (child_process.js:1015:16)\r\n at Process.ChildProcess._handle.onexit (child_process.js:1087:5)\r\n{code}\r\n", "attachment": [], "flagged": false, "summary": "Windows: wptools.js fails when installing application with native module", "creator": { "name": "jonasbjurhult", "key": "jonasbjurhult", "displayName": "Jonas Bjurhult", "active": true, "timeZone": "Europe/Stockholm" }, "subtasks": [], "reporter": { "name": "jonasbjurhult", "key": "jonasbjurhult", "displayName": "Jonas Bjurhult", "active": true, "timeZone": "Europe/Stockholm" }, "environment": null, "comment": { "comments": [ { "id": "385272", "author": { "name": "nsalahin", "key": "nsalahin", "displayName": "Nazmus Salahin", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Hello,\r\n\r\nI am able to build and run on Windows Phone Emulator with SDK {{5.4.0.v20160509133737}} without any error using following command.\r\n{code}\r\nappc run -p windows -T wp-emulator\r\n{code}\r\n\r\nBut I am not able to build and run on Windows Phone Device with SDK {{5.4.0.v20160509133737}} using following command.\r\n{code}\r\nappc run -p windows -T wp-device\r\n{code}\r\n*Error log:*\r\n{code}\r\n[WARN] error while updating tiapp data with appc platform: \r\n[WARN] error while updating tiapp data with appc platform: \r\n2016-05-10T11:54:01.162Z | ERROR | An uncaught exception was thrown!\r\nCallback was already called.\r\n2016-05-10T11:54:01.168Z | ERROR | Callback was already called.\r\n{code}\r\n\r\nBuild and run works fine on device and emulator with SDK {{5.4.0.v20160405161149}}\r\n\r\nThanks\r\n\r\n*Environment*:\r\n\r\n*OS :* Microsoft Windows 8.1 Enterprise N\r\n*Device info:* Microsoft Lumia 640 (Windows Phone 8.1)\r\n*Node.js Version:* 0.12.7\r\n*npm Version:* 2.11.3\r\n*Titanium SDKs:* 5.4.0.v20160509133737\r\n*Java Development Kit Version:* 1.8.0_73\r\n*Titanium CLI Version:* 5.0.5\r\n*Appcelerator CLI Version:* 5.2.2\r\n*Appcelerator Studio:* 4.5.0\r\n\r\n", "updateAuthor": { "name": "nsalahin", "key": "nsalahin", "displayName": "Nazmus Salahin", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2016-05-10T12:01:54.000+0000", "updated": "2016-05-10T12:01:54.000+0000" }, { "id": "385277", "author": { "name": "jonasbjurhult", "key": "jonasbjurhult", "displayName": "Jonas Bjurhult", "active": true, "timeZone": "Europe/Stockholm" }, "body": "Did you include a native module in your build?\r\n", "updateAuthor": { "name": "jonasbjurhult", "key": "jonasbjurhult", "displayName": "Jonas Bjurhult", "active": true, "timeZone": "Europe/Stockholm" }, "created": "2016-05-10T12:57:51.000+0000", "updated": "2016-05-10T12:57:51.000+0000" }, { "id": "385513", "author": { "name": "nsalahin", "key": "nsalahin", "displayName": "Nazmus Salahin", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Hello [~jonasbjurhult],\r\nWe do not give support for Windows Phone module development yet. This support will start soon. You will have to wait till then to get support for Windows Phone module development.\r\n\r\nThanks for your understanding ", "updateAuthor": { "name": "nsalahin", "key": "nsalahin", "displayName": "Nazmus Salahin", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2016-05-12T08:27:50.000+0000", "updated": "2016-05-12T08:27:50.000+0000" }, { "id": "385516", "author": { "name": "buder", "key": "buder", "displayName": "Jörgen Buder", "active": true, "timeZone": "Europe/Berlin" }, "body": "Supporting module development has to work from day one when you support Windows since you have so little support in Windows for example for background service (TimeTrigger) which is part of our app delivering to client end of May, we have ongoing touch point to support this and so not supporting this/us in this case is not an option, Please escalate to Chris och Kota, I will contact support to understand this issue. And since it is rather obvious that a module creates this kind of problem in later SDKs there is a regression you have to fix.\r\n\r\nLet me know if you have more questions...\r\n\r\nI am currently running the app with 20160420 SDK where it works, but anything above that does not execute. Module development is a central part of all your targets..\r\n\r\nThanks", "updateAuthor": { "name": "buder", "key": "buder", "displayName": "Jörgen Buder", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-05-12T08:37:25.000+0000", "updated": "2016-05-12T08:37:25.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }