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

Latest version 1.375 crashes in Glassfish ver. 3.0.1

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • core
    • None
    • Slakware Linux, GlassFish Server Open Source Edition 3.0.1 (build 22)

      After deployment, when navigating to the applications web page http://localhost:8080/hudson, it crashes with the following error:

      HTTP Status 500 -

      --------------------------------------------------------------------------------

      type Exception report

      message

      descriptionThe server encountered an internal error () that prevented it from fulfilling this request.

      exception

      javax.servlet.ServletException: PWC1243: Filter execution threw an exception
      root cause

      java.lang.NoClassDefFoundError: hudson/ivy/IvyModuleSetBuild
      root cause

      java.lang.ClassNotFoundException: hudson.ivy.IvyModuleSetBuild
      note The full stack traces of the exception and its root causes are available in the GlassFish Server Open Source Edition 3.0.1 logs.

      --------------------------------------------------------------------------------

      GlassFish Server Open Source Edition 3.0.1

          [JENKINS-7380] Latest version 1.375 crashes in Glassfish ver. 3.0.1

          rherrick added a comment -

          Also observed in JBoss 5.1.0.GA. Happens with copyartifact, also happens with UpdateCenter:

          2010-09-07 16:16:45,936 SEVERE [hudson.model.Hudson] (pool-16-thread-1) Failed UpdateCenter.init
          java.lang.Error: java.lang.reflect.InvocationTargetException
          	at hudson.init.InitializerFinder.invoke(InitializerFinder.java:107)
                  ...
          Caused by: java.lang.NoClassDefFoundError: hudson/ivy/IvyModuleSetBuild

          Suggested fix (roll back, install Ivy plugin, re-upgrade) works but would be nice to avoid.

          rherrick added a comment - Also observed in JBoss 5.1.0.GA. Happens with copyartifact, also happens with UpdateCenter: 2010-09-07 16:16:45,936 SEVERE [hudson.model.Hudson] (pool-16-thread-1) Failed UpdateCenter.init java.lang.Error: java.lang.reflect.InvocationTargetException at hudson.init.InitializerFinder.invoke(InitializerFinder.java:107) ... Caused by: java.lang.NoClassDefFoundError: hudson/ivy/IvyModuleSetBuild Suggested fix (roll back, install Ivy plugin, re-upgrade) works but would be nice to avoid.

          Andrew Bayer added a comment -

          Did you ever have the Ivy plugin installed?

          Andrew Bayer added a comment - Did you ever have the Ivy plugin installed?

          Code changed in hudson
          User: : kohsuke
          Path:
          trunk/hudson/main/core/src/main/java/hudson/ExtensionFinder.java
          trunk/www/changelog.html
          http://jenkins-ci.org/commit/34544
          Log:
          [FIXED JENKINS-7380] Handle initialization problem more gracefully

          SCM/JIRA link daemon added a comment - Code changed in hudson User: : kohsuke Path: trunk/hudson/main/core/src/main/java/hudson/ExtensionFinder.java trunk/www/changelog.html http://jenkins-ci.org/commit/34544 Log: [FIXED JENKINS-7380] Handle initialization problem more gracefully

          dogfood added a comment -

          Integrated in hudson_main_trunk #244
          [FIXED JENKINS-7380] Handle initialization problem more gracefully

          kohsuke :
          Files :

          • /trunk/www/changelog.html
          • /trunk/hudson/main/core/src/main/java/hudson/ExtensionFinder.java

          dogfood added a comment - Integrated in hudson_main_trunk #244 [FIXED JENKINS-7380] Handle initialization problem more gracefully kohsuke : Files : /trunk/www/changelog.html /trunk/hudson/main/core/src/main/java/hudson/ExtensionFinder.java

          kboz added a comment -

          Did you ever have the Ivy plugin installed?

          No, never. Not before upgrading to v1.375

          kboz added a comment - Did you ever have the Ivy plugin installed? No, never. Not before upgrading to v1.375

          neiltingley added a comment - - edited

          Having same problems with java -jar hudson.war ... never ever had Ivy builds anywhere or copy artifact.

          However downgraded to 1.374, removed a bunch of plugins and did a "remove old|incompatible data"

          Upgraded again and all fine now.

          neiltingley added a comment - - edited Having same problems with java -jar hudson.war ... never ever had Ivy builds anywhere or copy artifact. However downgraded to 1.374, removed a bunch of plugins and did a "remove old|incompatible data" Upgraded again and all fine now.

          Taciano Tres added a comment -

          Reproduced with Hudson 1.376 (new install), on Ubuntu 10.4 and (internal) Winstone, using Git plug-in 1.0.1.

           
          16/09/2010 14:07:14 hudson.model.Hudson$4 onAttained
          INFO: Prepared all plugins
          16/09/2010 14:07:15 hudson.ExtensionFinder$Sezpoz scout
          WARNING: Failed to scout org.jfrog.hudson.ivy.ArtifactoryIvyRunListener
          java.lang.NoClassDefFoundError: hudson/ivy/IvyModuleSetBuild
          	at java.lang.Class.forName0(Native Method)
          	at java.lang.Class.forName(Class.java:247)
          	at hudson.ExtensionFinder$Sezpoz.scout(ExtensionFinder.java:188)
          	at hudson.ExtensionList.scoutLoad(ExtensionList.java:245)
          	at hudson.ExtensionList.ensureLoaded(ExtensionList.java:212)
          	at hudson.ExtensionList.iterator(ExtensionList.java:113)
          	at hudson.ExtensionList.scoutLoad(ExtensionList.java:244)
          	at hudson.ExtensionList.ensureLoaded(ExtensionList.java:212)
          	at hudson.ExtensionList.iterator(ExtensionList.java:113)
          	at hudson.model.Hudson.getDescriptor(Hudson.java:923)
          	at hudson.plugins.git.GitTool.onLoaded(GitTool.java:51)
          	at hudson.plugins.git.PluginImpl.postInitialize(PluginImpl.java:16)
          	at hudson.PluginManager$2$1$2.run(PluginManager.java:284)
          	at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146)
          	at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259)
          	at hudson.model.Hudson$3.runTask(Hudson.java:679)
          	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:619)
          Caused by: java.lang.ClassNotFoundException: hudson.ivy.IvyModuleSetBuild
          	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:307)
          	at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
          	... 21 more
          

          Should reopen?

          Taciano Tres added a comment - Reproduced with Hudson 1.376 (new install), on Ubuntu 10.4 and (internal) Winstone, using Git plug-in 1.0.1. 16/09/2010 14:07:14 hudson.model.Hudson$4 onAttained INFO: Prepared all plugins 16/09/2010 14:07:15 hudson.ExtensionFinder$Sezpoz scout WARNING: Failed to scout org.jfrog.hudson.ivy.ArtifactoryIvyRunListener java.lang.NoClassDefFoundError: hudson/ivy/IvyModuleSetBuild at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:247) at hudson.ExtensionFinder$Sezpoz.scout(ExtensionFinder.java:188) at hudson.ExtensionList.scoutLoad(ExtensionList.java:245) at hudson.ExtensionList.ensureLoaded(ExtensionList.java:212) at hudson.ExtensionList.iterator(ExtensionList.java:113) at hudson.ExtensionList.scoutLoad(ExtensionList.java:244) at hudson.ExtensionList.ensureLoaded(ExtensionList.java:212) at hudson.ExtensionList.iterator(ExtensionList.java:113) at hudson.model.Hudson.getDescriptor(Hudson.java:923) at hudson.plugins.git.GitTool.onLoaded(GitTool.java:51) at hudson.plugins.git.PluginImpl.postInitialize(PluginImpl.java:16) at hudson.PluginManager$2$1$2.run(PluginManager.java:284) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259) at hudson.model.Hudson$3.runTask(Hudson.java:679) 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:619) Caused by: java.lang.ClassNotFoundException: hudson.ivy.IvyModuleSetBuild 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:307) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) ... 21 more Should reopen?

          erwan_q added a comment -

          I have still this issue with 1.380 version
          Not related to Glassfish.

          Nov 16, 2010 6:15:18 PM hudson.ExtensionFinder$Sezpoz scout
          WARNING: Failed to scout org.jfrog.hudson.ivy.ArtifactoryIvyRunListener
          java.lang.NoClassDefFoundError: hudson/ivy/IvyModuleSetBuild

          erwan_q added a comment - I have still this issue with 1.380 version Not related to Glassfish. Nov 16, 2010 6:15:18 PM hudson.ExtensionFinder$Sezpoz scout WARNING: Failed to scout org.jfrog.hudson.ivy.ArtifactoryIvyRunListener java.lang.NoClassDefFoundError: hudson/ivy/IvyModuleSetBuild

          Taciano Tres added a comment -

          Is this related: https://issues.jfrog.org/jira/browse/HAP-94 ?
          I've solved my problem upgrading the Artifactory plug-in.

          Taciano Tres added a comment - Is this related: https://issues.jfrog.org/jira/browse/HAP-94 ? I've solved my problem upgrading the Artifactory plug-in.

          evernat added a comment - - edited

          Resolving again as fixed, because "Failed to scout org.jfrog.hudson.ivy.ArtifactoryIvyRunListener java.lang.NoClassDefFoundError: hudson/ivy/IvyModuleSetBuild" was caused by https://issues.jfrog.org/jira/browse/HAP-94 as said by Taciano, which is fixed (and verified by Taciano).

          evernat added a comment - - edited Resolving again as fixed, because "Failed to scout org.jfrog.hudson.ivy.ArtifactoryIvyRunListener java.lang.NoClassDefFoundError: hudson/ivy/IvyModuleSetBuild" was caused by https://issues.jfrog.org/jira/browse/HAP-94 as said by Taciano, which is fixed (and verified by Taciano).

            Unassigned Unassigned
            alnikolov alnikolov
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: