{ "id": "174803", "key": "TIMOB-27799", "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": "20949", "name": "Release 9.0.1", "archived": false, "released": true, "releaseDate": "2020-04-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2020-04-15T10:54:44.000+0000", "created": "2020-03-10T19:50:04.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "regression" ], "versions": [ { "id": "20827", "name": "Release 8.2.0", "archived": false, "released": true, "releaseDate": "2019-09-19" }, { "id": "20033", "name": "Release 9.0.0", "archived": false, "released": true, "releaseDate": "2020-03-18" } ], "issuelinks": [ { "id": "58432", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "175158", "key": "TIMOB-27966", "fields": { "summary": "Ti.Media Test Suite: Titanium.Media TIMOB-27799 iOS Only", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "priority": { "name": "None", "id": "6" }, "issuetype": { "id": "10100", "description": "This Issue Type is used to create Zephyr Test within Jira.", "name": "Test", "subtask": false } } } } ], "assignee": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2020-06-18T11:36:56.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": "When we try to set the URL of an existing video player to null the app crashes on iOS.\r\nNo crash seen on Android.\r\n\r\nThe issue occurs since Ti SDK 8.2.0.GA.\r\n\r\nSteps To Reproduce:\r\n1. Create a classic app. Use the app.js attached \r\n2. Install on iOS. When the app launches the video player starts playing\r\n3. Click on the \"Close Video\" button on the bottom right\r\n\r\nActual Result:\r\nThe app crashes with following error\r\n{code}\r\nERROR] : Script Error {\r\n[ERROR] : column = 14;\r\n[ERROR] : line = 22;\r\n[ERROR] : message = \"-[NSNull CGSizeValue]: unrecognized selector sent to instance 0x1149b4ea8\";\r\n[ERROR] : nativeStack = \"3 CoreFoundation 0x000000011474c443 ___forwarding___ + 1443\\n4 CoreFoundation 0x000000011474e238 _CF_forwarding_prep_0 + 120\\n5 testClassic1 0x000000010e0457d2 -[TiMediaVideoPlayerProxy observeValueForKeyPath:ofObject:change:context:] + 322\\n6 Foundation 0x000000011005821d -[NSKeyValueObservance observeValueForKeyPath:ofObject:change:context:] + 399\\n7 Foundation 0x000000011005e3b8 NSKeyValueNotifyObserver + 332\\n8 Foundation 0x00000001100619dc NSKeyValueDidChange + 489\\n9 Foundation 0x000000011005d9c9 NSKeyValueDidChangeWithPerThreadPendingNotifications + 143\\n10 AVFoundation 0x00000001131af44a -[AVPlayer _runOnIvarAccessQueueOperationThatMayChangeCurrentItemWithPreflightBlock:modificationBlock:] + 711\\n11 AVFoundation 0x00000001131b3cd8 -[AVPlayer replaceCurrentItemWithPlayerItem:] + 254\\n12 testClassic1 0x000000010e040459 -[TiMediaVideoPlayerProxy setUrl:] + 473\\n13 Foundation 0x0000000110061245 -[NSObject(NSKeyValueObservingPrivate) _changeValueForKeys:count:maybeOldValuesDict:maybeNewValuesDict:usingBlock:] + 694\\n14 Foundation 0x0000000110061bf3 -[NSObject(NSKeyValueObservingPrivate) _changeValueForKey:key:key:usingBlock:] + 68\\n15 Foundation 0x000000011005be19 _NSSetObjectValueAndNotify + 255\\n16 TitaniumKit0x0000000111b5728f -[KrollObject setValue:forKey:] + 410\\n17 TitaniumKit0x0000000111b553b7 KrollSetProperty + 360\\n18 JavaScriptCore 0x000000010e637665 _ZN3JSC16JSCallbackObjectINS_20JSDestructibleObjectEE3putEPNS_6JSCellEPNS_9ExecStateENS_12PropertyNameENS_7JSValueERNS_15PutPropertySlotE + 277\\n19 JavaScriptCore 0x000000010ead5d01 llint_slow_path_put_by_id + 2769\\n20 JavaScriptCore 0x000000010e6010bf llint_entry + 26156\\n21 JavaScriptCore 0x000000010e5fa8d9 vmEntryToJavaScript + 200\\n22 JavaScriptCore 0x000000010e9e0730 _ZN3JSC11Interpreter11executeCallEPNS_9ExecStateEPNS_8JSObjectENS_8CallTypeERKNS_8CallDataENS_7JSValueERKNS_7ArgListE + 464\";\r\n[ERROR] : sourceURL = \"file:///Users/satyamsekhri/Library/Developer/CoreSimulator/Devices/77E3E961-FDCF-43CA-A06A-BB17654668CF/data/Containers/Bundle/Application/A0DBC98B-8EB6-4D4B-8E8E-EFA786709201/testClassic1.app/app.js\";\r\n[ERROR] : stack = \" at (/app.js:22:14)\";\r\n[ERROR] : toJSON = \"\";\r\n[ERROR] : }\r\n[ERROR] : -[__NSCFString count]: unrecognized selector sent to instance 0x7f8577029800\r\n[ERROR] : *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFString count]: unrecognized selector sent to instance 0x7f8577029800'\r\n[ERROR] : *** First throw call stack:\r\n[ERROR] : (\r\n[ERROR] : \t0 CoreFoundation 0x00000001147476fb __exceptionPreprocess + 331\r\n[ERROR] : \t1 libobjc.A.dylib 0x000000011356bac5 objc_exception_throw + 48\r\n[ERROR] : \t2 CoreFoundation 0x0000000114765ab4 -[NSObject(NSObject) doesNotRecognizeSelector:] + 132\r\n[ERROR] : \t3 CoreFoundation 0x000000011474c443 ___forwarding___ + 1443\r\n[ERROR] : \t4 CoreFoundation 0x000000011474e238 _CF_forwarding_prep_0 + 120\r\n[ERROR] : \t5 TitaniumKit 0x0000000111b8487c -[TiExceptionHandler showScriptError:] + 300\r\n[ERROR] : \t6 TitaniumKit 0x0000000111b71cdf TiBindingEventProcess + 760\r\n[ERROR] : \t7 TitaniumKit 0x0000000111b92120 -[KrollContext invoke:] + 109\r\n[ERROR] : \t8 TitaniumKit 0x0000000111b92193 -[KrollContext enqueue:] + 93\r\n[ERROR] : \t9 TitaniumKit 0x0000000111b9977a TiBindingRunLoopEnqueue + 77\r\n[ERROR] : \t10 TitaniumKit 0x0000000111b97fd0 -[TiProxy fireEvent:withObject:propagate:reportSuccess:errorCode:message:] + 164\r\n[ERROR] : \t11 TitaniumKit 0x0000000111b79a0c -[TiViewProxy fireEvent:withObject:propagate:reportSuccess:errorCode:message:] + 224\r\n[ERROR] : \t12 testClassic1 0x000000010e036133 -[TiUIButtonProxy fireEvent:withObject:propagate:reportSuccess:errorCode:message:] + 275\r\n[ERROR] : \t13 TitaniumKit 0x0000000111b97cfb -[TiProxy fireEvent:withObject:] + 72\r\n[ERROR] : \t14 testClassic1 0x000000010e038d11 -[TiUIButton controlAction:forEvent:] + 721\r\n[ERROR] : \t15 UIKitCore 0x00000001204d9204 -[UIApplication sendAction:to:from:forEvent:] + 83\r\n[ERROR] : \t16 UIKitCore 0x000000011ff2ec19 -[UIControl sendAction:to:forEvent:] + 67\r\n[ERROR] : \t17 UIKitCore 0x000000011ff2ef36 -[UIControl _sendActionsForEvents:withEvent:] + 450\r\n[ERROR] : \t18 UIKitCore 0x000000011ff2deec -[UIControl touchesEnded:withEvent:] + 583\r\n[ERROR] : \t19 UIKitCore 0x0000000120511eee -[UIWindow _sendTouchesForEvent:] + 2547\r\n[ERROR] : \t20 UIKitCore 0x00000001205135d2 -[UIWindow sendEvent:] + 4079\r\n[ERROR] : \t21 UIKitCore 0x00000001204f1d16 -[UIApplication sendEvent:] + 356\r\n[ERROR] : \t22 testClassic1 0x000000010e02267c -[TiUIApplication sendEvent:] + 572\r\n[ERROR] : \t23 UIKitCore 0x00000001205c2293 __dispatchPreprocessedEventFromEventQueue + 3232\r\n[ERROR] : \t24 UIKitCore 0x00000001205c4bb9 __handleEventQueueInternal + 5911\r\n[ERROR] : \t25 CoreFoundation 0x00000001146aebe1 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17\r\n[ERROR] : \t26 CoreFoundation 0x00000001146ae463 __CFRunLoopDoSources0 + 243\r\n[ERROR] : \t27 CoreFoundation 0x00000001146a8b1f __CFRunLoopRun + 1231\r\n[ERROR] : \t28 CoreFoundation 0x00000001146a8302 CFRunLoopRunSpecific + 626\r\n[ERROR] : \t29 GraphicsServices 0x0000000118c732fe GSEventRunModal + 65\r\n[ERROR] : \t30 UIKitCore 0x00000001204d7ba2 UIApplicationMain + 140\r\n[ERROR] : \t31 testClassic1 0x000000010df99e9f main + 1215\r\n[ERROR] : \t32 libdyld.dylib 0x0000000116bcc541 start + 1\r\n[ERROR] : \t33 ??? 0x0000000000000001 0x0 + 1\r\n[ERROR] : )\r\n[ERROR] : libc++abi.dylib: terminating with uncaught exception of type NSException\r\n{code} ", "attachment": [ { "id": "67295", "filename": "app.js", "author": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-03-10T19:48:52.000+0000", "size": 545, "mimeType": "text/javascript" } ], "flagged": false, "summary": "ios: App crashes when setting video player url to null", "creator": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Mac OS: 10.15.1\r\nSDK: 9.0.0.v20200304064118, 8.2.0.GA\r\nAppc CLI: 7.1.2\r\nJDK: 11.0.4\r\nNode: 10.16.3\r\nStudio: 6.0.0.201911251516\r\nXcode: 11.2.1\r\nDevice: iPhone X(v13.2), iOS sim (v12.2)", "comment": { "comments": [ { "id": "454643", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This is regression from TIMOB-27234. Looking in this.", "updateAuthor": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-03-10T21:36:04.000+0000", "updated": "2020-03-10T21:36:04.000+0000" }, { "id": "454668", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR - https://github.com/appcelerator/titanium_mobile/pull/11537", "updateAuthor": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-03-11T20:52:12.000+0000", "updated": "2020-03-11T20:52:12.000+0000" }, { "id": "454856", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR (9_0_x) - https://github.com/appcelerator/titanium_mobile/pull/11570", "updateAuthor": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-03-25T18:05:30.000+0000", "updated": "2020-03-25T18:05:30.000+0000" }, { "id": "454963", "author": { "name": "srai", "key": "srai", "displayName": "Saumya Rai", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified FR on 9_0_X branch and added my observation in PR.", "updateAuthor": { "name": "srai", "key": "srai", "displayName": "Saumya Rai", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-04-03T13:51:24.000+0000", "updated": "2020-04-03T13:51:24.000+0000" }, { "id": "455096", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "merged to 9_0_X and master", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2020-04-13T14:42:41.000+0000", "updated": "2020-04-13T14:42:41.000+0000" }, { "id": "455140", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "*Closing ticket.* Fix verified in SDK version 9.1.0.v20200413112428. and 9.0.1.v20200413181237 \r\n\r\nTest and other information can be found at:\r\nPR - https://github.com/appcelerator/titanium_mobile/pull/11537\r\nPR (9_0_x) - https://github.com/appcelerator/titanium_mobile/pull/11570\r\n\r\n", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-04-15T10:54:35.000+0000", "updated": "2020-04-15T10:54:35.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }