Can't delete a project if we disable reviewdb (disableReviewDb = true)

30 views
Skip to first unread message

Makson Lee

unread,
Oct 6, 2017, 3:55:41 AM10/6/17
to Repo and Gerrit Discussion
got the following error, i guess the plugin still try to delete the data from reviewdb even though we have disabled it.

java.lang.ClassCastException: com.google.gerrit.server.schema.NoChangesReviewDbWrapper cannot be cast to com.google.gwtorm.jdbc.JdbcSchema
        at com.googlesource.gerrit.plugins.deleteproject.database.DatabaseDeleteHandler.delete(DatabaseDeleteHandler.java:118)
        at com.googlesource.gerrit.plugins.deleteproject.DeleteProject.doDelete(DeleteProject.java:149)
        at com.googlesource.gerrit.plugins.deleteproject.DeleteCommand.run(DeleteCommand.java:95)
        at com.google.gerrit.sshd.SshCommand$1.run(SshCommand.java:35)
        at com.google.gerrit.sshd.BaseCommand$TaskThunk.run(BaseCommand.java:418)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
        at com.google.gerrit.server.git.WorkQueue$Task.run(WorkQueue.java:435)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)

thomasmu...@yahoo.com

unread,
Oct 6, 2017, 5:55:45 AM10/6/17
to Repo and Gerrit Discussion
Reply all
Reply to author
Forward
0 new messages