{ "id": "92651", "key": "TIMOB-9336", "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": [ { "id": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" }, { "id": "13404", "description": "Sprint 2012-12 Core", "name": "Sprint 2012-12 Core", "archived": true, "released": true, "releaseDate": "2012-06-17" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-06-11T16:00:36.000+0000", "created": "2012-06-01T01:21:39.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "core", "qe-testadded", "regression" ], "versions": [ { "id": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" } ], "issuelinks": [], "assignee": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2012-07-04T04:33:27.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "A regression, the behavior do not exists in 1.8.2 and 2.0.2.\r\nThis occurs only on windows.On MAC,packaging with sdk 2.1.0 is not throwing error.\r\n\r\nSteps to reproduce :\r\n1) Create the default Titanium project with sdk selected as 2.1.0.\r\n2) Go to Publish > Distribute - Android app store\r\n3) Fill in your Distribution Location, Keystore Location, Keystore Password, and Key Alias \r\n4) Click Publish \r\n\r\nActual result\r\nWhile packaging a project if sdk is 2.1.0,it gives error.While with 2.0.2(or 1.8.2), the same project packages successfully.\r\nThe logs received with different sdks(1.8.2, 2.0.2 and 2.1.0) are attached with the bug.\r\nError shown is below :\r\n[ERROR] Error(s) compiling generated Java code\r\n[ERROR] C:\\Appcelerator\\Tit alternate workspace\\test3\\build\\android\\gen\\com\\appc\\test3\\AssetCryptImpl.java:24: expected\r\nNone\r\n ^\r\n1 error\r\n\r\nExpected result:\r\nPackaging should be successful with sdk 2.1.0 also.", "attachment": [ { "id": "28107", "filename": "Packaging1.8.2.txt", "author": { "name": "sbhadauria", "key": "sbhadauria", "displayName": "Shyam Bhadauria", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-01T01:21:39.000+0000", "size": 32170, "mimeType": "text/plain" }, { "id": "28108", "filename": "Packaging2.0.2.txt", "author": { "name": "sbhadauria", "key": "sbhadauria", "displayName": "Shyam Bhadauria", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-01T01:21:39.000+0000", "size": 30670, "mimeType": "text/plain" }, { "id": "28109", "filename": "Packaging2.1.0.txt", "author": { "name": "sbhadauria", "key": "sbhadauria", "displayName": "Shyam Bhadauria", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-01T01:21:39.000+0000", "size": 29041, "mimeType": "text/plain" } ], "flagged": false, "summary": "Android:Packaging:V8:Error occurring while packaging with sdk 2.1.0 whereas same project gets packaged with sdk 2.0.2 ", "creator": { "name": "sbhadauria", "key": "sbhadauria", "displayName": "Shyam Bhadauria", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "sbhadauria", "key": "sbhadauria", "displayName": "Shyam Bhadauria", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Tested with Titanium SDK: 2.1.0.v20120531211118\r\nTested with Titanium Studio: 2.1.0.201205301624\r\nHost operating system - Windows 7\r\nJavascript Engine: V8\r\n\r\n", "comment": { "comments": [ { "id": "197750", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "Is the host operating system Win 7 32-bit or 64-bit?", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-06-07T13:21:37.000+0000", "updated": "2012-06-07T13:21:37.000+0000" }, { "id": "197795", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "h3. Testing Notes\r\n\r\nh4. Test the fail case\r\n\r\n* Use Titanium SDK 2.1.0.v20120531211118 or the master (2.1.0) branch prior to my fix.\r\n\r\n* Do this in Windows 7.\r\n\r\n* _Before_ opening Titanium Studio, make sure you do _not_ have a JAVA_HOME environment variable set, but that you _do_ have the directory that contains \"javac\" (the java compiler) in your PATH.\r\n\r\n* Create the default Titanium Mobile project in Titanium Studio.\r\n\r\n* Package using the \"Distribute - Android App Store\" option.\r\n\r\n* The build should fail and you should see the error described by the submitter of this JIRA item.\r\n\r\nh4. Test the fix\r\n\r\n* Same as above, but you shouldn't see an error this time.\r\n\r\nh4. Test packaging on all platforms\r\n\r\n* Because I changed titanium_prep, you need to test packaging a project (any project) using \"Distribute - Android App Store\" on ...\r\n\r\n* * OS X\r\n\r\n* * Windows 7 (you'll have done that already in \"Test the fix\" above).\r\n\r\n* * Linux 32-bit\r\n\r\n* * Linux 64-bit\r\n", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-06-07T18:21:22.000+0000", "updated": "2012-06-07T18:21:22.000+0000" }, { "id": "197797", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "Pull request ready https://github.com/appcelerator/titanium_mobile/pull/2353", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-06-07T18:24:53.000+0000", "updated": "2012-06-07T18:24:53.000+0000" }, { "id": "199421", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified packaging works as expected on Linux, Mac, Win 7. Special emphasis paid to Win 7. Used SDK 2.1.0.v20120619172256, tried with and without JAVA_HOME variable.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-20T14:12:48.000+0000", "updated": "2012-06-20T14:12:48.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }