[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[mylyn-reviews-dev] An internal error occurred during: "Get Review".

If anyone is trying the Gerrit connector from head you might get the
error below when opening a Review :

java.lang.NoClassDefFoundError: com/google/gerrit/prettify/common/SparseHtmlFile
[...]
at org.eclipse.mylyn.internal.gerrit.core.client.JSonSupport.parseResponse(JSonSupport.java:125)
at org.eclipse.mylyn.internal.gerrit.core.client.GerritService.invoke(GerritService.java:102)
at $Proxy21.patchScript(Unknown Source)
at org.eclipse.mylyn.internal.gerrit.core.client.GerritClient$3.execute(GerritClient.java:146)
at org.eclipse.mylyn.internal.gerrit.core.client.GerritClient.execute(GerritClient.java:269)
at org.eclipse.mylyn.internal.gerrit.core.client.GerritClient.getPatchScript(GerritClient.java:143)
at org.eclipse.mylyn.internal.gerrit.core.client.GerritClient.getReview(GerritClient.java:304)
at org.eclipse.mylyn.internal.gerrit.ui.editor.ReviewSection$GetReviewJob.run(ReviewSection.java:83)

You can work around it be checking out the com.google.gerrit.common
bundle from Orbit and applying this patch until an updated Orbit build
is available:

 334683: Gerrit common bundle does not export classes to workspace
 https://bugs.eclipse.org/bugs/show_bug.cgi?id=334683

Steffen

-- 
Steffen Pingel
Committer, http://eclipse.org/mylyn
Senior Developer, http://tasktop.com