Community
Participate
Working Groups
Build Identifier: 3.7.1 with Mylyn 0.8.2 org.eclipse.mylyn.internal.gerrit.core.client.GerritException at org.eclipse.mylyn.internal.gerrit.core.client.GerritClient.execute(GerritClient.java:684) at org.eclipse.mylyn.internal.gerrit.core.client.GerritClient.getPatchSetPublishDetail(GerritClient.java:383) ... Caused by: com.google.gson.JsonParseException: The JsonDeserializer com.google.gwtjsonrpc.server.MapDeserializer@65e7e8bf failed to deserialized json object [{"key":{"patchSetId":{"changeId":{"id":3},"patchSetId":2},"accountId":{"id":1000000},"categoryId":{"id":"CRVW"}},"value":0,"granted":"2011-10-19 23:12:12.262000000","changeOpen":true,"changeSortKey":"00187a1000000003"}] given the type com.google.gson.ParameterizedTypeImpl@f09e76e3 Caused by: java.lang.IndexOutOfBoundsException: Index: 1, Size: 1 at java.util.ArrayList.RangeCheck(ArrayList.java:547) at java.util.ArrayList.get(ArrayList.java:322) at com.google.gson.JsonArray.get(JsonArray.java:101) at com.google.gwtjsonrpc.server.MapDeserializer.deserialize(MapDeserializer.java:69) I was running Gerrit 2.2.1 and Mylyn Reviews 0.8.2 under Eclipse 3.7.1 using the 'development_become_any_account'. I had a username (but an empty password) specified for the review. I was able to click 'validate settings' and have a successful connect, as well as seeing a list of the reviews that get fired, but I wasn't able to drill into any of them. Interestingly, I was able to get another change open. I think what happened was I pushed a change (with a gerrit change id), then rebased that change and pushed again. So Gerrit now thinks there are two commits with that same change id associated with it - maybe it's returning a different type or a different number of changes? I'll see if I can find an easy way to reproduce this, but I have a suspicion that commit a, then commit b (with generated change ids) followed by rebasing b onto a's head and pushing again will repeat this. Reproducible: Didn't try
Can you re-try again with the latest build from http://download.eclipse.org/mylyn/snapshots/weekly ? Please reopen if that is still failing. *** This bug has been marked as a duplicate of bug 349023 ***