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

jenkins jira plugin failed to instantiate key hudson.plugins.jira.JiraProjectProperty when restart jenkins

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: Major Major
    • jira-plugin
    • None
    • jenkins 2.90

      I install jira-plugin and integrate with Jira ,it's works well ,but when I restart jenkins ,I got following errors:

      Failed to instantiate Key[type=hudson.plugins.jira.JiraProjectProperty$DescriptorImpl, 

      annotation=@com.google.inject.name.Named(value=hudson.plugins.jira.JiraProjectProperty.DESCRIPTOR)]; skipping this component
      com.google.inject.ProvisionException: Unable to provision, see the following errors:

      1) Tried proxying hudson.plugins.jira.JiraProjectProperty$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.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:482)
      at hudson.ExtensionList.load(ExtensionList.java:366)
      at hudson.ExtensionList.ensureLoaded(ExtensionList.java:304)
      at hudson.ExtensionList.iterator(ExtensionList.java:158)
      at jenkins.model.Jenkins.getDescriptor(Jenkins.java:1497)
      at jenkins.model.Jenkins.getDescriptorOrDie(Jenkins.java:1511)
      at hudson.model.AbstractDescribableImpl.getDescriptor(AbstractDescribableImpl.java:42)
      at com.cloudbees.plugins.credentials.CredentialsProviderTypeRestriction.getDescriptor(CredentialsProviderTypeRestriction.java:71)
      at com.cloudbees.plugins.credentials.CredentialsProviderManager.restrictions(CredentialsProviderManager.java:332)
      at com.cloudbees.plugins.credentials.CredentialsProviderManager.filter(CredentialsProviderManager.java:145)
      at com.cloudbees.plugins.credentials.CredentialsProvider.isEnabled(CredentialsProvider.java:1050)
      at com.cloudbees.plugins.credentials.CredentialsProvider.lookupCredentials(CredentialsProvider.java:411)
      at hudson.plugins.jira.CredentialsHelper.migrateCredentials(CredentialsHelper.java:50)
      at hudson.plugins.jira.JiraSite.<init>(JiraSite.java:221)
      at hudson.plugins.jira.JiraSite.readResolve(JiraSite.java:304)
      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 com.thoughtworks.xstream.converters.reflection.SerializationMethodInvoker.callReadResolve(SerializationMethodInvoker.java:66)
      at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:271)
      at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
      at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
      at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
      at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
      at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:71)
      at hudson.util.CopyOnWriteList$ConverterImpl.unmarshal(CopyOnWriteList.java:197)
      at hudson.util.CopyOnWriteList$ConverterImpl.unmarshal(CopyOnWriteList.java:176)
      at hudson.util.XStream2$AssociatedConverterImpl.unmarshal(XStream2.java:374)
      at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
      at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
      at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
      at hudson.util.RobustReflectionConverter.unmarshalField(RobustReflectionConverter.java:393)
      at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:331)
      at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:270)
      at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
      at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
      at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
      at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
      at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:134)
      at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32)
      at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1189)
      at hudson.util.XStream2.unmarshal(XStream2.java:114)
      at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1173)
      at hudson.XmlFile.unmarshal(XmlFile.java:167)
      at hudson.model.Descriptor.load(Descriptor.java:893)
      at hudson.plugins.jira.JiraProjectProperty$DescriptorImpl.<init>(JiraProjectProperty.java:74)
      at hudson.plugins.jira.JiraProjectProperty.<clinit>(JiraProjectProperty.java:67)
      at sun.misc.Unsafe.ensureClassInitialized(Native Method)
      at sun.reflect.UnsafeFieldAccessorFactory.newFieldAccessor(UnsafeFieldAccessorFactory.java:43)
      at sun.reflect.ReflectionFactory.newFieldAccessor(ReflectionFactory.java:142)
      at java.lang.reflect.Field.acquireFieldAccessor(Field.java:1088)
      at java.lang.reflect.Field.getFieldAccessor(Field.java:1069)
      at java.lang.reflect.Field.get(Field.java:393)
      at net.java.sezpoz.IndexItem.instance(IndexItem.java:185)
      at hudson.ExtensionFinder$GuiceFinder.instantiate(ExtensionFinder.java:353)
      at hudson.ExtensionFinder$GuiceFinder.access$700(ExtensionFinder.java:232)
      at hudson.ExtensionFinder$GuiceFinder$SezpozModule$1.get(ExtensionFinder.java:526)
      at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:81)
      at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:53)
      at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:61)
      at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45)
      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:482)
      at hudson.ExtensionList.load(ExtensionList.java:366)
      at hudson.ExtensionList.ensureLoaded(ExtensionList.java:304)
      at hudson.ExtensionList.iterator(ExtensionList.java:158)
      at jenkins.model.Jenkins.getDescriptorByType(Jenkins.java:1521)
      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:539)
      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$5.runTask(Jenkins.java:1065)
      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(ThreadPoolExecutor.java:1142)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      at java.lang.Thread.run(Thread.java:745)

            Unassigned Unassigned
            yking yuan kang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: