com.badlogic.gdx.utils.SerializationException

Error reading file: cards.json

Solutions on the web152

  • Error reading file: cards.json
  • via Stack Overflow by Unknown author, 1 year ago
    Error reading file: skin.json
  • Error reading file: uiskin.json
  • Stack trace

    • com.badlogic.gdx.utils.SerializationException: Error reading file: cards.json at com.badlogic.gdx.utils.Json.fromJson(Json.java:705) at com.towersvault.unbalanced.util.save.SaveHandler.loadCards(SaveHandler.java:91) at com.towersvault.unbalanced.util.save.SaveHandler.load(SaveHandler.java:51) at com.towersvault.unbalanced.UnbalancedMain.create(UnbalancedMain.java:28) at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:147) at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:124) Caused by: com.badlogic.gdx.utils.SerializationException: Field not found: cards (com.badlogic.gdx.utils.Array) Serialization trace: {}.cards at com.badlogic.gdx.utils.Json.readFields(Json.java:790) at com.badlogic.gdx.utils.Json.readValue(Json.java:919) at com.badlogic.gdx.utils.Json.fromJson(Json.java:703) ... 5 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago