{ "id": "145075", "key": "AC-1252", "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": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2015-06-26T23:45:01.000+0000", "created": "2015-02-24T12:19:51.000+0000", "labels": [ "dropdown", "iPad", "webview" ], "versions": [], "issuelinks": [], "assignee": { "name": "rtlechuga", "key": "rtlechuga", "displayName": "Radamantis Torres-Lechuga", "active": false, "timeZone": "Asia/Dubai" }, "updated": "2016-03-08T07:37:38.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": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "{panel:title=Sample Code}\r\nvar htmlContent = \"\";\r\nvar webview = Titanium.UI.createWebView();\r\nwebview.html = htmlContent;\r\nvar window = Titanium.UI.createWindow();\r\nwindow.add(webview);\r\nwindow.open();\r\n{panel}\r\n\r\n*Try clicking the drop downs multiple times and your app will get crash with the following log.*\r\n\r\n{panel:title=crash log}\r\n[ERROR] : The application has crashed with an uncaught exception 'NSGenericException'.\r\n[ERROR] : Reason:\r\n[ERROR] : UIPopoverPresentationController () should have a non-nil sourceView or barButtonItem set before the presentation occurs.\r\n[ERROR] : Stack trace:\r\n[ERROR] : \r\n[ERROR] : 0 CoreFoundation 0x050aedda __exceptionPreprocess + 154\r\n[ERROR] : 1 libobjc.A.dylib 0x04c81a97 objc_exception_throw + 44\r\n[ERROR] : 2 UIKit 0x0249ba37 -[UIPopoverPresentationController presentationTransitionWillBegin] + 3086\r\n[ERROR] : 3 UIKit 0x01da2f75 __71-[UIPresentationController _initViewHierarchyForPresentationSuperview:]_block_invoke + 1666\r\n[ERROR] : 4 UIKit 0x01da1554 __56-[UIPresentationController runTransitionForCurrentState]_block_invoke + 226\r\n[ERROR] : 5 UIKit 0x01dd521b __40+[UIViewController _scheduleTransition:]_block_invoke + 18\r\n[ERROR] : 6 UIKit 0x01c9b62e ___afterCACommitHandler_block_invoke + 15\r\n[ERROR] : 7 UIKit 0x01c9b5d9 _applyBlockToCFArrayCopiedToStack + 415\r\n[ERROR] : 8 UIKit 0x01c9b3ee _afterCACommitHandler + 545\r\n[ERROR] : 9 CoreFoundation 0x04fd1fbe __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 30\r\n[ERROR] : 10 CoreFoundation 0x04fd1f00 __CFRunLoopDoObservers + 400\r\n[ERROR] : 11 CoreFoundation 0x04fc793a __CFRunLoopRun + 1226\r\n[ERROR] : 12 CoreFoundation 0x04fc71ab CFRunLoopRunSpecific + 443\r\n[ERROR] : 13 CoreFoundation 0x04fc6fdb CFRunLoopRunInMode + 123\r\n[ERROR] : 14 GraphicsServices 0x068c524f GSEventRunModal + 192\r\n[ERROR] : 15 GraphicsServices 0x068c508c GSEventRun + 104\r\n[ERROR] : 16 UIKit 0x01c71e16 UIApplicationMain + 1526\r\n[ERROR] : 17 HIP Mobile 0x000b0a28 main + 456\r\n[ERROR] : 18 libdyld.dylib 0x06bb7ac9 start + 1\r\n[ERROR] : \r\n[ERROR] : 2015-02-24 17:01:06.613 HIP Mobile[33936:2697052] *** Terminating app due to uncaught exception 'NSGenericException', reason: 'UIPopoverPresentationController () should have a non-nil sourceView or barButtonItem set before the presentation occurs.'\r\n[ERROR] : *** First throw call stack:\r\n[ERROR] : (\r\n[ERROR] : \t0 CoreFoundation 0x050aedf6 __exceptionPreprocess + 182\r\n[ERROR] : \t1 libobjc.A.dylib 0x04c81a97 objc_exception_throw + 44\r\n[ERROR] : \t2 UIKit 0x0249ba37 -[UIPopoverPresentationController presentationTransitionWillBegin] + 3086\r\n[ERROR] : \t3 UIKit 0x01da2f75 __71-[UIPresentationController _initViewHierarchyForPresentationSuperview:]_block_invoke + 1666\r\n[ERROR] : \t4 UIKit 0x01da1554 __56-[UIPresentationController runTransitionForCurrentState]_block_invoke + 226\r\n[ERROR] : \t5 UIKit 0x01dd521b __40+[UIViewController _scheduleTransition:]_block_invoke + 18\r\n[ERROR] : \t6 UIKit 0x01c9b62e ___afterCACommitHandler_block_invoke + 15\r\n[ERROR] : \t7 UIKit 0x01c9b5d9 _applyBlockToCFArrayCopiedToStack + 415\r\n[ERROR] : \t8 UIKit 0x01c9b3ee _afterCACommitHandler + 545\r\n[ERROR] : \t9 CoreFoundation 0x04fd1fbe __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 30\r\n[ERROR] : \t10 CoreFoundation 0x04fd1f00 __CFRunLoopDoObservers + 400\r\n[ERROR] : \t11 CoreFoundation 0x04fc793a __CFRunLoopRun + 1226\r\n[ERROR] : \t12 CoreFoundation 0x04fc71ab CFRunLoopRunSpecific + 443\r\n[ERROR] : \t13 CoreFoundation 0x04fc6fdb CFRunLoopRunInMode + 123\r\n[ERROR] : \t14 GraphicsServices 0x068c524f GSEventRunModal + 192\r\n[ERROR] : \t15 GraphicsServices 0x068c508c GSEventRun + 104\r\n[ERROR] : \t16 UIKit 0x01c71e16 UIApplicationMain + 1526\r\n[ERROR] : \t17 HIP Mobile 0x000b0a28 main + 456\r\n[ERROR] : \t18 libdyld.dylib 0x06bb7ac9 start + 1\r\n[ERROR] : )\r\n[ERROR] : libc++abi.dylib: terminating with uncaught exception of type NSException\r\n{panel}", "attachment": [], "flagged": false, "summary": "Webviews having