[TIMOB-6005] iOS: Kitchensink - Mashups>YQL + Flickr, crash when launching the test
GitHub Issue | n/a |
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-12-02T15:57:07.000+0000 |
Affected Version/s | Release 1.7.5, Release 1.8.0 |
Fix Version/s | Sprint 2011-48, Release 1.8.0.1 |
Components | iOS |
Labels | ios110211nr |
Reporter | Eric Merriman |
Assignee | Vishal Duggal |
Created | 2011-11-04T16:23:26.000+0000 |
Updated | 2011-12-03T13:09:08.000+0000 |
Description
Description:
While testing KS, Mashups>YQL + Flickr, I tried to launch the test and the application crashed. See attached log file.
Console output:
Nov 4 17:16:32 unknown KitchenSink[641] : *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFDictionary setObject:forKey:]: attempt to insert nil value (key: data)'
*** Call stack at first throw:
(
0 CoreFoundation 0x365b564f __exceptionPreprocess + 114
1 libobjc.A.dylib 0x30dbfc5d objc_exception_throw + 24
2 CoreFoundation 0x365b5491 +[NSException raise:format:arguments:] + 68
3 CoreFoundation 0x365b54cb +[NSException raise:format:] + 34
4 CoreFoundation 0x365279d7 -[__NSCFDictionary setObject:forKey:] + 190
5 KitchenSink 0x00046717 KitchenSink + 284439
6 CoreFoundation 0x36522f03 -[NSObject(NSObject) performSelector:withObject:] + 22
7 KitchenSink 0x00017331 KitchenSink + 90929
8 CoreFoundation 0x36522f03 -[NSObject(NSObject) performSelector:withObject:] + 22
9 Foundation 0x30b3a7a9 __NSThreadPerformPerform + 268
10 CoreFoundation 0x3658ca79 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 12
11 CoreFoundation 0x3658e75f __CFRunLoopDoSources0 + 382
12 CoreFoundation 0x3658f4eb __CFRunLoopRun + 230
13 CoreFoundation 0x3651fec3 CFRunLoopRunSpecific + 230
14 CoreFoundation 0x3651fdcb CFRunLoopRunInMode + 58
15 GraphicsServices 0x34e6c41f GSEventRunModal + 114
16 GraphicsServices 0x34e6c4cb GSEventRun + 62
17 UIKit 0x34ae4d69 -[UIApplication _run] + 404
18 UIKit 0x34ae2807 UIApplicationMain + 670
19 KitchenSink 0x00006343 KitchenSink + 21315
20 KitchenSink 0x00004008 KitchenSink + 12296
)
Nov 4 17:16:32 unknown UIKitApplication:com.appcelerator.titanium[0x115f][641] : terminate called after throwing an instance of 'NSException'
Nov 4 17:16:32 unknown ReportCrash[655] : Formulating crash report for process KitchenSink[641]
Nov 4 17:16:32 unknown com.apple.launchd[1] : (UIKitApplication:com.appcelerator.titanium[0x115f]) Job appears to have crashed: Abort trap: 6
Nov 4 17:16:32 unknown SpringBoard[30] : Application 'KitchenSink' exited abnormally with signal 6: Abort trap: 6
Nov 4 17:16:32 unknown ReportCrash[655] : Saved crashreport to /var/mobile/Library/Logs/CrashReporter/KitchenSink_2011-11-04-171632_emate-iPad2.plist using uid: 0 gid: 0, synthetic_euid: 501 egid: 0
Nov 4 17:16:45 unknown com.apple.mobile.lockdown[17] : Could not receive size of message
Nov 4 17:16:45 unknown lockdownd[17] : 2ff72000 handle_connection: Could not receive USB message #6 from iTunes. Killing connection
Steps to Reproduce:
1) Install KS 1.8.0 on device
2) Navigate to Mashups>YQL + Flickr
3) Launch the test
Result:
Application crash.
Expected result:
Flickr stream shown
Notes:
Also occurs with 1.7.5 SDK
Attachments
I don't see any updates that need to occur to the module itself; what in particular were you seeing, Reggie? From my testing, the module is able to handle both errors and data successfully. One perceived error would be from Flickr requiring an api_key to access its data, but that has been partially handled by [TIMOB-5399].
Please see if this is fixed.
Fixed in 1.8.0.1
Tested with SDK: 1.8.0.1.v20111203093857 iPhone 4s 5.0.1 iPad 2 4.3.5 iPod 3rd gen 4.0.2