mattgemmell/MGTwitterEngine

Issue when uploading profile image

Closed this issue · 0 comments

Twaat[4255:207] * Terminating app due to uncaught exception 'NSRangeException', reason: '* -[NSArray objectAtIndex:]: index 1 beyond bounds [0 .. 0]'
*** Call stack at first throw:
(
0 CoreFoundation 0x028dd919 exceptionPreprocess + 185
1 libobjc.A.dylib 0x02a2b5de objc_exception_throw + 47
2 CoreFoundation 0x028d358c -[__NSArrayI objectAtIndex:] + 236
3 Twaat 0x0001d906 -[NSMutableURLRequest(OAParameterAdditions) parameters] + 633
4 Twaat 0x0001f1e1 -[OAMutableURLRequest _signatureBaseString] + 38
5 Twaat 0x0001ed14 -[OAMutableURLRequest prepare] + 44
6 Twaat 0x000180a4 -[MGTwitterHTTPURLConnection initWithRequest:delegate:requestType:responseType:] + 29
7 Twaat 0x00012815 -[MGTwitterEngine _sendDataRequestWithMethod:path:queryParameters:filePath:body:requestType:responseType:] + 721
8 Twaat 0x0001554d -[MGTwitterEngine setProfileImageWithImageAtPath:] + 117
9 Twaat 0x0002106e -[FVTwaatAccountViewController updateProfile:] + 409
10 UIKit 0x00783e14 -[UIApplication sendAction:to:from:forEvent:] + 119
11 UIKit 0x0080d6c8 -[UIControl sendAction:to:forEvent:] + 67
12 UIKit 0x0080fb4a -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 527
13 UIKit 0x0080e6f7 -[UIControl touchesEnded:withEvent:] + 458
14 UIKit 0x007a72ff -[UIWindow _sendTouchesForEvent:] + 567
15 UIKit 0x007891ec -[UIApplication sendEvent:] + 447
16 UIKit 0x0078dac4 _UIApplicationHandleEvent + 7495
17 GraphicsServices 0x03134afa PurpleEventCallback + 1578
18 CoreFoundation 0x028bedc4 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION
+ 52
19 CoreFoundation 0x0281f737 __CFRunLoopDoSource1 + 215
20 CoreFoundation 0x0281c9c3 __CFRunLoopRun + 979
21 CoreFoundation 0x0281c280 CFRunLoopRunSpecific + 208
22 CoreFoundation 0x0281c1a1 CFRunLoopRunInMode + 97
23 GraphicsServices 0x031332c8 GSEventRunModal + 217
24 GraphicsServices 0x0313338d GSEventRun + 115
25 UIKit 0x00791b58 UIApplicationMain + 1160
26 Twaat 0x0001d0f2 main + 85
27 Twaat 0x000021a5 start + 53
)