{ "id": "93348", "key": "TIMOB-9585", "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": "14164", "description": "Release 3.0.2", "name": "Release 3.0.2", "archived": true, "released": true, "releaseDate": "2013-02-19" } ], "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": "2013-03-18T14:20:59.000+0000", "created": "2012-06-15T16:00:18.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "api", "parity", "qe-and060112" ], "versions": [ { "id": "13273", "description": "Release 2.0.2", "name": "Release 2.0.2", "archived": false, "released": true, "releaseDate": "2012-05-31" }, { "id": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" }, { "id": "13272", "description": "Release 2.0.1", "name": "Release 2.0.1", "archived": true, "released": true, "releaseDate": "2012-04-16" } ], "issuelinks": [], "assignee": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-21T21:24:43.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": "If Map.Annotation.leftButton image resource does not exist, app will force close/crash on launch when run on emulator.\r\n\r\nThis is not a regression.\r\n\r\nThis does not occur on Android devices.\r\n\r\nThis does not occur in the iOS Simulator.\r\n\r\nSteps to Reproduce:\r\n\r\n1. Run code:\r\n\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor: 'black',\r\n layout:'vertical'\r\n});\r\n \r\nvar b = Ti.UI.createButton({\r\n title: \"change annotation\"\r\n});\r\n\r\nb.addEventListener('click', function() {\r\n alert(\"click! annotation.title = \" + mountainView.title);\r\n mountainView.title = \"Found it!\";\r\n mountainView.subtitle = \"Works!\";\r\n});\r\n\r\nwin.add(b);\r\n \r\nvar mountainView = Titanium.Map.createAnnotation({\r\n latitude:37.390749,\r\n longitude:-122.081651,\r\n title:\"Appcelerator Headquarters\",\r\n subtitle:'Mountain View, CA',\r\n pincolor:Titanium.Map.ANNOTATION_RED,\r\n animate:true,\r\n leftButton: '../images/appcelerator_small.png',\r\n myid:1\r\n});\r\n \r\nvar mapview = Ti.Map.createView({\r\n mapType: Titanium.Map.STANDARD_TYPE,\r\n region: {latitude:37.390749, longitude:-122.081651, \r\n latitudeDelta:0.01, longitudeDelta:0.01},\r\n annotations: [mountainView]\r\n});\r\n\r\nwin.add(mapview);\r\n \r\nwin.open();\r\n{code}\r\n\r\nActual Result:\r\n\r\nForce Close dialog/crash.\r\n\r\nExpected Result:\r\n\r\nThe app should load. A window should open. There should be a vertical layout with a button on the top and a map on the bottom.", "attachment": [ { "id": "28417", "filename": "ddms log.txt", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-15T16:00:18.000+0000", "size": 21101, "mimeType": "text/plain" } ], "flagged": false, "summary": "Android: Emulator: Map.Annotation.leftButton: missing image resource crashes app on launch", "creator": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "SDK: 2.0.1.GA2, 2.0.2.GA, 2.1.0.v20120615150353\r\nStudio: 2.1.0.201206141932\r\nOS: Snow Leopard\r\nAndroid Runtimes: V8, Rhino\r\nDevices Tested: Android Emulator 2.2, 2.3.3, LG Revolution 2.3.6\r\nDevices Affected: Android Emulator 2.2, 2.3.3", "comment": { "comments": [ { "id": "242664", "author": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Issue does not reproduces with\r\n\r\nTitanium Studio, build: 3.0.1.201212181159\r\nTitanium SDK version: 3.1.0 (03/11/13 15:43 0c88429)\r\nTitanium SDK version: 3.0.2 (02/07/13 16:46 a4def81)\r\nDevice: Samsung galaxy s duos Android version: 4.0.4\r\n\r\njithinpv", "updateAuthor": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-18T14:20:59.000+0000", "updated": "2013-03-18T14:20:59.000+0000" }, { "id": "414437", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as the issue cannot be reproduced.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-21T21:24:43.000+0000", "updated": "2017-03-21T21:24:43.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }