java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.String.length()' on a null object reference

GitHub | weijjia | 4 months ago
  1. 0

    Outlook crash from NullPointerException during silent flow

    GitHub | 4 months ago | weijjia
    java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.String.length()' on a null object reference
  2. 0

    Issue 192787 - android - NPE in URLEncoder - Android Open Source Project - Issue Tracker - Google Project Hosting

    google.com | 1 year ago
    java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.String.length()' on a null object reference
  3. 0

    Android app crashes when downloaded from Google Play but works great in local dev - why?

    Stack Overflow | 1 year ago | MicroR
    java.lang.RuntimeException: An error occured while executing doInBackground()
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Im trying to fetch data from an SQL database but i dont really know whats wrong

    Stack Overflow | 1 year ago | Faraz Khan
    java.lang.RuntimeException: An error occurred while executing doInBackground()
  6. 0

    Crash On History Method Pubnub Android

    Stack Overflow | 1 year ago | ila
    java.lang.RuntimeException: An error occured while executing doInBackground()

  1. franky li 382 times, last 1 month ago
  2. ajinkya_w 6 times, last 2 months ago
  3. Akshay 1 times, last 2 months ago
  4. Akshay 194 times, last 2 months ago
  5. MyInnos 1 times, last 7 months ago
1 more registered users
6 unregistered visitors
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

    Attempt to invoke virtual method 'int java.lang.String.length()' on a null object reference

    at libcore.net.UriCodec.encode()
  2. Android
    UriCodec.encode
    1. libcore.net.UriCodec.encode(UriCodec.java:132)
    1 frame
  3. Java RT
    URLEncoder.encode
    1. java.net.URLEncoder.encode(URLEncoder.java:57)
    1 frame
  4. com.microsoft.aad
    AuthenticationContext$7.run
    1. com.microsoft.aad.adal.StringExtensions.URLFormEncode(StringExtensions.java:83)
    2. com.microsoft.aad.adal.Oauth2.buildRefreshTokenRequestMessage(Oauth2.java:177)
    3. com.microsoft.aad.adal.Oauth2.refreshToken(Oauth2.java:302)
    4. com.microsoft.aad.adal.AcquireTokenSilentHandler.acquireTokenWithRefreshToken(AcquireTokenSilentHandler.java:126)
    5. com.microsoft.aad.adal.AcquireTokenSilentHandler.acquireTokenWithCachedItem(AcquireTokenSilentHandler.java:269)
    6. com.microsoft.aad.adal.AcquireTokenSilentHandler.useMRRT(AcquireTokenSilentHandler.java:261)
    7. com.microsoft.aad.adal.AcquireTokenSilentHandler.tryMRRT(AcquireTokenSilentHandler.java:203)
    8. com.microsoft.aad.adal.AcquireTokenSilentHandler.tryRT(AcquireTokenSilentHandler.java:161)
    9. com.microsoft.aad.adal.AcquireTokenSilentHandler.getAccessToken(AcquireTokenSilentHandler.java:104)
    10. com.microsoft.aad.adal.AuthenticationContext.localFlow(AuthenticationContext.java:1461)
    11. com.microsoft.aad.adal.AuthenticationContext.acquireTokenAfterValidation(AuthenticationContext.java:1448)
    12. com.microsoft.aad.adal.AuthenticationContext.acquireTokenLocalCall(AuthenticationContext.java:1261)
    13. com.microsoft.aad.adal.AuthenticationContext.access$900(AuthenticationContext.java:73)
    14. com.microsoft.aad.adal.AuthenticationContext$7.run(AuthenticationContext.java:1220)
    14 frames
  5. 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