Delete Project appears to be broken

286 views
Skip to first unread message

Will Wagner

unread,
Feb 14, 2019, 2:51:58 PM2/14/19
to Repo and Gerrit Discussion
Hello,

We have 2.16.4 with delete-projects plugin v2.16-67-gcef5c3437d

I am attempting to delete a project from the web UI and I get a 500 error.

Looking in the logs I see:

[2019-02-14 19:43:38,858] [HTTP-6726] ERROR com.google.gerrit.pgm.http.jetty.HiddenErrorHandler : Error in POST /projects/carallon%2Fkinetis/delete-project~delete
java.lang.NoSuchMethodError: com.google.gerrit.server.restapi.project.ListChildProjects.withLimit(I)Lcom/google/gerrit/server/restapi/project/ListChildProjects;
        at com.googlesource.gerrit.plugins.deleteproject.DeletePreconditions.assertHasNoChildProjects(DeletePreconditions.java:140)
        at com.googlesource.gerrit.plugins.deleteproject.DeletePreconditions.assertCanBeDeleted(DeletePreconditions.java:112)
        at com.googlesource.gerrit.plugins.deleteproject.DeleteProject.apply(DeleteProject.java:81)
        at com.googlesource.gerrit.plugins.deleteproject.DeleteAction.apply(DeleteAction.java:27)
        at com.googlesource.gerrit.plugins.deleteproject.DeleteProject.apply(DeleteProject.java:37)
        at com.google.gerrit.httpd.restapi.RestApiServlet.service(RestApiServlet.java:466)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
        at com.google.inject.servlet.ServletDefinition.doServiceImpl(ServletDefinition.java:290)
        at com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:280)
        at com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:184)
        at com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:89)
        at com.google.gerrit.httpd.raw.StaticModule$PolyGerritFilter.doFilter(StaticModule.java:485)
        at com.google.gerrit.httpd.GetUserFilter.doFilter(GetUserFilter.java:92)
        at com.google.gerrit.httpd.RequireSslFilter.doFilter(RequireSslFilter.java:72)
        at com.google.gerrit.httpd.RunAsFilter.doFilter(RunAsFilter.java:121)

I have also tried deleting it from the cmd line and I get:

$ ssh -p 29418 code.office.carallon.com deleteproject delete carallon/kinetis
fatal: Gerrit Code Review: deleteproject: not found

Is the delete-project plugin working with 2.16.4? Do I need to upgrade to 2.16.5 or a different delete-projects version?

Thanks
Will

Gert van Dijk

unread,
Feb 14, 2019, 3:01:58 PM2/14/19
to Repo and Gerrit Discussion
On Thursday, 14 February 2019 20:51:58 UTC+1, Will Wagner wrote:
We have 2.16.4 with delete-projects plugin v2.16-67-gcef5c3437d

I am attempting to delete a project from the web UI and I get a 500 error.

Please upgrade to 2.16.5 or use an older version of the plugin. See Issue 10473.

HTH

David Pursehouse

unread,
Feb 15, 2019, 1:39:49 AM2/15/19
to Will Wagner, Repo and Gerrit Discussion
try it with delete-project (with a hyphen)
 

Is the delete-project plugin working with 2.16.4? Do I need to upgrade to 2.16.5 or a different delete-projects version?

As mentioned in a previous reply, you need to use an older version of the plugin that doesn't use the withLimit API that was only included in 2.16.5.
 

Thanks
Will

--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en

---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Pigrush Rush

unread,
Mar 26, 2019, 5:11:16 AM3/26/19
to Repo and Gerrit Discussion
Hello, where I can find older version of the plugin? https://gerrit-ci.gerritforge.com/view/Plugins-stable-2.16/job/plugin-delete-project-bazel-stable-2.16/ seems only providing latest versions

David Pursehouse

unread,
Mar 26, 2019, 6:10:11 AM3/26/19
to Pigrush Rush, Repo and Gerrit Discussion
On Tue, Mar 26, 2019 at 10:11 AM Pigrush Rush <pigr...@gmail.com> wrote:
Hello, where I can find older version of the plugin? https://gerrit-ci.gerritforge.com/view/Plugins-stable-2.16/job/plugin-delete-project-bazel-stable-2.16/ seems only providing latest versions


You'll need to clone the project and build it yourself from source at an earlier revision.

 

On Friday, February 15, 2019 at 4:01:58 AM UTC+8, Gert van Dijk wrote:
On Thursday, 14 February 2019 20:51:58 UTC+1, Will Wagner wrote:
We have 2.16.4 with delete-projects plugin v2.16-67-gcef5c3437d

I am attempting to delete a project from the web UI and I get a 500 error.

Please upgrade to 2.16.5 or use an older version of the plugin. See Issue 10473.

HTH

--

David Ostrovsky

unread,
Mar 26, 2019, 11:07:33 AM3/26/19
to Repo and Gerrit Discussion

Am Dienstag, 26. März 2019 11:10:11 UTC+1 schrieb David Pursehouse:
On Tue, Mar 26, 2019 at 10:11 AM Pigrush Rush <pigr...@gmail.com> wrote:
Hello, where I can find older version of the plugin? https://gerrit-ci.gerritforge.com/view/Plugins-stable-2.16/job/plugin-delete-project-bazel-stable-2.16/ seems only providing latest versions


You'll need to clone the project and build it yourself from source at an earlier revision.


Also note, that there are some changes pending for review: [1].


Reply all
Reply to author
Forward
0 new messages