{ "id": "61448", "key": "TIMOB-816", "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": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-08-02T18:11:22.000+0000", "created": "2011-04-15T02:37:05.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "ios", "ipad", "mobilesdk", "movieplayer" ], "versions": [], "issuelinks": [], "assignee": { "name": "rseagraves", "key": "rseagraves", "displayName": "Reggie Seagraves", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-08-02T18:11:22.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": "{html}

Here's a quick example app.js. Uncomment the fullscreen line, or\nhit the fullscreen button in the interface, either will crash the\niPad simulator. SDK 3.2, mobilesdk 1.2.0.

\n
\nvar win = Titanium.UI.createWindow({ backgroundColor:'#fff' });\nwin.open();\nvar mymovie = Ti.Media.createVideoPlayer({\n  contentURL: 'http://www.txstate.edu/prospectiveflash/VIDEO/Rising_Stars/ChristinaConlee.m4v',\n  backgroundColor:'#111',\n  movieControlMode:Ti.Media.VIDEO_CONTROL_FULLSCREEN,\n  scalingMode:Ti.Media.VIDEO_SCALING_ASPECT_FIT\n});\nmymovie.addEventListener('fullscreen', function(e) {\n  Ti.API.info('nothing special in here');\n});\nwin.add(mymovie);\n//mymovie.fullscreen = true;\nmymovie.play();\n
\nHere is the error message that pops up:
\n
\n[ERROR] The application has crashed with an unhandled exception. Stack trace:\n0 CoreFoundation 0x0369c24b _raiseError + 299\n1 libobjc.A.dylib 0x9692e509 objc_exception_throw + 56\n2 CoreFoundation 0x0369c01b +[NSException raise:format:arguments:] + 155\n3 CoreFoundation 0x0369bf7a +[NSException raise:format:] + 58\n4 Foundation 0x00427195 -[NSCFDictionary setObject:forKey:] + 293\n5 StupidTest 0x0007a8e2 -[TiMediaVideoPlayerProxy handleFullscreenEnterNotification:] + 176\n6 Foundation 0x00437d1a nsnote_callback + 106\n7 CoreFoundation 0x03644d05 CFXNotificationPostNotification + 453\n8 Foundation 0x0042ef00 -[NSNotificationCenter postNotificationName:object:userInfo:] + 128\n9 MediaPlayer 0x02a6d566 -[MPMoviePlayerControllerNew videoControllerWillEnterFullscreen:] + 233\n10 MediaPlayer 0x02ad7b7d -[MPInlineVideoViewController transitionToFullscreenAnimated:] + 167\n11 MediaPlayer 0x02ad73a6 -[MPInlineVideoViewController transportControls:tappedButtonPart:] + 413\n12 MediaPlayer 0x02aa3373 -[MPTransportControls handleTapForPart:] + 118\n13 UIKit 0x006b9bc6 -[UIApplication sendAction:to:from:forEvent:] + 119\n14 UIKit 0x0072c8d5 -[UIControl sendAction:to:forEvent:] + 67\n15 UIKit 0x0072eb0f -[UIControl(Internal) sendActionsForEvents:withEvent:] + 478\n16 UIKit 0x0072d842 -[UIControl touchesEnded:withEvent:] + 442\n17 UIKit 0x006d7d68 -[UIWindow sendTouchesForEvent:] + 507\n18 UIKit 0x006be1ed -[UIApplication sendEvent:] + 403\n19 UIKit 0x006c5c47 UIApplicationHandleEvent + 7102\n20 GraphicsServices 0x03b1317c PurpleEventCallback + 1578\n21 CoreFoundation 0x0362c03c CFRunLoopRunSpecific + 4076\n22 CoreFoundation 0x0362b048 CFRunLoopRunInMode + 88\n23 GraphicsServices 0x03b1189d GSEventRunModal + 217\n24 GraphicsServices 0x03b11962 GSEventRun + 115\n25 UIKit 0x006c3de1 UIApplicationMain + 1134\n26 StupidTest 0x000031be main + 360\n27 StupidTest 0x0000302a start + 54\n2010-04-26 13:20:30.756 StupidTest[19645:207]  Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: ' -[NSCFDictionary setObject:forKey:]: attempt to insert nil value (key: curve)'\n2010-04-26 13:20:30.757 StupidTest[19645:207] Stack: (\n57262667,\n2526209289,\n57262107,\n57261946,\n4354453,\n501986,\n4422938,\n56904965,\n4386560,\n44488038,\n44923773,\n44921766,\n44708723,\n7052230,\n7522517,\n7531279,\n7526466,\n7175528,\n7070189,\n7101511,\n61944188,\n56803388,\n56799304,\n61937821,\n61938018,\n7093729,\n12734,\n12330\n)\n
{html}", "attachment": [], "flagged": false, "summary": "Video Player crashes in iPad when fullscreen event is caught", "creator": { "name": "nickwing", "key": "nickwing", "displayName": "Nick Wing", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "nickwing", "key": "nickwing", "displayName": "Nick Wing", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "161625", "author": { "name": "vsingh", "key": "vsingh", "displayName": "Vikramjeet Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Bug Scrub: Invalid/Fixed. No Test Case exists. Used provided code. \n\nTested On: \nMac OSX Lion \nTiMob Version: 1.7.2 \nTiStud Version: 1.0.2 \n\nDevices used: \niPhone 4.3.4", "updateAuthor": { "name": "vsingh", "key": "vsingh", "displayName": "Vikramjeet Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-08-02T18:11:22.000+0000", "updated": "2011-08-02T18:11:22.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }