Skip to content

InAppMessaging - A lot of crashes in Crashlytics #2988

Closed
@antranapp

Description

@antranapp

[READ] Step 1: Are you in the right place?

YES

[REQUIRED] Step 2: Describe your environment

  • Xcode version: 10.2.1
  • Firebase SDK version: 5.20.2
  • Firebase Component: IAM
  • Component version: latest

[REQUIRED] Step 3: Describe the problem

After intergrating IAM in our latest app version, we start seeing a lot of crashes reported to crashlytics

Fatal Exception: NSInvalidArgumentException
*** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[1]
-[FIRIAMClearcutLogger constructSourceExtensionJsonForClearcutWithEventType:forCampaignID:eventTimeInMs:instanceID:]

Fatal Exception: NSInvalidArgumentException
0  CoreFoundation                 0x1ea4b4518 __exceptionPreprocess
1  libobjc.A.dylib                0x1e968f9f8 objc_exception_throw
2  CoreFoundation                 0x1ea42df8c _CFArgv
3  CoreFoundation                 0x1ea3b6168 -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]
4  CoreFoundation                 0x1ea3a6d44 +[NSDictionary dictionaryWithObjects:forKeys:count:]
5  XXXX                        0x10510fe78 -[FIRIAMClearcutLogger constructSourceExtensionJsonForClearcutWithEventType:forCampaignID:eventTimeInMs:instanceID:]
6  XXXX                        0x105110160 -[FIRIAMClearcutLogger logAnalyticsEventForType:forCampaignID:withEventTimeInMs:IID:completion:]
7  XXXX                        0x1051104c4 __105-[FIRIAMClearcutLogger logAnalyticsEventForType:forCampaignID:withCampaignName:eventTimeInMs:completion:]_block_invoke
8  XXXX                        0x1051123b0 __80-[FIRIAMClientInfoFetcher fetchFirebaseIIDDataWithProjectNumber:withCompletion:]_block_invoke_2
9  libdispatch.dylib              0x1e9ef4a38 _dispatch_call_block_and_release
10 libdispatch.dylib              0x1e9ef57d4 _dispatch_client_callout
11 libdispatch.dylib              0x1e9ed59e4 _dispatch_main_queue_callback_4CF$VARIANT$armv81
12 CoreFoundation                 0x1ea445ec0 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__
13 CoreFoundation                 0x1ea440df8 __CFRunLoopRun
14 CoreFoundation                 0x1ea440354 CFRunLoopRunSpecific
15 GraphicsServices               0x1ec64079c GSEventRunModal
16 UIKitCore                      0x2169f7b68 UIApplicationMain
17 XXXX                        0x104d47558 main (<compiler-generated>)
18 libdyld.dylib                  0x1e9f068e0 start

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions