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

Unable to install the rake plugin

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major Major
    • rake-plugin
    • None
    • Platform: Other, OS: Linux

      Hi,

      Sorry to disturb, and also sorry for using the bug tracker for ask for support -
      I wasn't too sure where else to ask...

      I'm having troubles installing the rake plugin for Hudson - I had it working
      before, but following either a recent update in Hudson or the plugin, i've lost
      the rake plugin.

      I'm running Hudson on a Debian linux server, with Sun Java 1.5.0_17.

      Looking through the logs, I get the following error messages on startup:

      Sep 28, 2009 8:48:39 PM hudson.PluginManager <init>
      SEVERE: Failed to load a plug-in rake
      hudson.util.IOException2: Failed to initialize
      at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:277)
      at hudson.PluginManager.<init>(PluginManager.java:156)
      at hudson.model.Hudson.<init>(Hudson.java:551)
      at hudson.WebAppMain$2.run(WebAppMain.java:191)
      Caused by: java.lang.ExceptionInInitializerError
      at hudson.plugins.rake.PluginImpl.start(PluginImpl.java:14)
      at hudson.ClassicPluginStrategy.startPlugin(ClassicPluginStrategy.java:285)
      at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:274)
      ... 3 more
      Caused by: java.lang.NullPointerException
      at hudson.plugins.rake.Util.getGemsDir(Util.java:64)
      at hudson.plugins.rake.Util.getRubyInstallations(Util.java:110)
      at hudson.plugins.rake.Util.getCanonicalRubies(Util.java:130)
      at hudson.plugins.rake.Rake$RakeDescriptor.load(Rake.java:150)
      at hudson.plugins.rake.Rake$RakeDescriptor.<init>(Rake.java:144)
      at hudson.plugins.rake.Rake$RakeDescriptor.<init>(Rake.java:137)
      at hudson.plugins.rake.Rake.<clinit>(Rake.java:37)
      ... 6 more

      Any ideas what could be wrong and what I can do to resolve this?

      Thanks in advance for any help,

      Darren

            david_calavera david_calavera
            dazoakley dazoakley
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: