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

Ivy plugin blocks jenkins startup (hudson/plugins/nant/NantBuilder$NantInstallation)

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • ivy-plugin
    • None
    • OS: Win XP, Win7
      Occurs when trying to start Jenkins 1.432+. When starting the old 1.432 war, startup works fine.

      On jenkins startup, the Ivy plugin causes the following Error, which terminates the entire jenkins startup process. Seems Ivy somehow refers the hudson/plugins/nant/NantBuilder class. But I have no jenkins Nant plugin, nor the need for it.

      10-okt-2011 16:21:30 jenkins.model.Jenkins$6 onAttained
      INFO: Loaded all jobs
      10-okt-2011 16:22:30 hudson.ExtensionFinder$Sezpoz find
      WARNING: Failed to load hudson.ExtensionFinder$GuiceFinder
      java.lang.InstantiationException: com.google.inject.internal.util.$ComputationException: com.google.inject.internal.util.$ComputationException: java.lang.NoClassDefFoundError: [Lhudson/plugins/nant/NantBuilder$NantInstallation;
      at net.java.sezpoz.IndexItem.instance(IndexItem.java:191)
      at hudson.ExtensionFinder$Sezpoz.find(ExtensionFinder.java:399)
      etc...
      ...
      Caused by: java.lang.ClassNotFoundException: hudson.plugins.nant.NantBuilder$NantInstallation
      at java.net.URLClassLoader$1.run(Unknown Source)
      etc...
      ...
      10-okt-2011 16:22:32 jenkins.model.Jenkins$6 onTaskFailed
      SEVERE: Failed NullIdDescriptorMonitor.verifyId
      java.lang.Error: java.lang.reflect.InvocationTargetException
      at hudson.init.InitializerFinder.invoke(InitializerFinder.java:114)
      at hudson.init.InitializerFinder$TaskImpl.run(InitializerFinder.java:174)
      at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259)
      at jenkins.model.Jenkins$5.runTask(Jenkins.java:798)
      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(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)
      Caused by: java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at hudson.init.InitializerFinder.invoke(InitializerFinder.java:110)
      ... 8 more
      Caused by: java.lang.NullPointerException
      at hudson.diagnosis.NullIdDescriptorMonitor.verifyId(NullIdDescriptorMonitor.java:86)
      ... 13 more
      10-okt-2011 16:22:32 hudson.WebAppMain$2 run
      SEVERE: Failed to initialize Jenkins

      (I left some parts of the long stacktrace, as it contains some jenkins and google lib internals, and the warning repeated again a few times)

      The only way to get jenkins start up successfully is by deleting the ivy.hpi file...

          [JENKINS-11279] Ivy plugin blocks jenkins startup (hudson/plugins/nant/NantBuilder$NantInstallation)

          K P created issue -
          K P made changes -
          Description Original: On jenkins startup, the Ivy plugin causes the following Error, which terminates the entire jenkins startup process. Seems Ivy somehow refers the hudson/plugins/nant/NantBuilder class. But I have no jenkins Nant plugin, nor the need for it.


          10-okt-2011 16:21:30 jenkins.model.Jenkins$6 onAttained
          INFO: Loaded all jobs
          10-okt-2011 16:22:30 hudson.ExtensionFinder$Sezpoz find
          WARNING: Failed to load hudson.ExtensionFinder$GuiceFinder
          java.lang.InstantiationException: com.google.inject.internal.util.$ComputationException: com.google.inject.internal.util.$ComputationException: java.lang.NoClassDefFoundError: [Lhudson/plugins/nant/NantBuilder$NantInstallation;
          at net.java.sezpoz.IndexItem.instance(IndexItem.java:191)
          at hudson.ExtensionFinder$Sezpoz.find(ExtensionFinder.java:399)
            etc...
          ...
          Caused by: java.lang.ClassNotFoundException: hudson.plugins.nant.NantBuilder$NantInstallation
          at java.net.URLClassLoader$1.run(Unknown Source)
           etc...
          ...
          10-okt-2011 16:22:32 jenkins.model.Jenkins$6 onTaskFailed
          SEVERE: Failed NullIdDescriptorMonitor.verifyId
          java.lang.Error: java.lang.reflect.InvocationTargetException
          at hudson.init.InitializerFinder.invoke(InitializerFinder.java:114)
          at hudson.init.InitializerFinder$TaskImpl.run(InitializerFinder.java:174)
          at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259)
          at jenkins.model.Jenkins$5.runTask(Jenkins.java:798)
          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(Unknown Source)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
          at java.lang.Thread.run(Unknown Source)
          Caused by: java.lang.reflect.InvocationTargetException
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
          at java.lang.reflect.Method.invoke(Unknown Source)
          at hudson.init.InitializerFinder.invoke(InitializerFinder.java:110)
          ... 8 more
          Caused by: java.lang.NullPointerException
          at hudson.diagnosis.NullIdDescriptorMonitor.verifyId(NullIdDescriptorMonitor.java:86)
          ... 13 more
          10-okt-2011 16:22:32 hudson.WebAppMain$2 run
          SEVERE: Failed to initialize Jenkins

           (I left some parts of the long stacktrace, as it contains some jenkins and google lib internals, and the warning repeated again a few times)
          New: On jenkins startup, the Ivy plugin causes the following Error, which terminates the entire jenkins startup process. Seems Ivy somehow refers the hudson/plugins/nant/NantBuilder class. But I have no jenkins Nant plugin, nor the need for it.


          10-okt-2011 16:21:30 jenkins.model.Jenkins$6 onAttained
          INFO: Loaded all jobs
          10-okt-2011 16:22:30 hudson.ExtensionFinder$Sezpoz find
          WARNING: Failed to load hudson.ExtensionFinder$GuiceFinder
          java.lang.InstantiationException: com.google.inject.internal.util.$ComputationException: com.google.inject.internal.util.$ComputationException: java.lang.NoClassDefFoundError: [Lhudson/plugins/nant/NantBuilder$NantInstallation;
          at net.java.sezpoz.IndexItem.instance(IndexItem.java:191)
          at hudson.ExtensionFinder$Sezpoz.find(ExtensionFinder.java:399)
            etc...
          ...
          Caused by: java.lang.ClassNotFoundException: hudson.plugins.nant.NantBuilder$NantInstallation
          at java.net.URLClassLoader$1.run(Unknown Source)
           etc...
          ...
          10-okt-2011 16:22:32 jenkins.model.Jenkins$6 onTaskFailed
          SEVERE: Failed NullIdDescriptorMonitor.verifyId
          java.lang.Error: java.lang.reflect.InvocationTargetException
          at hudson.init.InitializerFinder.invoke(InitializerFinder.java:114)
          at hudson.init.InitializerFinder$TaskImpl.run(InitializerFinder.java:174)
          at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259)
          at jenkins.model.Jenkins$5.runTask(Jenkins.java:798)
          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(Unknown Source)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
          at java.lang.Thread.run(Unknown Source)
          Caused by: java.lang.reflect.InvocationTargetException
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
          at java.lang.reflect.Method.invoke(Unknown Source)
          at hudson.init.InitializerFinder.invoke(InitializerFinder.java:110)
          ... 8 more
          Caused by: java.lang.NullPointerException
          at hudson.diagnosis.NullIdDescriptorMonitor.verifyId(NullIdDescriptorMonitor.java:86)
          ... 13 more
          10-okt-2011 16:22:32 hudson.WebAppMain$2 run
          SEVERE: Failed to initialize Jenkins

           (I left some parts of the long stacktrace, as it contains some jenkins and google lib internals, and the warning repeated again a few times)


          The only way to get jenkins startup successfully is by simply delete the ivy.hpi file...
          K P made changes -
          Description Original: On jenkins startup, the Ivy plugin causes the following Error, which terminates the entire jenkins startup process. Seems Ivy somehow refers the hudson/plugins/nant/NantBuilder class. But I have no jenkins Nant plugin, nor the need for it.


          10-okt-2011 16:21:30 jenkins.model.Jenkins$6 onAttained
          INFO: Loaded all jobs
          10-okt-2011 16:22:30 hudson.ExtensionFinder$Sezpoz find
          WARNING: Failed to load hudson.ExtensionFinder$GuiceFinder
          java.lang.InstantiationException: com.google.inject.internal.util.$ComputationException: com.google.inject.internal.util.$ComputationException: java.lang.NoClassDefFoundError: [Lhudson/plugins/nant/NantBuilder$NantInstallation;
          at net.java.sezpoz.IndexItem.instance(IndexItem.java:191)
          at hudson.ExtensionFinder$Sezpoz.find(ExtensionFinder.java:399)
            etc...
          ...
          Caused by: java.lang.ClassNotFoundException: hudson.plugins.nant.NantBuilder$NantInstallation
          at java.net.URLClassLoader$1.run(Unknown Source)
           etc...
          ...
          10-okt-2011 16:22:32 jenkins.model.Jenkins$6 onTaskFailed
          SEVERE: Failed NullIdDescriptorMonitor.verifyId
          java.lang.Error: java.lang.reflect.InvocationTargetException
          at hudson.init.InitializerFinder.invoke(InitializerFinder.java:114)
          at hudson.init.InitializerFinder$TaskImpl.run(InitializerFinder.java:174)
          at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259)
          at jenkins.model.Jenkins$5.runTask(Jenkins.java:798)
          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(Unknown Source)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
          at java.lang.Thread.run(Unknown Source)
          Caused by: java.lang.reflect.InvocationTargetException
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
          at java.lang.reflect.Method.invoke(Unknown Source)
          at hudson.init.InitializerFinder.invoke(InitializerFinder.java:110)
          ... 8 more
          Caused by: java.lang.NullPointerException
          at hudson.diagnosis.NullIdDescriptorMonitor.verifyId(NullIdDescriptorMonitor.java:86)
          ... 13 more
          10-okt-2011 16:22:32 hudson.WebAppMain$2 run
          SEVERE: Failed to initialize Jenkins

           (I left some parts of the long stacktrace, as it contains some jenkins and google lib internals, and the warning repeated again a few times)


          The only way to get jenkins startup successfully is by simply delete the ivy.hpi file...
          New: On jenkins startup, the Ivy plugin causes the following Error, which terminates the entire jenkins startup process. Seems Ivy somehow refers the hudson/plugins/nant/NantBuilder class. But I have no jenkins Nant plugin, nor the need for it.


          10-okt-2011 16:21:30 jenkins.model.Jenkins$6 onAttained
          INFO: Loaded all jobs
          10-okt-2011 16:22:30 hudson.ExtensionFinder$Sezpoz find
          WARNING: Failed to load hudson.ExtensionFinder$GuiceFinder
          java.lang.InstantiationException: com.google.inject.internal.util.$ComputationException: com.google.inject.internal.util.$ComputationException: java.lang.NoClassDefFoundError: [Lhudson/plugins/nant/NantBuilder$NantInstallation;
          at net.java.sezpoz.IndexItem.instance(IndexItem.java:191)
          at hudson.ExtensionFinder$Sezpoz.find(ExtensionFinder.java:399)
            etc...
          ...
          Caused by: java.lang.ClassNotFoundException: hudson.plugins.nant.NantBuilder$NantInstallation
          at java.net.URLClassLoader$1.run(Unknown Source)
           etc...
          ...
          10-okt-2011 16:22:32 jenkins.model.Jenkins$6 onTaskFailed
          SEVERE: Failed NullIdDescriptorMonitor.verifyId
          java.lang.Error: java.lang.reflect.InvocationTargetException
          at hudson.init.InitializerFinder.invoke(InitializerFinder.java:114)
          at hudson.init.InitializerFinder$TaskImpl.run(InitializerFinder.java:174)
          at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259)
          at jenkins.model.Jenkins$5.runTask(Jenkins.java:798)
          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(Unknown Source)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
          at java.lang.Thread.run(Unknown Source)
          Caused by: java.lang.reflect.InvocationTargetException
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
          at java.lang.reflect.Method.invoke(Unknown Source)
          at hudson.init.InitializerFinder.invoke(InitializerFinder.java:110)
          ... 8 more
          Caused by: java.lang.NullPointerException
          at hudson.diagnosis.NullIdDescriptorMonitor.verifyId(NullIdDescriptorMonitor.java:86)
          ... 13 more
          10-okt-2011 16:22:32 hudson.WebAppMain$2 run
          SEVERE: Failed to initialize Jenkins

           (I left some parts of the long stacktrace, as it contains some jenkins and google lib internals, and the warning repeated again a few times)


          The only way to get jenkins start up successfully is by deleting the ivy.hpi file...
          K P made changes -
          Environment Original: OS: Win XP, Win7 New: OS: Win XP, Win7
          Occurs when trying to start Jenkins 1.432+. When starting the old 1.432 war, startup works fine.
          Gregory Boissinot made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Gregory Boissinot made changes -
          Assignee Original: Timothy Bingaman [ tbingaman ] New: Gregory Boissinot [ gbois ]
          Kohsuke Kawaguchi made changes -
          Assignee Original: Gregory Boissinot [ gbois ] New: Kohsuke Kawaguchi [ kohsuke ]
          SCM/JIRA link daemon made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Progress [ 3 ] New: Resolved [ 5 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 141498 ] New: JNJira + In-Review [ 189650 ]

            kohsuke Kohsuke Kawaguchi
            belpk K P
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: