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

Circular dependency detected at Jenkins startup

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      On Jenkins startup following warning message occurs when Job Config History Plugin is also installed, but it seems to has no functional impact to the plugin.

      Tried proxying de.tracetronic.jenkins.plugins.ecutest.report.atx.ATXPublisher$DescriptorImpl 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.Scopes$1$1.get(Scopes.java:65)
                  at hudson.ExtensionFinder$GuiceFinder$FaultTolerantScope$1.get(ExtensionFinder.java:427)
                  at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
                  at com.google.inject.internal.InjectorImpl$3$1.call(InjectorImpl.java:1005)
                  at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1058)
                  at com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:1001)
                  at hudson.ExtensionFinder$GuiceFinder._find(ExtensionFinder.java:389)
                  at hudson.ExtensionFinder$GuiceFinder.find(ExtensionFinder.java:380)
                  at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:388)
                  at hudson.ExtensionList.load(ExtensionList.java:349)
                  at hudson.ExtensionList.ensureLoaded(ExtensionList.java:287)
                  at hudson.ExtensionList.getComponents(ExtensionList.java:167)
                  at hudson.DescriptorExtensionList.load(DescriptorExtensionList.java:185)
                  at hudson.ExtensionList.ensureLoaded(ExtensionList.java:287)
                  at hudson.ExtensionList.iterator(ExtensionList.java:156)
                  at hudson.model.User.load(User.java:190)
                  at hudson.model.User.<init>(User.java:141)
                  at hudson.model.User.getOrCreate(User.java:452)
                  at hudson.model.User.get(User.java:506)
                  at hudson.model.User.current(User.java:490)
                  at hudson.plugins.jobConfigHistory.PluginUtils.isUserExcluded(PluginUtils.java:136)
                  at hudson.plugins.jobConfigHistory.JobConfigHistorySaveableListener.onChange(JobConfigHistorySaveableListener.java:52)
                  at hudson.model.listeners.SaveableListener.fireOnChange(SaveableListener.java:81)
                  at hudson.model.Descriptor.save(Descriptor.java:856)
                  at de.tracetronic.jenkins.plugins.ecutest.report.atx.ATXPublisher$DescriptorImpl.setInstallations(ATXPublisher.java:417)
                  at de.tracetronic.jenkins.plugins.ecutest.report.atx.ATXPublisher$DescriptorImpl.syncWithDefaultConfig(ATXPublisher.java:509)
                  at de.tracetronic.jenkins.plugins.ecutest.report.atx.ATXPublisher$DescriptorImpl.<init>(ATXPublisher.java:390)
                  at de.tracetronic.jenkins.plugins.ecutest.report.atx.ATXPublisher$DescriptorImpl$$FastClassByGuice$$d8211dc3.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:108)
                  at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:88)
                  at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:269)
                  at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
                  at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1058)
                  at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
                  at com.google.inject.Scopes$1$1.get(Scopes.java:65)
                  at hudson.ExtensionFinder$GuiceFinder$FaultTolerantScope$1.get(ExtensionFinder.java:427)
                  at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
                  at com.google.inject.internal.InjectorImpl$3$1.call(InjectorImpl.java:1005)
                  at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1051)
                  at com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:1001)
                  at hudson.ExtensionFinder$GuiceFinder._find(ExtensionFinder.java:389)
                  at hudson.ExtensionFinder$GuiceFinder.find(ExtensionFinder.java:380)
                  at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:388)
                  at hudson.ExtensionList.load(ExtensionList.java:349)
                  at hudson.ExtensionList.ensureLoaded(ExtensionList.java:287)
                  at hudson.ExtensionList.iterator(ExtensionList.java:156)
                  at jenkins.model.Jenkins.getDescriptorByType(Jenkins.java:1231)
                  at hudson.plugins.copyartifact.BuildSelectorParameter.initAliases(BuildSelectorParameter.java:156)
                  at hudson.plugins.copyartifact.CopyArtifactPlugin.postInitialize(CopyArtifactPlugin.java:35)
                  at hudson.PluginManager$2$1$2.run(PluginManager.java:403)
                  at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169)
                  at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)
                  at jenkins.model.Jenkins$8.runTask(Jenkins.java:924)
                  at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)
                  at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
                  at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
                  at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
                  at java.lang.Thread.run(Unknown Source)
      

        Attachments

          Activity

          tracetronic TraceTronic GmbH created issue -
          tracetronic TraceTronic GmbH made changes -
          Field Original Value New Value
          Status Open [ 1 ] In Progress [ 3 ]
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Christian Pönisch
          Path:
          src/main/java/de/tracetronic/jenkins/plugins/ecutest/ETPlugin.java
          src/main/java/de/tracetronic/jenkins/plugins/ecutest/report/atx/ATXPublisher.java
          http://jenkins-ci.org/commit/ecutest-plugin/5313443771bc8435ed8e6c3617d6114be30d978d
          Log:
          JENKINS-39169 fixed circular dependency warning on startup

          Compare: https://github.com/jenkinsci/ecutest-plugin/compare/4e966d8fa89c...5313443771bc

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Christian Pönisch Path: src/main/java/de/tracetronic/jenkins/plugins/ecutest/ETPlugin.java src/main/java/de/tracetronic/jenkins/plugins/ecutest/report/atx/ATXPublisher.java http://jenkins-ci.org/commit/ecutest-plugin/5313443771bc8435ed8e6c3617d6114be30d978d Log: JENKINS-39169 fixed circular dependency warning on startup Compare: https://github.com/jenkinsci/ecutest-plugin/compare/4e966d8fa89c...5313443771bc
          tracetronic TraceTronic GmbH made changes -
          Resolution Fixed [ 1 ]
          Status In Progress [ 3 ] Resolved [ 5 ]
          Hide
          tracetronic TraceTronic GmbH added a comment -

          Released in 1.14

          Show
          tracetronic TraceTronic GmbH added a comment - Released in 1.14
          tracetronic TraceTronic GmbH made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            Assignee:
            tracetronic TraceTronic GmbH
            Reporter:
            tracetronic TraceTronic GmbH
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: