com.badlogic.gdx.utils.SerializationException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • libgdx TextButton not working with json
    via by Unknown author,
  • Java - Libgdx TextButton not working with json
    via by Unknown author,
  • Using default libgdx skin
    via by Unknown author,
  • lib gdx json read error in android
    via Stack Overflow by ItumNgaIring
    ,
  • GitHub comment 326#162085179
    via GitHub by kutoman
    ,
  • error reading file skin.json libgdx
    via Stack Overflow by Ed Leko
    ,
    • com.badlogic.gdx.utils.SerializationException: Error reading file: skin.json at com.badlogic.gdx.scenes.scene2d.ui.Skin.load(Skin.java:97) at com.badlogic.gdx.scenes.scene2d.ui.Skin.<init>(Skin.java:82) at com.game.screens.MenuScreen.<init>(MenuScreen.java:21) at com.mygdx.game.MyGdxGame.create(MyGdxGame.java:22) at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:143) at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:120) Caused by: com.badlogic.gdx.utils.SerializationException: Error reading file: skin.json at com.badlogic.gdx.utils.Json.fromJson(Json.java:683) at com.badlogic.gdx.scenes.scene2d.ui.Skin.load(Skin.java:95) ... 5 more Caused by: com.badlogic.gdx.utils.SerializationException: Error parsing file: skin.json at com.badlogic.gdx.utils.JsonReader.parse(JsonReader.java:77) at com.badlogic.gdx.utils.Json.fromJson(Json.java:681) ... 6 more Caused by: com.badlogic.gdx.utils.SerializationException: Error parsing JSON on line 1 near: : { "white": { "file": "skinTest.fnt" } }, "com.badlogic.gdx.scenes.scene2d.ui.TextButton$TextButtonStyle": { "default": { "font": white } } at com.badlogic.gdx.utils.JsonReader.parse(JsonReader.java:547) at com.badlogic.gdx.utils.JsonReader.parse(JsonReader.java:55) at com.badlogic.gdx.utils.JsonReader.parse(JsonReader.java:75) ... 7 more

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,