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

failed to instanciate Key (callstack inside)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • nuget-plugin
    • None
    • Windows Server 2008 R2 Datacenter

      On Jenkins startup version since version 2.28 until now (2.33) I get this:

      log from 2.33:
      INFO: Prepared all plugins
      ←[33mNov 21, 2016 6:23:37 AM hudson.ExtensionFinder$GuiceFinder$FaultTolerantScope$1 error
      WARNING: Failed to instantiate Key[type=org.jenkinsci.plugins.nuget.NugetGlobalConfiguration, annotation=[none]]; skippi
      ng this component
      com.google.inject.ProvisionException: Unable to provision, see the following errors:

      1) Tried proxying org.jenkinsci.plugins.nuget.NugetGlobalConfiguration to support a circular dependency, but it is not a
      n 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:424)
      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:386)
      at hudson.ExtensionFinder$GuiceFinder.find(ExtensionFinder.java:377)
      at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:472)
      at hudson.ExtensionList.load(ExtensionList.java:365)
      at hudson.ExtensionList.ensureLoaded(ExtensionList.java:303)
      at hudson.ExtensionList.getComponents(ExtensionList.java:168)
      at hudson.DescriptorExtensionList.load(DescriptorExtensionList.java:191)
      at hudson.ExtensionList.ensureLoaded(ExtensionList.java:303)
      at hudson.ExtensionList.iterator(ExtensionList.java:157)
      at hudson.model.User.load(User.java:196)
      at hudson.model.User.<init>(User.java:150)
      at hudson.model.User.getOrCreate(User.java:458)
      at hudson.model.User.getById(User.java:529)
      at hudson.model.User.get(User.java:513)
      at hudson.model.User.current(User.java:497)
      at hudson.plugins.jobConfigHistory.PluginUtils.isUserExcluded(PluginUtils.java:136)
      at hudson.plugins.jobConfigHistory.JobConfigHistorySaveableListener.onChange(JobConfigHistorySaveableListener.ja
      va:52)
      at hudson.model.listeners.SaveableListener.fireOnChange(SaveableListener.java:81)
      at hudson.model.Descriptor.save(Descriptor.java:872)
      at org.jenkinsci.plugins.nuget.NugetGlobalConfiguration.<init>(NugetGlobalConfiguration.java:32)
      at org.jenkinsci.plugins.nuget.NugetGlobalConfiguration$$FastClassByGuice$$731d9ecd.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.construct(ConstructorInjector.java:85)
      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:424)
      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:386)
      at hudson.ExtensionFinder$GuiceFinder.find(ExtensionFinder.java:377)
      at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:472)
      at hudson.ExtensionList.load(ExtensionList.java:365)
      at hudson.ExtensionList.ensureLoaded(ExtensionList.java:303)
      at hudson.ExtensionList.iterator(ExtensionList.java:157)
      at jenkins.model.Jenkins.getDescriptorByType(Jenkins.java:1541)
      at hudson.plugins.sonar.SonarPlugin.postInitialize(SonarPlugin.java:44)
      at hudson.PluginManager$2$1$2.run(PluginManager.java:542)
      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$7.runTask(Jenkins.java:1086)
      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)

      ←[0mNov 21, 2016 6:23:39 AM jenkins.InitReactorRunner$1 onAttained

            Unassigned Unassigned
            arbeita Ronny Borchert
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: