如何删除已删除项目的“截止日期警报观察者”?

问题描述

我应该连接到数据库并以某种方式手动删除条目?

如何复制:

  • 创建一个项目并设置Default review deadline
  • 删除项目
  • 在日志中一段时间​​后,我发现了下一个错误:处理项目 DeadlineAlertWatch 事件的错误 my_project

upsource Version: Build 2018.1.357

日志消息

ERROR coroutine#2796060770 server.watching.WatchesHandler - Error while processing 'DeadlineAlertWatch' events for project 'my_project' 
com.jetbrains.upsource.backend.server.core.db.ProjectNotFoundException: Project 'my_project' not found
    at com.jetbrains.upsource.backend.server.core.db.SystemDatabase.getProjectRecord(SystemDatabase.java:262)
    at com.jetbrains.upsource.backend.server.core.db.ProjectHolder.a(ProjectHolder.kt:103)
    at com.jetbrains.upsource.backend.server.core.db.ProjectHolder.withAsync(ProjectHolder.kt:78)
    at com.jetbrains.upsource.backend.server.watching.WatchesHandler.handleProjectWatches(WatchesHandler.kt:155)
    at com.jetbrains.upsource.backend.server.watching.WatchesHandler.handleWatches(WatchesHandler.kt:93)
    at com.jetbrains.upsource.backend.server.watching.WatchesHandler$handleWatches$1.doResume(WatchesHandler.kt)
    at kotlin.coroutines.experimental.jvm.internal.CoroutineImpl.resume(CoroutineImpl.kt:54)
    at kotlin.coroutines.experimental.jvm.internal.CoroutineImpl.resume(CoroutineImpl.kt:53)
    at kotlin.coroutines.experimental.jvm.internal.CoroutineImpl.resume(CoroutineImpl.kt:53)
    at kotlin.coroutines.experimental.jvm.internal.CoroutineImpl.resume(CoroutineImpl.kt:53)
    at kotlin.coroutines.experimental.jvm.internal.CoroutineImpl.resume(CoroutineImpl.kt:53)
    at kotlin.coroutines.experimental.jvm.internal.CoroutineImpl.resume(CoroutineImpl.kt:53)
    at kotlin.coroutines.experimental.jvm.internal.CoroutineImpl.resume(CoroutineImpl.kt:53)
    at kotlin.coroutines.experimental.jvm.internal.CoroutineImpl.resume(CoroutineImpl.kt:53)
    at kotlin.coroutines.experimental.jvm.internal.CoroutineImpl.resume(CoroutineImpl.kt:53)
    at kotlin.coroutines.experimental.jvm.internal.CoroutineImpl.resume(CoroutineImpl.kt:53)
    at kotlin.coroutines.experimental.jvm.internal.CoroutineImpl.resume(CoroutineImpl.kt:53)
    at kotlin.coroutines.experimental.jvm.internal.CoroutineImpl.resume(CoroutineImpl.kt:53)
    at kotlin.coroutines.experimental.jvm.internal.CoroutineImpl.resume(CoroutineImpl.kt:53)
    at kotlin.coroutines.experimental.jvm.internal.CoroutineImpl.resume(CoroutineImpl.kt:53)
    at kotlin.coroutines.experimental.jvm.internal.CoroutineImpl.resume(CoroutineImpl.kt:53)
    at kotlinx.coroutines.experimental.dispatchTask.run(Coroutinedispatcher.kt:123)
    at kotlinx.coroutines.experimental.EventLoopBase$QueuedRunnableTask.run(EventLoop.kt:189)
    at kotlinx.coroutines.experimental.EventLoopBase.processNextEvent(EventLoop.kt:129)
    at kotlinx.coroutines.experimental.BlockingCoroutine.joinBlocking(Builders.kt:227)
    at kotlinx.coroutines.experimental.BuildersKt.runBlocking(Builders.kt:165)
    at kotlinx.coroutines.experimental.BuildersKt.runBlocking$default(Builders.kt:158)
    at com.jetbrains.upsource.backend.server.watching.WatchesHandler$1.run(WatchesHandler.kt:45)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at com.jetbrains.upsource.util.NamedDaemonThreadFactory.a(NamedDaemonThreadFactory.java:34)
    at java.lang.Thread.run(Thread.java:748)

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)