Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-75639

Startup: Expected 1 instance of hudson.diagnosis.OldDataMonitor but got 0

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • core
    • None
    • Jenkins 2.509

      I just upgraded to Jenkins 2.509. Now, on every startup I seem to receive the following stacktrace which does not look correct:

      2025-05-07 06:23:07.239+0000 [id=24]        INFO        jenkins.model.Jenkins#<init>: Starting version 2.509
      2025-05-07 06:23:07.403+0000 [id=31]        INFO        jenkins.InitReactorRunner$1#onAttained: Started initialization
      2025-05-07 06:23:07.470+0000 [id=31]        INFO        h.util.RobustReflectionConverter#doUnmarshal: There was a problem reporting unmarshalling field errors. Make sure this code is executed after InitMilestone.EXTENSIONS_AUGMENTED stage, for example in Plugin#postInitialize instead of Plugin#start
      java.lang.IllegalStateException: Expected 1 instance of hudson.diagnosis.OldDataMonitor but got 0
              at hudson.ExtensionList.lookupSingleton(ExtensionList.java:478)
              at hudson.diagnosis.OldDataMonitor.get(OldDataMonitor.java:93)
              at hudson.diagnosis.OldDataMonitor.report(OldDataMonitor.java:230)
              at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:404)
              at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:291)
              at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:74)
              at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72)
              at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:68)
              at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:52)
              at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:136)
              at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32)
              at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1468)
              at hudson.util.XStream2.unmarshal(XStream2.java:230)
              at hudson.util.XStream2.unmarshal(XStream2.java:201)
              at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1445)
              at hudson.XmlFile.unmarshal(XmlFile.java:196)
              at hudson.XmlFile.unmarshal(XmlFile.java:179)
              at hudson.logging.LogRecorder.load(LogRecorder.java:455)
              at hudson.logging.LogRecorderManager.load(LogRecorderManager.java:155)
              at hudson.logging.LogRecorderManager.init(LogRecorderManager.java:286)
              at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
              at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.base/java.lang.reflect.Method.invoke(Method.java:569)
              at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:109)
              at hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:185)
              at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:304)
              at jenkins.model.Jenkins$5.runTask(Jenkins.java:1149)
              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:68)
              at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
              at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
              at java.base/java.lang.Thread.run(Thread.java:840)
      2025-05-07 06:23:07.734+0000 [id=42]        INFO        jenkins.InitReactorRunner$1#onAttained: Listed all plugins
      

            Unassigned Unassigned
            stefan6419846 Stefan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: