question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

java.lang.IllegalArgumentException: Unexpected char 0x5e0 at 575 in Cookie value

See original GitHub issue

Environment

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:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:5

github_iconTop GitHub Comments

1reaction
react-native-botcommented, Aug 10, 2018

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.

0reactions
VittoriDavidecommented, Apr 4, 2019

any news on this ? I have still this error

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found