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

Stack Overflow | Log.d | 2 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    google gson LinkedTreeMap class cast to myclass

    Stack Overflow | 2 years 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