com.google.gson.JsonSyntaxException

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.

  • GitHub comment 9#23889516
    via GitHub by ssuukk
    ,
  • Deserializing an array
    via GitHub by ssuukk
    ,
    • com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: NAME expected, but met BEGIN_OBJECT at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:176) at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.read(TypeAdapterRuntimeTypeWrapper.java:40) at com.google.gson.internal.bind.ArrayTypeAdapter.read(ArrayTypeAdapter.java:72) at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:93) at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:172) at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:93) at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:172) at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.read(TypeAdapterRuntimeTypeWrapper.java:40) at com.google.gson.internal.bind.ArrayTypeAdapter.read(ArrayTypeAdapter.java:72) at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:93) at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:172) at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:93) at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:172) at com.google.gson.Gson.fromJson(Gson.java:795) at com.stanfy.gsonxml.GsonXml.fromXml(GsonXml.java:92) at com.stanfy.gsonxml.GsonXml.fromXml(GsonXml.java:66) at com.stanfy.gsonxml.GsonXml.fromXml(GsonXml.java:52) at com.stanfy.gsonxml.GsonXml.fromXml(GsonXml.java:42) at pl.qus.xenoamp.helper.Jxml.Deserialize(Jxml.java:28) at pl.qus.musicbrainz.MBParser.find(MBParser.java:40) at pl.qus.musicbrainz.MBParser.test(MBParser.java:102) at pl.qus.xenoamp.XenoAmp$Testowy.run(XenoAmp.java:162) at java.lang.Thread.run(Thread.java:856) Caused by: java.lang.IllegalStateException: NAME expected, but met BEGIN_OBJECT at com.stanfy.gsonxml.XmlReader.expect(XmlReader.java:137) at com.stanfy.gsonxml.XmlReader.nextName(XmlReader.java:338) at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:167) ... 22 more
    No Bugmate found.