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

java.lang.IllegalArgumentException #19430

Closed
3 tasks
romreed opened this issue May 24, 2018 · 6 comments
Closed
3 tasks

java.lang.IllegalArgumentException #19430

romreed opened this issue May 24, 2018 · 6 comments
Labels
Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot. Type: Invalid This issue does not belong here. Applying this label will cause issue to be closed.

Comments

@romreed
Copy link

romreed commented May 24, 2018

This error show me google console in production (more often in android 7.0). Maybe this help you
image

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

@react-native-bot react-native-bot added Type: Invalid This issue does not belong here. Applying this label will cause issue to be closed. Ran Commands One of our bots successfully processed a command. labels May 24, 2018
@react-native-bot
Copy link
Collaborator

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.

@rahamin1
Copy link

@romreed Did you find any solution?

@romreed
Copy link
Author

romreed commented Aug 13, 2018

@rahamin1 No (

@rahamin1
Copy link

rahamin1 commented Aug 13, 2018

Thanks! So you used https://branch.io/ ?

@romreed
Copy link
Author

romreed commented Aug 13, 2018

@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.

@johnreytanquinco
Copy link

also getting similar issue. #20620

@facebook facebook locked as resolved and limited conversation to collaborators May 24, 2019
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label May 24, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot. Type: Invalid This issue does not belong here. Applying this label will cause issue to be closed.
Projects
None yet
Development

No branches or pull requests

4 participants