【问题标题】:Hudson build fails with FATAL: null java.lang.AbstractMethodErrorHudson 构建失败并出现 FATAL: null java.lang.AbstractMethodError
【发布时间】:2011-06-03 17:00:11
【问题描述】:

我已经在 Ubuntu 上安装了 Hudson,并且正在使用 git 插件。我在构建步骤中执行的 git 集成和简单的 shell 脚本似乎工作正常,但出现以下错误并且构建失败:

FATAL: null
java.lang.AbstractMethodError
at hudson.model.AbstractBuild.getCulprits(AbstractBuild.java:278)
at hudson.model.AbstractBuild.getCulprits(AbstractBuild.java:275)
at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:565)
at hudson.model.Run.run(Run.java:1386)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:145)

我没有构建后的操作。

【问题讨论】:

    标签: hudson


    【解决方案1】:

    我遇到了同样的异常,我的原因是使用 hudson 2.0.0 和 hudson git plugin 2.0.1 时不兼容。 要么升级你的 hudson 服务器,要么卸载 git 插件,然后从 http://hudson-ci.org/downloads/plugins/git/2.0.0/ 手动安装旧版 git 插件。

    【讨论】:

    • 我认为你是对的,我使用了不同版本的 hudson 并修复了问题。
    猜你喜欢
    • 2011-06-15
    • 1970-01-01
    • 2021-11-11
    • 2013-02-03
    • 2020-05-07
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2023-03-22
    相关资源
    最近更新 更多