java.lang.ClassCastException: com.google.gson.internal.LinkedTreeMap cannot be cast to com.gaurage.dto.DoServiceDto

Stack Overflow | Log.d | 1 year ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    google gson LinkedTreeMap class cast to myclass

    Stack Overflow | 1 year ago | Log.d
    java.lang.ClassCastException: com.google.gson.internal.LinkedTreeMap cannot be cast to com.gaurage.dto.DoServiceDto

    Root Cause Analysis

    1. java.lang.ClassCastException

      com.google.gson.internal.LinkedTreeMap cannot be cast to com.gaurage.dto.DoServiceDto

      at com.gaurage.user.User_Test_Main.promiseMethod()
    2. com.gaurage.user
      User_Test_Main.promiseMethod
      1. com.gaurage.user.User_Test_Main.promiseMethod(Unknown Source)
      1 frame