-
Notifications
You must be signed in to change notification settings - Fork 102
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
Thread 1: "*** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[2]" #129
Comments
I am having the same issue, anyone have any solution for this. crash is in both simulator and real device. |
I'm getting the same error. react: 16.13.1 |
same problem |
I think this is specific to M1 Macs. I noticed the same issue reported for a similar function in a different package: RonRadtke/react-native-blob-util#80 |
any solution yet? |
Hi, what @palmsey said is correct. This package isn't supporting the latest iOS version simulators on M1 Macs. But it is working fine in iOS version 13.7 simulator running on M1 Mac. I'm using iPhone 8 Plus simulator on M1 Mac and it works fine: Also, I've verified the working of release version app in iPhone SE (14.1) device, iPhone 13 (15.1) device and iPhone 13 (15) browserstack (functionality worked but crashes occurred sometimes). Specifically, I tried only this feature - |
Just try and it worked on iPhone 11 simulator iOS 13.7 but it will crash on iOS 15.2 |
Crashes now on Simulator and iOS device. iOS 15.5 |
i Have same issue; Thread 66: "*** -[_NSPlaceholderData initWithBase64EncodedString:options:]: nil string argument" Crashes in iOS 15.4 and16.0 simulator RN: 0.65.1 Maybe important a point! AND MAYBE SOLUTION --> our backend server some time return 500 error even if we send same value and parameters. |
I'm seeing the same issue. iOS simulator: iPhone 13 (iOS 15.5) Info
|
same problem |
same problem, crash every time FileViewer.open(path) arm64 Apple M1 |
Same problem here! |
same problem, but on intel, contrary to what they are talking about |
I have the same issue here. npx react-native info output: |
Bug report
Summary
simulator crashes leading to this error, works fine on physical device
Reproducible sample code
RNFS.downloadFile(options) .promise.then(() => FileViewer.open(localFile, { onDismiss: () => RNFS.unlink(localFile) }) .then(() => console.log('File Success')) .catch(() => console.log('opening file')) ) .catch(() => displayMessage('cannot be viewed', true));
Environment info
npx react-native info
output:library version: 2.1.5
iOS version: 15.0.0
The text was updated successfully, but these errors were encountered: