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

On startup, Error injecting constructor, java.lang.NoClassDefFoundError: hudson/ivy/AntIvyBuildWrapper

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major

      Loss of functionality: can't run Ant

      Apr 25, 2012 3:01:17 PM hudson.ExtensionFinder$GuiceFinder$4$1 get
      WARNING: Failed to instantiate. Skipping this component
      com.google.inject.ProvisionException: Guice provision errors:

      1) Error injecting constructor, java.lang.NoClassDefFoundError: hudson/ivy/AntIvyBuildWrapper
      at org.jfrog.hudson.ivy.ArtifactoryIvyConfigurator$DescriptorImpl.<init>(ArtifactoryIvyConfigurator.java:287)

      1 error
      at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:52)
      at com.google.inject.Scopes$1$1.get(Scopes.java:59)
      at hudson.ExtensionFinder$GuiceFinder$4$1.get(ExtensionFinder.java:420)
      at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
      at com.google.inject.internal.InjectorImpl$3$1.call(InjectorImpl.java:965)
      at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1011)
      at com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:961)
      at hudson.ExtensionFinder$GuiceFinder._find(ExtensionFinder.java:389)
      at hudson.ExtensionFinder$GuiceFinder.find(ExtensionFinder.java:380)
      at hudson.ExtensionFinder._find(ExtensionFinder.java:149)
      at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:289)
      at hudson.ExtensionList.load(ExtensionList.java:278)
      at hudson.ExtensionList.ensureLoaded(ExtensionList.java:231)
      at hudson.ExtensionList.iterator(ExtensionList.java:138)
      at jenkins.model.Jenkins.getDescriptor(Jenkins.java:1060)
      at hudson.plugins.disk_usage.DiskUsageProperty.transitionAuth(DiskUsageProperty.java:37)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at hudson.init.InitializerFinder.invoke(InitializerFinder.java:120)
      at hudson.init.InitializerFinder$TaskImpl.run(InitializerFinder.java:184)
      at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259)
      at jenkins.model.Jenkins$6.runTask(Jenkins.java:838)
      at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187)
      at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:662)
      Caused by: java.lang.NoClassDefFoundError: hudson/ivy/AntIvyBuildWrapper
      at java.lang.ClassLoader.defineClass1(Native Method)
      at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
      at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
      at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
      at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
      at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
      at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
      at org.jfrog.hudson.ivy.ArtifactoryIvyConfigurator$DescriptorImpl.<init>(ArtifactoryIvyConfigurator.java:287)
      at org.jfrog.hudson.ivy.ArtifactoryIvyConfigurator$DescriptorImpl$$FastClassByGuice$$584e3a2b.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:87)
      at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:259)
      at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
      at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1018)
      at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
      ... 28 more

      Caused by: java.lang.ClassNotFoundException: hudson.ivy.AntIvyBuildWrapper
      at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
      ... 49 more
      Apr 25, 2012 3:01:21 PM jenkins.InitReactorRunner$1 onAttained
      INFO: Loaded all jobs
      Apr 25, 2012 3:01:21 PM org.apache.sshd.common.util.SecurityUtils$BouncyCastleRegistration run
      INFO: Trying to register BouncyCastle as a JCE provider
      Apr 25, 2012 3:01:22 PM org.apache.sshd.common.util.SecurityUtils$BouncyCastleRegistration run
      INFO: Registration succeeded
      Apr 25, 2012 3:01:22 PM org.jenkinsci.main.modules.sshd.SSHD start
      INFO: Started SSHD at port 55994
      Apr 25, 2012 3:01:22 PM jenkins.InitReactorRunner$1 onAttained
      INFO: Completed initialization
      Apr 25, 2012 3:01:22 PM hudson.TcpSlaveAgentListener <init>
      INFO: JNLP slave agent listener started on TCP port 51273
      Apr 25, 2012 3:01:35 PM hudson.WebAppMain$2 run
      INFO: Jenkins is fully up and running

            eyalbe Eyal Ben Moshe
            asloan7 Adam Sloan
            Votes:
            4 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: