java.lang.NullPointerException

GitHub | swankjesse | 3 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    okhttpUtils post a audio as params but throw java.net.ProtocolException: expected 1875 bytes but received 2067

    Stack Overflow | 6 months ago | JinJieGoo
    java.net.ProtocolException: expected 1875 bytes but received 2067 11-04 15:14:03.255 21739-21739/com.smartstudy.smartmark W/System.err:

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at okio.Okio$1.write()
    2. Okio
      RealBufferedSink.flush
      1. okio.Okio$1.write(Okio.java:77)
      2. okio.AsyncTimeout$1.write(AsyncTimeout.java:179)
      3. okio.RealBufferedSink.flush(RealBufferedSink.java:216)
      3 frames
    3. okhttp3.internal.http1
      Http1Codec.finishRequest
      1. okhttp3.internal.http1.Http1Codec.finishRequest(Http1Codec.java:166)
      1 frame
    4. okhttp3.internal.http
      RealInterceptorChain.proceed
      1. okhttp3.internal.http.CallServerInterceptor.intercept(CallServerInterceptor.java:64)
      2. okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
      2 frames
    5. okhttp3.internal.connection
      ConnectInterceptor.intercept
      1. okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:45)
      1 frame
    6. okhttp3.internal.http
      RealInterceptorChain.proceed
      1. okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
      2. okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)
      2 frames
    7. okhttp3.internal.cache
      CacheInterceptor.intercept
      1. okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93)
      1 frame
    8. okhttp3.internal.http
      RealInterceptorChain.proceed
      1. okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
      2. okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)
      3. okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93)
      4. okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
      5. okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:120)
      6. okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
      7. okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)
      7 frames
    9. okhttp3.internal.ws
      WebSocketHttpTest$1.intercept
      1. okhttp3.internal.ws.WebSocketHttpTest$1.intercept(WebSocketHttpTest.java:67)
      1 frame
    10. okhttp3.internal.http
      RealInterceptorChain.proceed
      1. okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
      2. okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)
      2 frames
    11. okhttp3
      RealCall$AsyncCall.execute
      1. okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:179)
      2. okhttp3.RealCall$AsyncCall.execute(RealCall.java:129)
      2 frames
    12. okhttp3.internal
      NamedRunnable.run
      1. okhttp3.internal.NamedRunnable.run(NamedRunnable.java:32)
      1 frame
    13. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames