java.lang.NullPointerException

GitHub | gadagip | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    okhttp3.RealCall$ApplicationInterceptorChain.proceed intermittently throws NPE

    GitHub | 5 months ago | jaredculp
    java.util.concurrent.ExecutionException: java.lang.NullPointerException
  2. 0

    NullPointer when call chain.proceed on custom interceptor using dagger 2

    Stack Overflow | 2 months ago | Tobi
    java.lang.NullPointerException: Attempt to invoke interface method 'okhttp3.Response okhttp3.Interceptor.intercept(okhttp3.Interceptor$Chain)' on a null object reference
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at okhttp3.RealCall$ApplicationInterceptorChain.proceed()
    2. okhttp3
      RealCall$ApplicationInterceptorChain.proceed
      1. okhttp3.RealCall$ApplicationInterceptorChain.proceed(RealCall.java:187)
      1 frame
    3. com.microsoft.rest
      TokenCredentialsInterceptor.intercept
      1. com.microsoft.rest.credentials.TokenCredentialsInterceptor.sendRequestWithAuthorization(TokenCredentialsInterceptor.java:49)
      2. com.microsoft.rest.credentials.TokenCredentialsInterceptor.intercept(TokenCredentialsInterceptor.java:37)
      2 frames
    4. okhttp3
      RealCall$ApplicationInterceptorChain.proceed
      1. okhttp3.RealCall$ApplicationInterceptorChain.proceed(RealCall.java:187)
      1 frame
    5. com.microsoft.rest
      TokenCredentialsInterceptor.intercept
      1. com.microsoft.rest.credentials.TokenCredentialsInterceptor.sendRequestWithAuthorization(TokenCredentialsInterceptor.java:49)
      2. com.microsoft.rest.credentials.TokenCredentialsInterceptor.intercept(TokenCredentialsInterceptor.java:37)
      2 frames
    6. okhttp3
      RealCall$ApplicationInterceptorChain.proceed
      1. okhttp3.RealCall$ApplicationInterceptorChain.proceed(RealCall.java:187)
      1 frame
    7. com.microsoft.azure
      CustomHeaderInterceptor.intercept
      1. com.microsoft.azure.CustomHeaderInterceptor.intercept(CustomHeaderInterceptor.java:133)
      1 frame
    8. okhttp3
      RealCall$ApplicationInterceptorChain.proceed
      1. okhttp3.RealCall$ApplicationInterceptorChain.proceed(RealCall.java:187)
      1 frame
    9. com.microsoft.rest
      TokenCredentialsInterceptor.intercept
      1. com.microsoft.rest.credentials.TokenCredentialsInterceptor.sendRequestWithAuthorization(TokenCredentialsInterceptor.java:49)
      2. com.microsoft.rest.credentials.TokenCredentialsInterceptor.intercept(TokenCredentialsInterceptor.java:37)
      2 frames
    10. okhttp3
      RealCall$ApplicationInterceptorChain.proceed
      1. okhttp3.RealCall$ApplicationInterceptorChain.proceed(RealCall.java:187)
      1 frame
    11. com.microsoft.azure
      CustomHeaderInterceptor.intercept
      1. com.microsoft.azure.CustomHeaderInterceptor.intercept(CustomHeaderInterceptor.java:133)
      1 frame
    12. okhttp3
      RealCall$ApplicationInterceptorChain.proceed
      1. okhttp3.RealCall$ApplicationInterceptorChain.proceed(RealCall.java:187)
      1 frame
    13. com.microsoft.azure
      CustomHeaderInterceptor.intercept
      1. com.microsoft.azure.CustomHeaderInterceptor.intercept(CustomHeaderInterceptor.java:133)
      1 frame
    14. okhttp3
      RealCall$ApplicationInterceptorChain.proceed
      1. okhttp3.RealCall$ApplicationInterceptorChain.proceed(RealCall.java:187)
      2. okhttp3.RealCall$ApplicationInterceptorChain.proceed(RealCall.java:187)
      2 frames
    15. com.microsoft.rest
      UserAgentInterceptor.intercept
      1. com.microsoft.rest.UserAgentInterceptor.intercept(UserAgentInterceptor.java:58)
      1 frame
    16. okhttp3
      RealCall$ApplicationInterceptorChain.proceed
      1. okhttp3.RealCall$ApplicationInterceptorChain.proceed(RealCall.java:187)
      1 frame
    17. com.microsoft.azure
      CustomHeaderInterceptor.intercept
      1. com.microsoft.azure.CustomHeaderInterceptor.intercept(CustomHeaderInterceptor.java:133)
      1 frame
    18. okhttp3
      RealCall$ApplicationInterceptorChain.proceed
      1. okhttp3.RealCall$ApplicationInterceptorChain.proceed(RealCall.java:187)
      1 frame
    19. com.microsoft.rest
      TokenCredentialsInterceptor.intercept
      1. com.microsoft.rest.credentials.TokenCredentialsInterceptor.sendRequestWithAuthorization(TokenCredentialsInterceptor.java:49)
      2. com.microsoft.rest.credentials.TokenCredentialsInterceptor.intercept(TokenCredentialsInterceptor.java:37)
      2 frames
    20. okhttp3
      RealCall$AsyncCall.execute
      1. okhttp3.RealCall$ApplicationInterceptorChain.proceed(RealCall.java:187)
      2. okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:160)
      3. okhttp3.RealCall.access$100(RealCall.java:30)
      4. okhttp3.RealCall$AsyncCall.execute(RealCall.java:127)
      4 frames
    21. okhttp3.internal
      NamedRunnable.run
      1. okhttp3.internal.NamedRunnable.run(NamedRunnable.java:32)
      1 frame
    22. 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