java.lang.IllegalStateException: closed

GitHub | someok | 6 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

    文件上传的时候crash

    GitHub | 5 months ago | xuefengyang
    java.lang.IllegalStateException: closed

    Root Cause Analysis

    1. java.lang.IllegalStateException

      closed

      at okio.RealBufferedSink.write()
    2. Okio
      ForwardingSink.write
      1. okio.RealBufferedSink.write(RealBufferedSink.java:39)
      2. okio.ForwardingSink.write(ForwardingSink.java:35)
      2 frames
    3. com.facebook.react
      ProgressRequestBody$1.write
      1. com.facebook.react.modules.network.ProgressRequestBody$1.write(ProgressRequestBody.java:58)
      1 frame
    4. Okio
      RealBufferedSink.flush
      1. okio.RealBufferedSink.flush(RealBufferedSink.java:216)
      1 frame
    5. com.facebook.react
      ProgressRequestBody.writeTo
      1. com.facebook.react.modules.network.ProgressRequestBody.writeTo(ProgressRequestBody.java:48)
      1 frame
    6. okhttp3.internal.http
      RealInterceptorChain.proceed
      1. okhttp3.internal.http.CallServerInterceptor.intercept(CallServerInterceptor.java:47)
      2. okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
      2 frames
    7. okhttp3.internal.connection
      ConnectInterceptor.intercept
      1. okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:45)
      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)
      2 frames
    9. okhttp3.internal.cache
      CacheInterceptor.intercept
      1. okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:109)
      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)
      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:124)
      6. okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
      7. okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)
      7 frames
    11. okhttp3
      RealCall$AsyncCall.execute
      1. okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:170)
      2. okhttp3.RealCall.access$100(RealCall.java:33)
      3. okhttp3.RealCall$AsyncCall.execute(RealCall.java:120)
      3 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:1113)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
      3. java.lang.Thread.run(Thread.java:818)
      3 frames