Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-6005] iOS: Kitchensink - Mashups>YQL + Flickr, crash when launching the test

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2011-12-02T15:57:07.000+0000
Affected Version/sRelease 1.7.5, Release 1.8.0
Fix Version/sSprint 2011-48, Release 1.8.0.1
ComponentsiOS
Labelsios110211nr
ReporterEric Merriman
AssigneeVishal Duggal
Created2011-11-04T16:23:26.000+0000
Updated2011-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

FileDateSize
yql crash.crash2011-11-04T16:23:26.000+000033629

Comments

  1. Dawson Toth 2011-11-21

    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].
  2. Don Thorp 2011-11-29

    Please see if this is fixed.
  3. Vishal Duggal 2011-12-02

    Fixed in 1.8.0.1
  4. Natalie Huynh 2011-12-03

    Tested with SDK: 1.8.0.1.v20111203093857 iPhone 4s 5.0.1 iPad 2 4.3.5 iPod 3rd gen 4.0.2

JSON Source