java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference

GitHub | emauro | 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. 0

    GitHub comment 22#246172301

    GitHub | 6 months ago | emauro
    java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference

    Root Cause Analysis

    1. java.lang.NullPointerException

      Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference

      at com.burgstaller.okhttp.digest.DigestAuthenticator.createDigestHeader()
    2. com.burgstaller.okhttp
      CachingAuthenticatorDecorator.authenticate
      1. com.burgstaller.okhttp.digest.DigestAuthenticator.createDigestHeader(DigestAuthenticator.java:289)
      2. com.burgstaller.okhttp.digest.DigestAuthenticator.authenticateWithState(DigestAuthenticator.java:190)
      3. com.burgstaller.okhttp.digest.DigestAuthenticator.authenticate(DigestAuthenticator.java:148)
      4. com.burgstaller.okhttp.DispatchingAuthenticator.authenticate(DispatchingAuthenticator.java:45)
      5. com.burgstaller.okhttp.CachingAuthenticatorDecorator.authenticate(CachingAuthenticatorDecorator.java:30)
      5 frames
    3. okhttp3.internal.http
      RealInterceptorChain.proceed
      1. okhttp3.internal.http.RetryAndFollowUpInterceptor.followUpRequest(RetryAndFollowUpInterceptor.java:283)
      2. okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:153)
      3. okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
      4. okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)
      4 frames
    4. com.burgstaller.okhttp
      AuthenticationCacheInterceptor.intercept
      1. com.burgstaller.okhttp.AuthenticationCacheInterceptor.intercept(AuthenticationCacheInterceptor.java:37)
      1 frame
    5. 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
    6. com.xxxxxxx.xxxxxxx
      HTTPClient$1.intercept
      1. com.xxxxxxx.xxxxxxx.singleton.HTTPClient$1.intercept(HTTPClient.java:64)
      1 frame
    7. 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
    8. 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
    9. okhttp3.internal
      NamedRunnable.run
      1. okhttp3.internal.NamedRunnable.run(NamedRunnable.java:32)
      1 frame
    10. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
      3. java.lang.Thread.run(Thread.java:818)
      3 frames