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

Jenkins Startup issues with jobConfigHistory

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      I have update Jenkins to the latest version - 2.176.1.

      Now when I startup Jenkins I see this warning/error in the startup script. 

      Jun 21, 2019 11:13:54 AM hudson.ExtensionFinder$GuiceFinder$FaultTolerantScope$1 errorJun 21, 2019 11:13:54 AM hudson.ExtensionFinder$GuiceFinder$FaultTolerantScope$1 errorWARNING: Failed to instantiate Key[type=jenkins.telemetry.Correlator, annotation=[none]]; skipping this componentcom.google.inject.ProvisionException: Unable to provision, see the following errors:
      1) Tried proxying jenkins.telemetry.Correlator to support a circular dependency, but it is not an interface.
      1 error at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:52) at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145) at hudson.ExtensionFinder$GuiceFinder$FaultTolerantScope$1.get(ExtensionFinder.java:439) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1016) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103) at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1012) at hudson.ExtensionFinder$GuiceFinder._find(ExtensionFinder.java:401) at hudson.ExtensionFinder$GuiceFinder.find(ExtensionFinder.java:392) at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:335) at hudson.ExtensionList.load(ExtensionList.java:381) at hudson.ExtensionList.ensureLoaded(ExtensionList.java:317) at hudson.ExtensionList.getComponents(ExtensionList.java:183) at hudson.DescriptorExtensionList.load(DescriptorExtensionList.java:193) at hudson.ExtensionList.ensureLoaded(ExtensionList.java:317) at hudson.ExtensionList.iterator(ExtensionList.java:172) at hudson.model.User.allocateDefaultPropertyInstancesAsNeeded(User.java:205) at hudson.model.User.load(User.java:194) at hudson.model.User.<init>(User.java:187) at hudson.model.User.getOrCreateById(User.java:519) at hudson.model.User.getById(User.java:615) at hudson.model.User.get(User.java:599) at hudson.plugins.jobConfigHistory.PluginUtils.getSystemHistoryDao(PluginUtils.java:132) at hudson.plugins.jobConfigHistory.JobConfigHistorySaveableListener.getHistoryDao(JobConfigHistorySaveableListener.java:92) at hudson.plugins.jobConfigHistory.JobConfigHistorySaveableListener.onChange(JobConfigHistorySaveableListener.java:56) at hudson.model.listeners.SaveableListener.fireOnChange(SaveableListener.java:81) at hudson.model.Descriptor.save(Descriptor.java:877) at jenkins.telemetry.Correlator.<init>(Correlator.java:52) at jenkins.telemetry.Correlator$$FastClassByGuice$$5678e8d6.newInstance(<generated>) at com.google.inject.internal.cglib.reflect.$FastConstructor.newInstance(FastConstructor.java:40) at com.google.inject.internal.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:61) at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:105) at com.google.inject.internal.ConstructorInjector.access$000(ConstructorInjector.java:32) at com.google.inject.internal.ConstructorInjector$1.call(ConstructorInjector.java:89) at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:115) at hudson.ExtensionFinder$GuiceFinder$SezpozModule.onProvision(ExtensionFinder.java:566) at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:126) at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:68) at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:87) at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:267) at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103) at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145) at hudson.ExtensionFinder$GuiceFinder$FaultTolerantScope$1.get(ExtensionFinder.java:439) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1016) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092) at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1012) at hudson.ExtensionFinder$GuiceFinder._find(ExtensionFinder.java:401) at hudson.ExtensionFinder$GuiceFinder.find(ExtensionFinder.java:392) at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:335) at hudson.ExtensionList.load(ExtensionList.java:381) at hudson.ExtensionList.ensureLoaded(ExtensionList.java:317) at hudson.ExtensionList.iterator(ExtensionList.java:172) at jenkins.model.Jenkins.getDescriptorByType(Jenkins.java:1549) at hudson.plugins.git.GitSCM.onLoaded(GitSCM.java:1893) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:104) at hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:175) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:296) at jenkins.model.Jenkins$5.runTask(Jenkins.java:1091) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:214) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117) 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)
      

      Anyone can confirm what is the issue here?

       

      Regards, 

       

        Attachments

          Issue Links

            Activity

            Hide
            groenator Bogdan Grosu added a comment - - edited

            I manage to fix the issue by creating jenkins.telemetry.Correlator.xml and setting a correlation ID.

            <?xml version='1.1' encoding='UTF-8'?>
            <jenkins.telemetry.Correlator>
            <correlationId>c5578de3-c8v6-4d93-83af-cb0e74534456</correlationId>
            </jenkins.telemetry.Correlator>

             

            You can set any ID you want!

            Show
            groenator Bogdan Grosu added a comment - - edited I manage to fix the issue by creating jenkins.telemetry.Correlator.xml and setting a correlation ID. <?xml version='1.1' encoding='UTF-8'?> <jenkins.telemetry.Correlator> <correlationId>c5578de3-c8v6-4d93-83af-cb0e74534456</correlationId> </jenkins.telemetry.Correlator>   You can set any ID you want!
            Hide
            allan_burdajewicz Allan BURDAJEWICZ added a comment -

            I believe that this is fixed by https://github.com/jenkinsci/jobConfigHistory-plugin/pull/112. But unreleased at the moment. Stefan Brausch Do you plan for a release any soon ?

            Show
            allan_burdajewicz Allan BURDAJEWICZ added a comment - I believe that this is fixed by https://github.com/jenkinsci/jobConfigHistory-plugin/pull/112 . But unreleased at the moment. Stefan Brausch Do you plan for a release any soon ?
            Hide
            stefanbrausch Stefan Brausch added a comment -

            The new plugin version is released now.

             

            Sorry for the delay.

            Show
            stefanbrausch Stefan Brausch added a comment - The new plugin version is released now.   Sorry for the delay.
            Hide
            stefanbrausch Stefan Brausch added a comment -

            Fixed in version 2.25. Available now.

            Show
            stefanbrausch Stefan Brausch added a comment - Fixed in version 2.25. Available now.
            Hide
            allan_burdajewicz Allan BURDAJEWICZ added a comment -

            Awesome thanks!

            Show
            allan_burdajewicz Allan BURDAJEWICZ added a comment - Awesome thanks!

              People

              Assignee:
              stefanbrausch Stefan Brausch
              Reporter:
              groenator Bogdan Grosu
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: