java.lang.IllegalArgumentException

Unexpected char 0x00 at 1 in header name: CType at okhttp3.Headers$Builder.checkNameAndValue(Unknown Source:275) at okhttp3.Headers$Builder.set(Unknown Source:263) at okhttp3.Request$Builder.header(Unknown Source:165) at okhttp3.RealCall.getResponse(Unknown Source:213) at okhttp3.RealCall$ApplicationInterceptorChain.proceed(Unknown Source:198) at com.twitter.sdk.android.core.internal.oauth.OAuthService$1.intercept(Unknown Source:64) at okhttp3.RealCall$ApplicationInterceptorChain.proceed(Unknown Source:187) at okhttp3.RealCall.getResponseWithInterceptorChain(Unknown Source:41160) at okhttp3.RealCall$AsyncCall.execute(Unknown Source:127) at okhttp3.internal.NamedRunnable.run(Unknown Source:32)

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web12632

  • Unexpected char 0x00 at 1 in header name: CType at okhttp3.Headers$Builder.checkNameAndValue(Unknown Source:275) at okhttp3.Headers$Builder.set(Unknown Source:263) at okhttp3.Request$Builder.header(Unknown Source:165) at
  • via nabble.com by Unknown author, 1 year ago
            at javax.xml.validation.SchemaFactory.newInstance(Unknown Source)
  • Invalid MTJ Project. at org.eclipse.mtj.internal.core.build.MTJBuildProperties.<init> (Unknown Source) at org.eclipse.mtj.internal.core.build.MTJBuildProperties.getBuildProperties (Unknown Source) at
  • Stack trace

    • java.lang.IllegalArgumentException: Unexpected char 0x00 at 1 in header name: CType at okhttp3.Headers$Builder.checkNameAndValue(Unknown Source:275) at okhttp3.Headers$Builder.set(Unknown Source:263) at okhttp3.Request$Builder.header(Unknown Source:165) at okhttp3.RealCall.getResponse(Unknown Source:213) at okhttp3.RealCall$ApplicationInterceptorChain.proceed(Unknown Source:198) at com.twitter.sdk.android.core.internal.oauth.OAuthService$1.intercept(Unknown Source:64) at okhttp3.RealCall$ApplicationInterceptorChain.proceed(Unknown Source:187) at okhttp3.RealCall.getResponseWithInterceptorChain(Unknown Source:41160) at okhttp3.RealCall$AsyncCall.execute(Unknown Source:127) at okhttp3.internal.NamedRunnable.run(Unknown Source:32) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588) at java.lang.Thread.run(Thread.java:818)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    2 times, 1 year ago
    Once, 1 year ago