java.lang.NullPointerException

GitHub | android9527 | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    GitHub comment 2288#176484968

    GitHub | 1 year ago | arriolac
    java.lang.NullPointerException: Attempt to invoke virtual method 'long okhttp3.ResponseBody.contentLength()' on a null object reference
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at okhttp3.logging.HttpLoggingInterceptor.intercept()
    2. okhttp3.logging
      HttpLoggingInterceptor.intercept
      1. okhttp3.logging.HttpLoggingInterceptor.intercept(HttpLoggingInterceptor.java:220)
      1 frame
    3. 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
    4. 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