iOS SDK throwing error on launch

normathook

Posted on
May 31 2014

Hey,

Trying out Raygun for the first time. I've dropped in the SDK and inserted the import statement and the [Raygun sharedReporterWithApiKey:@"

When launching, I get:

2014-05-30 11:11:23.987 <app name>[3314:3503] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[1]'
2014-05-30 11:11:23.968 <app name>[3314:3503] (
    0   CoreFoundation                      0x321df3ff <redacted> + 186
    1   libobjc.A.dylib                     0x39eda963 objc_exception_throw + 30
    2   CoreFoundation                      0x3213087b <redacted> + 134
    3   CoreFoundation                      0x32167383 <redacted> + 50
    4   Big Web QA                          0x000d3b1f -[RaygunErrorFormatter messageDetailsFromCrashReport:withData:] + 310
    5   Big Web QA                          0x000d3891 -[RaygunErrorFormatter formatCrashReport:withData:] + 104
    6   Big Web QA                          0x000c5e0d -[Raygun sendCrashData:completionHandler:] + 104
    7   Big Web QA                          0x000c5d13 -[Raygun sendCrashFile:] + 154
    8   Foundation                          0x32a76229 <redacted> + 200
    9   Foundation                          0x32a6da89 <redacted> + 840
    10  Foundation                          0x32ae5fe7 <redacted> + 102
    11  libdispatch.dylib                   0x3a2f4793 <redacted> + 10
    12  libdispatch.dylib                   0x3a2f8657 <redacted> + 278
    13  libdispatch.dylib                   0x3a2f87d9 <redacted> + 92
    14  libsystem_c.dylib                   0x3a31c7f1 <redacted> + 360
    15  libsystem_c.dylib                   0x3a31c684 start_wqthread + 8
)

I have the -ObjC flag in my compile options. Compiling with the 7.1 SDK for iOS6 and above.


normathook

Posted on
May 31 2014

To add more details... this happens when installing the SDK manually without using pods. The latest version Raygun4iOS Version 1.2.1.


martin308

Posted on
Jun 03 2014

Hi, just looking at this now. Will get back shortly


martin308

Posted on
Jun 03 2014

Hi, I don't seem to be able to reproduce this. Do you have a repro project I can use? Also were you using any other crash reporting services prior to putting in Raygun?


Reply