java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.String.replace(java.lang.CharSequence, java.lang.CharSequence)' on a null object reference

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.String.replace(java.lang.CharSequence, java.lang.CharSequence)' on a null object reference at com.twitter.sdk.android.core.internal.network.GuestAuthenticator.getExpiredToken(GuestAuthenticator.java:65) at com.twitter.sdk.android.core.internal.network.GuestAuthenticator.reauth(GuestAuthenticator.java:50) at com.twitter.sdk.android.core.internal.network.GuestAuthenticator.authenticate(GuestAuthenticator.java:45) at okhttp3.internal.http.HttpEngine.followUpRequest(HttpEngine.java:893) at okhttp3.RealCall.getResponse(RealCall.java:276) at okhttp3.RealCall$ApplicationInterceptorChain.proceed(RealCall.java:198) at com.digits.sdk.android.DigitsUserAgentInterceptor.intercept(DigitsUserAgentInterceptor.java:41) at okhttp3.RealCall$ApplicationInterceptorChain.proceed(RealCall.java:187) at com.twitter.sdk.android.core.internal.network.GuestAuthInterceptor.intercept(GuestAuthInterceptor.java:53) at okhttp3.RealCall$ApplicationInterceptorChain.proceed(RealCall.java:187) at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:160) at okhttp3.RealCall.access$100(RealCall.java:30) at okhttp3.RealCall$AsyncCall.execute(RealCall.java:127) at okhttp3.internal.NamedRunnable.run(NamedRunnable.java:32) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607) at java.lang.Thread.run(Thread.java:761)
No Bugmate found.