Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Mylyn » Unable to retrieve patch set
Unable to retrieve patch set [message #1417481] Fri, 05 September 2014 14:44 Go to next message
Austin Morgan is currently offline Austin MorganFriend
Messages: 42
Registered: July 2009
Member
After upgrading to Mylyn Reviews 2.4.0.v20140902-1709 I have started getting An internal error occurred during: "Retrieving Review 219805, Patch Set 1".
java.lang.IllegalStateException: Expected BEGIN_OBJECT but was BEGIN_ARRAY when it tries to retrieve the patchset.

I am running gerrit 2.83. Anyone else seen this?

Austin Morgan
Re: Unable to retrieve patch set [message #1419494 is a reply to message #1417481] Mon, 08 September 2014 17:56 Go to previous messageGo to next message
Sam Davis is currently offline Sam DavisFriend
Messages: 96
Registered: July 2012
Member
Hi,

I haven't seen this error. Could you please post your error log?

Thanks,
Sam
Re: Unable to retrieve patch set [message #1485880 is a reply to message #1419494] Mon, 24 November 2014 16:22 Go to previous message
Austin Morgan is currently offline Austin MorganFriend
Messages: 42
Registered: July 2009
Member
This is still happening with 2.5.0-v20141114-2350 with Gerrit 2.9.1

eclipse.buildId=4.4.1.M20140925-0400
java.version=1.7.0_40
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework arguments: -product org.eclipse.epp.package.cpp.product
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.cpp.product

org.eclipse.core.jobs
Error
Mon Nov 24 10:21:12 CST 2014
An internal error occurred during: "Retrieving Review 215260, Patch Set 1".

com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was BEGIN_ARRAY
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.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:81)
at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:60)
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:803)
at com.google.gson.Gson.fromJson(Gson.java:868)
at org.eclipse.mylyn.internal.gerrit.core.client.JSonSupport.parseJsonResponse(JSonSupport.java:209)
at org.eclipse.mylyn.internal.gerrit.core.client.GerritService.invoke(GerritService.java:116)
at com.sun.proxy.$Proxy19.patchScriptX(Unknown Source)
at org.eclipse.mylyn.internal.gerrit.core.client.GerritClient$9.execute(GerritClient.java:769)
at org.eclipse.mylyn.internal.gerrit.core.client.GerritClient.executeOnce(GerritClient.java:1733)
at org.eclipse.mylyn.internal.gerrit.core.client.GerritClient.execute(GerritClient.java:1663)
at org.eclipse.mylyn.internal.gerrit.core.client.GerritClient.getPatchScript(GerritClient.java:766)
at org.eclipse.mylyn.internal.gerrit.core.client.GerritClient.loadPatchSetContent(GerritClient.java:734)
at org.eclipse.mylyn.internal.gerrit.core.remote.PatchSetContentRemoteFactory.pull(PatchSetContentRemoteFactory.java:68)
at org.eclipse.mylyn.internal.gerrit.core.remote.PatchSetContentIdRemoteFactory.pull(PatchSetContentIdRemoteFactory.java:47)
at org.eclipse.mylyn.internal.gerrit.core.remote.PatchSetContentIdRemoteFactory.pull(PatchSetContentIdRemoteFactory.java:1)
at org.eclipse.mylyn.reviews.core.spi.remote.emf.RemoteEmfConsumer.pull(RemoteEmfConsumer.java:128)
at org.eclipse.mylyn.reviews.core.spi.remote.JobRemoteService$1.run(JobRemoteService.java:61)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was BEGIN_ARRAY
at com.google.gson.internal.bind.JsonTreeReader.expect(JsonTreeReader.java:139)
at com.google.gson.internal.bind.JsonTreeReader.beginObject(JsonTreeReader.java:70)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:165)
... 21 more

[Updated on: Mon, 24 November 2014 16:25]

Report message to a moderator

Previous Topic:Mylyn Reviews without Git/Gerrit
Next Topic:ReviewBoard connector for Mylyn
Goto Forum:
  


Current Time: Sat Nov 17 07:25:18 GMT 2018

Powered by FUDForum. Page generated in 0.01432 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top