{ "id": "108089", "key": "TIMOB-12334", "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": "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": "2017-06-20T20:45:55.000+0000", "created": "2013-01-18T09:00:54.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "SupportTeam" ], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" }, { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" }, { "id": "15856", "description": "Release 3.2.1", "name": "Release 3.2.1", "archived": false, "released": true, "releaseDate": "2014-02-10" } ], "issuelinks": [], "assignee": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-06-20T20:45:55.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "h6.Problem\r\nWhen application is launched on device, code line exception is not correctly catch.\r\n\r\nh6.Actual results\r\nOn Simulator shows the exact code line.\r\nOn device always shows \"line 1\"\r\n\r\nh6.Expected results\r\nGet same code line number thrown for a given exception\r\n\r\nh6.Tested on\r\niOS 6 simulator & iPhone 4 w/ 6.0.1\r\n\r\nh6.Test case\r\n{code}\r\nvar win1 = Titanium.UI.createWindow({\r\n\r\n\ttitle : 'Window 1',\r\n\tbackgroundColor : '#fff'\r\n});\r\n\r\nvar label1 = Titanium.UI.createLabel({\r\n\tcolor : '#000',\r\n\ttext : 'Click me to open',\r\n\tfont : {\r\n\t\tfontSize : 20,\r\n\t\tfontFamily : 'Helvetica Neue'\r\n\t},\r\n\ttextAlign : 'center',\r\n\twidth : 'auto',\r\n});\r\n\r\nwin1.add(label1);\r\nwin1.open();\r\nvar win2 = Titanium.UI.createWindow({\r\n\ttitle : 'Window 1',\r\n\tbackgroundColor : '#000'\r\n});\r\n\r\nvar label2 = Titanium.UI.createLabel({\r\n\tcolor : '#fff',\r\n\ttext : 'Click me to close',\r\n\tfont : {\r\n\t\tfontSize : 20,\r\n\t\tfontFamily : 'Helvetica Neue'\r\n\t},\r\n\ttextAlign : 'center',\r\n\twidth : 'auto',\r\n});\r\n\r\nwin2.add(label2);\r\nlabel1.addEventListener('click', function(e) {\r\n\twin2.open({\r\n\t\ttransition : Titanium.UI.iPhone.AnimationStyle.CURL_UP\r\n\t});\r\n});\r\n\r\nlabel2.addEventListener('click', function(e) {\r\n\twin2.close({\r\n\t\ttransition : Titanium.UI.iPhone.AnimationStyle.CURL_DOWN\r\n\t});\r\n\t//win2.close();\r\n});\r\n\r\n// Getting an NULL exception ...\r\nvar initdb = null;\r\nvar tmp = initdb.execute(\"delete from visit;\");\r\n{code}\r\n\r\n", "attachment": [ { "id": "34839", "filename": "iOS_Device_Test.jpg", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-01-18T09:00:54.000+0000", "size": 1139350, "mimeType": "image/jpeg" }, { "id": "34838", "filename": "iOS_Simulator_Test.jpg", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-01-18T09:00:54.000+0000", "size": 76021, "mimeType": "image/jpeg" } ], "flagged": false, "summary": "iOS: Code line number for an exception is different between device and simulator", "creator": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "Titanium SDK 3.0.0.GA,3.2.1.GA & CI builds\r\niOS 6, 7", "comment": { "comments": [ { "id": "422395", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "I am unable to reproduce this issue with the following environment;\r\niPhone 7 and Simulator (10.2)\r\nStudio 4.9.0.201705302345\r\nTi SDK 6.1.1.v20170620103414\r\nAppc NPM 4.2.9\r\nAppc CLI 6.2.1\r\nTi CLI 5.0.13\r\nAlloy 1.9.11\r\nArrow 2.0.0\r\nXcode 8.2 (8C38)\r\nNode v4.8.2\r\nJava 1.8.0_131", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-06-20T20:45:48.000+0000", "updated": "2017-06-20T20:45:48.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }