-
Notifications
You must be signed in to change notification settings - Fork 24.3k
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
java.lang.IllegalArgumentException #19430
Comments
We use GitHub Issues exclusively for tracking bugs in React Native. See the React Native Community Support page for a list of places where you may ask for help. |
@romreed Did you find any solution? |
@rahamin1 No ( |
Thanks! So you used https://branch.io/ ? |
@rahamin1 No. I dont found solution for this problem. Try check your header in fetch or axios. I read what if you send request with null or undefined in header you got this crash. |
also getting similar issue. #20620 |
This error show me google console in production (more often in android 7.0). Maybe this help you
java.lang.IllegalArgumentException:
at okhttp3.Headers$Builder.checkNameAndValue (Headers.java:320)
at okhttp3.Headers$Builder.add (Headers.java:270)
at com.facebook.react.modules.network.NetworkingModule.extractHeaders (NetworkingModule.java:702)
at com.facebook.react.modules.network.NetworkingModule.sendRequest (NetworkingModule.java:330)
at java.lang.reflect.Method.invoke (Native Method)
at com.facebook.react.bridge.JavaMethodWrapper.invoke (JavaMethodWrapper.java:372)
at com.facebook.react.bridge.JavaModuleWrapper.invoke (JavaModuleWrapper.java:160)
at com.facebook.react.bridge.queue.NativeRunnable.run (Native Method)
at android.os.Handler.handleCallback (Handler.java:754)
at android.os.Handler.dispatchMessage (Handler.java:95)
at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage (MessageQueueThreadHandler.java:29)
at android.os.Looper.loop (Looper.java:163)
at com.facebook.react.bridge.queue.MessageQueueThreadImpl$3.run (MessageQueueThreadImpl.java:192)
at java.lang.Thread.run (Thread.java:760)
Environment
Environment:
OS: macOS Sierra 10.12.6
Node: 8.6.0
Yarn: 1.5.1
npm: 5.6.0
Watchman: 4.9.0
Xcode: Xcode 9.0 Build version 9A235
Android Studio: 3.1 AI-173.4720617
Packages: (wanted => installed)
react: 16.3.1 => 16.3.1
react-native: 0.55.4 => 0.55.4
The text was updated successfully, but these errors were encountered: