Jenkins版本2.375.3.在“yum升级-y”后无法启动

7ivaypg9  于 2023-03-07  发布在  Jenkins
关注(0)|答案(1)|浏览(256)

以下是例外情况:

`
java.lang.ClassCastException: class java.lang.Integer cannot be cast to class hudson.slaves.NodeProperty (java.lang.Integer is in module java.base of loader 'bootstrap'; hudson.slaves.NodeProperty is in unnamed module of loader org.eclipse.jetty.webapp.WebAppClassLoader @76908cc0)
    at hudson.model.Node.getNodeProperty(Node.java:496)
    at org.jenkinsci.plugins.matrixauth.AmbiguityMonitor$NodeContributor.record(AmbiguityMonitor.java:135)
    at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
    at org.jenkinsci.plugins.matrixauth.AmbiguityMonitor.recordAgents(AmbiguityMonitor.java:269)
Caused: java.lang.reflect.InvocationTargetException
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:566)
    at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:109)
Caused: java.lang.Error
    at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:115)
    at hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:185)
    at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:305)
    at jenkins.model.Jenkins$5.runTask(Jenkins.java:1161)
    at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:221)
    at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:120)
    at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:70)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at java.base/java.lang.Thread.run(Thread.java:829)
Caused: org.jvnet.hudson.reactor.ReactorException
    at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:290)
    at jenkins.InitReactorRunner.run(InitReactorRunner.java:49)
    at jenkins.model.Jenkins.executeReactor(Jenkins.java:1196)
    at jenkins.model.Jenkins.<init>(Jenkins.java:986)
    at hudson.model.Hudson.<init>(Hudson.java:86)
    at hudson.model.Hudson.<init>(Hudson.java:82)
    at hudson.WebAppMain$3.run(WebAppMain.java:247)
Caused: hudson.util.HudsonFailedToLoad
    at hudson.WebAppMain$3.run(WebAppMain.java:264)`

我已经做了一个"yum升级-y",操作系统是从8.4 Linux 8.7更新的。除了Jenkins服务器(版本2.375.3),操作系统中的所有其他服务器都正常运行。
静态主机名:www.example.com图标名称:计算机虚拟机机箱:example.com启动ID:虚拟化:kvm操作系统:红帽企业Linux 8.7(Ootpa)CPE操作系统名称:cpe:/o:redhat:企业版Linux:8::基本操作系统内核:Linux 4.18.0 - 425.13.1.el8_7.x86_64架构:x86 - 64 Linux 4.18.0-425.13.1.el8_7.x86_64 Architecture: x86-64

bf1o4zei

bf1o4zei1#

在我恢复Jenkins到以前的版本后,它出现了OK,仍然不知道2.375.3版本失败。
百胜安装Jenkins-2.346.3

相关问题