java.lang.ClassCastException: com.alibaba.fastjson.JSONObject cannot be cast to java.lang.String

GitHub | Archer456 | 3 months ago
  1. 0

    GitHub comment 230#252457397

    GitHub | 3 months ago | Archer456
    java.lang.ClassCastException: com.alibaba.fastjson.JSONObject cannot be cast to java.lang.String
  2. 0

    Android设备上webview报ClassCastException

    GitHub | 3 months ago | SmallBlackboard
    java.lang.ClassCastException: com.alibaba.fastjson.JSONObject cannot be cast to com.alibaba.fastjson.JSONArray ```
  3. 0

    JSONArray不能转换为JSONObject异常

    GitHub | 2 months ago | xuesong123
    java.lang.ClassCastException: com.alibaba.fastjson.JSONArray cannot be cast to com.alibaba.fastjson.JSONObject
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    When you have no build parameters, uncheck 'This build is parameterized'
  6. 0

    Bug ID: JDK-6499662 "java.lang.ClassCastException: cannot be cast to java.lang.String" happens from time to time

    sun.com | 5 months ago
    java.lang.ClassCastException: cannot be cast to java.lang.String

    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.ClassCastException

      com.alibaba.fastjson.JSONObject cannot be cast to java.lang.String

      at macaca.client.commands.Element.getText()
    2. macaca.client.commands
      Element.getText
      1. macaca.client.commands.Element.getText(Element.java:83)
      1 frame
    3. macaca.client
      MacacaClient.text
      1. macaca.client.MacacaClient.text(MacacaClient.java:934)
      1 frame
    4. uiauto
      H5MobileTest.test_case_1
      1. uiauto.H5MobileTest.test_case_1(H5MobileTest.java:55)
      1 frame