Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: App crashes on launch NSInvalidArgumentException - *** -[__NSPlaceholderArray initWithObjects:count:]: attempt to insert nil object from objects[1] #1456

Closed
1 task done
zxx0712 opened this issue Jun 25, 2024 · 2 comments

Comments

@zxx0712
Copy link

zxx0712 commented Jun 25, 2024

What happened?

App crashes at launch, crashes are reported, error description says App crashes on launch NSInvalidArgumentException - Frameworks/OneSignalInAppMessages.framework/OneSignalInAppMessages

  • *** -[__NSPlaceholderArray initWithObjects:count:]: attempt to insert nil object from objects[1]

Steps to reproduce?

None

What did you expect to happen?

App should open without crashing

OneSignal iOS SDK version

Release 5.1.5

iOS version

17, 16

Specific iOS version

No response

Relevant log output

Timestamp
June 25, 2024, 1:48am
Location
0x0000EA68 in app/Frameworks/OneSignalInAppMessages.framework/OneSignalInAppMessages
Exception
NSInvalidArgumentException
Message
*** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[1]

Code of Conduct

  • I agree to follow this project's Code of Conduct
@nan-li
Copy link
Contributor

nan-li commented Jun 25, 2024

Hi @zxx0712 thank you for reporting, do you have the full stacktrace of the crash for this?

@nan-li
Copy link
Contributor

nan-li commented Jun 25, 2024

This is a duplicate of #1453. Closing to track on that issue instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants