• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • nunit-plugin
    • None
    • Platform: All, OS: All

      Nunit plugin failes under startup because of classpath dependency to the native
      maven support - which has been refactored and pulled out as a plugin in 1.296.

      --------------------------------
      SEVERE: Failed to load a plug-in nunit
      hudson.util.IOException2: Failed to initialize
      at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:223)
      at hudson.PluginManager.<init>(PluginManager.java:154)
      at hudson.model.Hudson.<init>(Hudson.java:513)
      at hudson.WebAppMain$2.run(WebAppMain.java:191)
      Caused by: java.lang.NoClassDefFoundError: hudson/maven/agent/AbortException
      at hudson.plugins.nunit.PluginImpl.start(PluginImpl.java:32)
      at
      hudson.ClassicPluginStrategy.startPlugin(ClassicPluginStrategy.java:231)
      at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:220)
      ... 3 more
      Caused by: java.lang.ClassNotFoundException: hudson.maven.agent.AbortException
      at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
      at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
      ... 6 more

          [JENKINS-3427] nunit plugin fails in hudson-1.296

          Paul Nyheim created issue -

          Paul Nyheim added a comment -

          Created an attachment (id=648)
          quickfix to remove maven dependency from nunit plugin

          Paul Nyheim added a comment - Created an attachment (id=648) quickfix to remove maven dependency from nunit plugin

          Paul Nyheim added a comment -

          I added a quickfix patch for this issue that I have rolled out in our
          environment.

          I've changed from using hudson.maven.agent.AbortException to hudson.AbortException instead.

          This might not be the perfect solution - as information about the
          TransformerException is not passed on to the Exception chain - because
          hudson.AbortException is missing the (string, exception) constructor.

          Paul Nyheim added a comment - I added a quickfix patch for this issue that I have rolled out in our environment. I've changed from using hudson.maven.agent.AbortException to hudson.AbortException instead. This might not be the perfect solution - as information about the TransformerException is not passed on to the Exception chain - because hudson.AbortException is missing the (string, exception) constructor.

          Paul Nyheim added a comment -

          Created an attachment (id=650)
          quickfix to remove maven dependency from nunit plugin

          Paul Nyheim added a comment - Created an attachment (id=650) quickfix to remove maven dependency from nunit plugin

          Paul Nyheim added a comment -

          Please disregard the first patch I uploaded (attachement 648). It was a bit
          hasty. Use the second one (attachement 650).

          Paul Nyheim added a comment - Please disregard the first patch I uploaded (attachement 648). It was a bit hasty. Use the second one (attachement 650).

          redsolo added a comment -

          Thanks for notifying me and providing a patch.

          redsolo added a comment - Thanks for notifying me and providing a patch.

          redsolo added a comment -

          Thanks for notifying me and providing a patch.

          redsolo added a comment - Thanks for notifying me and providing a patch.
          redsolo made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]

          Code changed in hudson
          User: : redsolo
          Path:
          trunk/hudson/plugins/nunit/src/main/java/hudson/plugins/nunit/NUnitPublisher.java
          http://fisheye4.cenqua.com/changelog/hudson/?cs=16865
          Log:
          [FIXED JENKINS-3427] - nunit plugin no longer fails in hudson-1.296

          SCM/JIRA link daemon added a comment - Code changed in hudson User: : redsolo Path: trunk/hudson/plugins/nunit/src/main/java/hudson/plugins/nunit/NUnitPublisher.java http://fisheye4.cenqua.com/changelog/hudson/?cs=16865 Log: [FIXED JENKINS-3427] - nunit plugin no longer fails in hudson-1.296
          SCM/JIRA link daemon made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Progress [ 3 ] New: Resolved [ 5 ]

            redsolo redsolo
            pnyheim Paul Nyheim
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: