java.lang.IllegalArgumentException: Unexpected char 0x5e0 at 575 in Cookie value
See original GitHub issueEnvironment
Node: 8.9.4 Yarn: 1.0.2 npm: 5.6.0 react: 16.2.0 => 16.2.0 react-native: 0.51.0 => 0.51.0
Description
Same issue as this https://github.com/facebook/react-native/issues/11401 when a content is displayed in webview. Posting my crash report below.
Fatal Exception: java.lang.IllegalArgumentException: Unexpected char 0x5e0 at 575 in Cookie value: AWSALB=XXXXX; lux_uid=XXXXX; _ga=GA1.2.XXXXX; _gid=GA1.2.XXXXX; iad=1; __adblocker=false; um=1; ud=1; uh=1; _dc_gtm_UA-XXXXX=1; landingPageCookie=https://www.XXXXX; piano_limit=1; _gat_UA-XXXXX=1; user_geo_location={"continentCode":"XX"; "countryCode":"XX"=; "country":"XXXXX"=; "region":"X=; "city":"XXXXX"}=; traffic_src={"ga_gclid":""; "ga_source":"(direct)"=; "ga_medium":"(none)"=; "ga_campaign":""=; "ga_content":""=; "ga_keyword":""=; "ga_landing_page":"https://XXXXX"=; "ga_client_id":"XXXXX"}=
at okhttp3.Headers$Builder.checkNameAndValue(Headers.java:320)
at okhttp3.Headers$Builder.set(Headers.java:300)
at okhttp3.Request$Builder.header(Request.java:164)
at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:86)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:120)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)
at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:179)
at okhttp3.RealCall$AsyncCall.execute(RealCall.java:129)
at okhttp3.internal.NamedRunnable.run(NamedRunnable.java:32)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
at java.lang.Thread.run(Thread.java:762)
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:5
Top Results From Across the Web
java.lang.IllegalArgumentException: Unexpected char 0x1d at ...
there are several characters, that could cause this error, for example an unvisible newline character, as stated in this github issue:.
Read more >Diff - platform/frameworks/base - android Git repositories
Parcelable { @@ -33047,6 +33222,7 @@ method public static final void setThreadPriority(int) throws java.lang.IllegalArgumentException, java.lang.
Read more >Unexpected char 0x20 at 10 in header name: User-Agent ...
Italian java.lang.IllegalArgumentException: Unexpected char 0x20 at 10 in header name: User-Agent. Thread starter Angelo Messina ...
Read more >Unexpected char 0x6d4b at 0 in Content-Type value问题解决
HTTP Status 500 - Request processing failed; nested exception is java.lang.IllegalArgumentException: hostname can't be null type Exception ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Can you run
react-native info
and edit your issue to include these results under the Environment section?If you believe this information is irrelevant to the reported issue, you may write
[skip envinfo]
under Environment to let us know.any news on this ? I have still this error