github / maven-plugins

Official GitHub Maven Plugins
MIT License
584 stars 198 forks source link

Expected BEGIN_OBJECT but was STRING #109

Open amusarra opened 8 years ago

amusarra commented 8 years ago

When I try to execute the maven site command, then occurs the following:

Error creating blob: Parse exception converting JSON to object: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 10 -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.github.github:site-maven-plugin:0.12:site (default) on project liferay-amusarra-blog: Error creating blob: Parse exception converting JSON to object
.....
Caused by: com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 10
    at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:176)
    at com.google.gson.Gson.fromJson(Gson.java:795)
    at com.google.gson.Gson.fromJson(Gson.java:761)
    at org.eclipse.egit.github.core.client.GitHubClient.parseJson(GitHubClient.java:422)
    ... 30 more
Caused by: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 10
    at com.google.gson.stream.JsonReader.expect(JsonReader.java:339)
    at com.google.gson.stream.JsonReader.beginObject(JsonReader.java:322)
    at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:165)
    ... 33 more

I use the last version of the your maven plugin.

Many thanks.