Skip to content

Instantly share code, notes, and snippets.

@teruteru128
Created April 25, 2016 15:20
Show Gist options
  • Save teruteru128/4fd8ba8a2f29f8825810043e8f3dcc63 to your computer and use it in GitHub Desktop.
Save teruteru128/4fd8ba8a2f29f8825810043e8f3dcc63 to your computer and use it in GitHub Desktop.
Exception in thread "main" java.lang.ClassCastException: com.google.gson.JsonObject cannot be cast to com.google.gson.JsonArray
at com.google.gson.JsonObject.getAsJsonArray(JsonObject.java:176)
at com.tumblr.jumblr.exceptions.JumblrException.extractErrors(JumblrException.java:83)
at com.tumblr.jumblr.exceptions.JumblrException.<init>(JumblrException.java:36)
at com.tumblr.jumblr.request.RequestBuilder.clear(RequestBuilder.java:151)
at com.tumblr.jumblr.request.RequestBuilder.postMultipart(RequestBuilder.java:57)
at com.tumblr.jumblr.JumblrClient.postCreate(JumblrClient.java:370)
at test.pixiv.tags.Main.main(Main.java:100)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment