{ "id": "138723", "key": "AC-1316", "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": "2015-09-28T15:59:03.000+0000", "created": "2014-10-30T01:34:39.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:37:43.000+0000", "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" } }, "components": [], "description": "INFO] : 2014-10-29 21:26:04.433 LilyPad[7028:223609] -[NSCFArray isHidden]: unrecognized selector sent to instance 0x792c6130 [INFO] : 2014-10-29 21:26:04.459 LilyPad[7028:223609] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFArray isHidden]: unrecognized selector sent to instance 0x792c6130' [INFO] : *** First throw call stack: [INFO] : 0 CoreFoundation 0x04ee2946 __exceptionPreprocess + 182 [INFO] : 1 libobjc.A.dylib 0x04aa4a97 objc_exception_throw + 44 [INFO] : 2 CoreFoundation 0x04eea5c5 -[NSObject(NSObject) doesNotRecognizeSelector:] + 277 [INFO] : 3 CoreFoundation 0x04e333e7 ___forwarding___ + 1047 [INFO] : 4 CoreFoundation 0x04e32fae _CF_forwarding_prep_0 + 14 [INFO] : 5 LilyPad 0x000df51d -[TiViewProxy layoutChildrenIfNeeded] + 157 [INFO] : 6 LilyPad 0x002724a7 +[TiLayoutQueue layoutProxy:] + 87 [INFO] : 7 LilyPad 0x00272279 performLayoutRefresh + 553 [INFO] : 8 CoreFoundation 0x04e3c8d6 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION + 22 [INFO] : 9 CoreFoundation 0x04e3c25d __CFRunLoopDoTimer + 1309 [INFO] : 10 CoreFoundation 0x04dfb6ba __CFRunLoopRun + 2090 [INFO] : 11 CoreFoundation 0x04dfabcb CFRunLoopRunSpecific + 443 [INFO] : 12 CoreFoundation 0x04dfa9fb CFRunLoopRunInMode + 123 [INFO] : 13 GraphicsServices 0x0554024f GSEventRunModal + 192 [INFO] : 14 GraphicsServices 0x0554008c GSEventRun + 104 [INFO] : 15 UIKit 0x01c028b6 UIApplicationMain + 1526 [INFO] : 16 LilyPad 0x00091a58 main + 456 [INFO] : 17 libdyld.dylib 0x05945ac9 start + 1 [INFO] : libc++abi.dylib: terminating with uncaught exception of type NSException -- End simulator log ---------------------------------------------------------\r\n— asked ? by Peter Ladis\r\n", "attachment": [], "flagged": false, "summary": "App is crashing with various native windows , for example Image Gallery", "creator": { "name": "peterladis", "key": "peterladis", "displayName": "Peter Ladis", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "peterladis", "key": "peterladis", "displayName": "Peter Ladis", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "330607", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "body": "Hello,\r\nPlease read this guide:\r\n\r\nhttp://docs.appcelerator.com/titanium/2.1/#!/guide/How_to_Submit_a_Bug_Report\r\n\r\nand add a testcase and instructions to reproduce it. \r\n\r\nBest Regards", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2014-11-03T21:09:15.000+0000", "updated": "2014-11-03T21:09:15.000+0000" }, { "id": "331249", "author": { "name": "peterladis", "key": "peterladis", "displayName": "Peter Ladis", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Mauro,\r\n\r\nHere is sample code:\r\n\r\nI have a button called profileImage, when i click it i attempt to bring up the native gallery picker.....sometimes a hard crash occurs\r\n\r\nprofileImage.addEventListener('click',function(e)\r\n\t\t\t{\r\n\t\t\t\tTitanium.Media.openPhotoGallery({\r\n\t\t\r\n\t\t\t\t\tsuccess:function(event)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tvar image = event.media;\r\n\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tif(event.mediaType == Ti.Media.MEDIA_TYPE_PHOTO)\r\n\t\t\t\t\t\t{\r\n\t\t\r\n\t\t\t\t\t\t\r\n\t\t\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telse\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t// is this necessary?\r\n\t\t\t\t\t\t}\r\n\t\t\r\n\t\t\t\t\t},\r\n\t\t\t\t\tcancel:function()\r\n\t\t\t\t\t{\r\n\t\t\r\n\t\t\t\t\t},\r\n\t\t\t\t\terror:function(error)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t},\r\n\t\t\t\t\tmediaTypes:[Ti.Media.MEDIA_TYPE_PHOTO]\r\n\t\t\t\t});\r\n\t\t\r\n\t\t\t});", "updateAuthor": { "name": "peterladis", "key": "peterladis", "displayName": "Peter Ladis", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-11-07T22:28:06.000+0000", "updated": "2014-11-07T22:28:06.000+0000" }, { "id": "361242", "author": { "name": "rmitro", "key": "rmitro", "displayName": "Rakhi Mitro", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Hello,\r\n\r\nI have tested this issue in updated environment. We could not reproduce this as a platform bug as per test case below.\r\n\r\n*Test Environments:*\r\n\r\nCLI Version = 4.0.1\r\n\r\nTitanium SDK Version = 4.1.0.GA\r\n\r\nAppcelerator Studio, build: 4.1.1.201507141126\r\n\r\nDevice: SM-T210R,Android Version:4.4.2\r\n\r\n*Test Steps:*\r\n\r\n* Create a button on app.js\r\n* Click on this button,photo gallery will be open\r\n* Select a photo from photo gallery \r\n\r\n\r\n*Test Code:*\r\n\r\n{code}\r\n\r\n\r\nvar win1 = Titanium.UI.createWindow({\r\n\r\ntitle : 'Image Gallery',\r\n\r\nbackgroundColor : 'pink',\r\n\r\nlayout : 'vertical',\r\n\r\n});\r\n\r\n \r\n\r\nvar display = Ti.UI.createImageView({\r\n\r\ntop : '30%',\r\n\r\nzIndex : 2,\r\n\r\nbackgroundColor : '#000',\r\n\r\nborderColor : 'gray',\r\n\r\nborderRadius : 2,\r\n\r\nborderWidth : 3,\r\n\r\nvisible : false\r\n\r\n});\r\n\r\n \r\n\r\nwin1.add(display);\r\n\r\n \r\n\r\nvar profileImage = Ti.UI.createButton({\r\n\r\ntitle : 'profileImage',\r\n\r\nheight : \"auto\",\r\n\r\nwidth : \"50%\",\r\n\r\n//top : myTop,\r\n\r\n//left : myLeft\r\n\r\n});\r\n\r\n \r\n\r\nprofileImage.addEventListener('click', function() {\r\n\r\nTitanium.Media.openPhotoGallery({\r\n\r\n \r\n\r\n success : function(event) {\r\n\r\n display.setImage(event.media);\r\n\r\n display.show(); \r\n\r\n },\r\n\r\n cancel : function() {\r\n\r\n alert('Canceled!');\r\n\r\n },\r\n\r\n error : function(error) {\r\n\r\n },\r\n\r\n \r\n\r\n mediaTypes : [Ti.Media.MEDIA_TYPE_VIDEO, Ti.Media.MEDIA_TYPE_PHOTO]\r\n\r\n });\r\n\r\n});\r\n\r\n \r\n\r\nwin1.add(profileImage);\r\n\r\n \r\n\r\nwin1.open(); \r\n\r\n{code}\r\n\r\n\r\n*Test Result:*\r\n\r\nApp is working fine. Selected image from photogallery displayed properly in Window.", "updateAuthor": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-08-26T09:43:57.000+0000", "updated": "2015-09-28T15:58:51.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }