users.Report: java.lang.UnsupportedOperationException: JsonNull

Stack Overflow | Okan | 2 years ago
  1. 0

    Getting java.lang.UnsupportedOperationException: JsonNull reports

    Stack Overflow | 2 years ago | Okan
    users.Report: java.lang.UnsupportedOperationException: JsonNull

    Root Cause Analysis

    1. users.Report

      java.lang.UnsupportedOperationException: JsonNull

      at com.google.gson.JsonElement.getAsString()
    2. Gson
      JsonElement.getAsString
      1. com.google.gson.JsonElement.getAsString(JsonElement.java:191)
      1 frame
    3. com.impact.ribony
      LoginActivity$1.onCompleted
      1. com.impact.ribony.LoginActivity$1.onCompleted(LoginActivity.java:115)
      2. com.impact.ribony.LoginActivity$1.onCompleted(LoginActivity.java:1)
      2 frames
    4. AndroidAsync
      SimpleFuture.setComplete
      1. com.koushikdutta.async.future.SimpleFuture.handleCallbackUnlocked(SimpleFuture.java:107)
      2. com.koushikdutta.async.future.SimpleFuture.setComplete(SimpleFuture.java:141)
      3. com.koushikdutta.async.future.SimpleFuture.setComplete(SimpleFuture.java:128)
      3 frames
    5. ion
      IonRequestBuilder$1.run
      1. com.koushikdutta.ion.IonRequestBuilder$1.run(IonRequestBuilder.java:242)
      1 frame
    6. AndroidAsync
      AsyncServer$RunnableWrapper.run
      1. com.koushikdutta.async.AsyncServer$RunnableWrapper.run(AsyncServer.java:53)
      1 frame
    7. Android Platform
      ActivityThread.main
      1. android.os.Handler.handleCallback(Handler.java:733)
      2. android.os.Handler.dispatchMessage(Handler.java:95)
      3. android.os.Looper.loop(Looper.java:212)
      4. android.app.ActivityThread.main(ActivityThread.java:5135)
      4 frames
    8. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:515)
      2 frames
    9. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:877)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:693)
      2 frames
    10. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame