hudson.util.IOException2: Failed to initialize

Jenkins JIRA | Adam Westhusing | 5 years ago
  1. 0

    I'm actually trying to install another plugin (pathignore) that is dependent on the ruby-runtime plugin, and I keep receiving an exception when trying to install ruby-runtime (0.6). This happens on Windows 7 64-bit, running Jenkins as a service. This is reproducible on Jenkins version 1.443 and 1.442. The issue does not happen on my Jenkins instance that is running on Ubuntu Server 10.4, so it appears to be something related to Windows. The exception that occurs is the following: jenkins.InitReactorRunner$1 onTaskFailed SEVERE: Failed Loading plugin ruby-runtime hudson.util.IOException2: Failed to initialize at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:335) at hudson.PluginManager$2$1$1.run(PluginManager.java:294) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259) at jenkins.model.Jenkins$5.runTask(Jenkins.java:804) 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: org.jruby.embed.EvalFailedException: (LoadError) no such file to load -- haml at org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:127) at org.jruby.embed.ScriptingContainer.runUnit(ScriptingContainer.java:1231) at org.jruby.embed.ScriptingContainer.runScriptlet(ScriptingContainer.java:1224) at org.kohsuke.stapler.jelly.jruby.haml.HamlLanguage.createContainer(HamlLanguage.java:28) at org.kohsuke.stapler.jelly.jruby.JRubyFacet.<init>(JRubyFacet.java:69) at ruby.RubyRuntimePlugin.registerJRubyFacet(RubyRuntimePlugin.java:38) at ruby.RubyRuntimePlugin.start(RubyRuntimePlugin.java:29) at hudson.ClassicPluginStrategy.startPlugin(ClassicPluginStrategy.java:343) at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:332) ... 9 more Caused by: org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- haml If there's any additional debug information I can add, I'll be glad to attach that information.

    Jenkins JIRA | 5 years ago | Adam Westhusing
    hudson.util.IOException2: Failed to initialize
  2. 0

    I'm actually trying to install another plugin (pathignore) that is dependent on the ruby-runtime plugin, and I keep receiving an exception when trying to install ruby-runtime (0.6). This happens on Windows 7 64-bit, running Jenkins as a service. This is reproducible on Jenkins version 1.443 and 1.442. The issue does not happen on my Jenkins instance that is running on Ubuntu Server 10.4, so it appears to be something related to Windows. The exception that occurs is the following: jenkins.InitReactorRunner$1 onTaskFailed SEVERE: Failed Loading plugin ruby-runtime hudson.util.IOException2: Failed to initialize at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:335) at hudson.PluginManager$2$1$1.run(PluginManager.java:294) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259) at jenkins.model.Jenkins$5.runTask(Jenkins.java:804) 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: org.jruby.embed.EvalFailedException: (LoadError) no such file to load -- haml at org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:127) at org.jruby.embed.ScriptingContainer.runUnit(ScriptingContainer.java:1231) at org.jruby.embed.ScriptingContainer.runScriptlet(ScriptingContainer.java:1224) at org.kohsuke.stapler.jelly.jruby.haml.HamlLanguage.createContainer(HamlLanguage.java:28) at org.kohsuke.stapler.jelly.jruby.JRubyFacet.<init>(JRubyFacet.java:69) at ruby.RubyRuntimePlugin.registerJRubyFacet(RubyRuntimePlugin.java:38) at ruby.RubyRuntimePlugin.start(RubyRuntimePlugin.java:29) at hudson.ClassicPluginStrategy.startPlugin(ClassicPluginStrategy.java:343) at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:332) ... 9 more Caused by: org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- haml If there's any additional debug information I can add, I'll be glad to attach that information.

    Jenkins JIRA | 5 years ago | Adam Westhusing
    hudson.util.IOException2: Failed to initialize
  3. 0

    GitHub comment 9#18021773

    GitHub | 4 years ago | ti24horas
    hudson.util.IOException2: Failed to dynamically deploy this plugin
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    JRuby Embedding prob: Puts appears to fails with RaiseException: (Errno::EBADF) Bad file descriptor

    Stack Overflow | 5 years ago | mP.
    org.jruby.embed.EvalFailedException: (Errno::EBADF) Bad file descriptor
  6. 0

    org.jruby.embed.EvalFailedException: (SyntaxError) Undefined mixin 'hyphenation'

    Stack Overflow | 3 years ago
    org.jruby.embed.EvalFailedException: (SyntaxError) Undefined mixin 'hyphenation'.

    2 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.jruby.embed.EvalFailedException

      (LoadError) no such file to load -- haml

      at org.jruby.embed.internal.EmbedEvalUnitImpl.run()
    2. JRuby Main Maven Artifact
      ScriptingContainer.runScriptlet
      1. org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:127)
      2. org.jruby.embed.ScriptingContainer.runUnit(ScriptingContainer.java:1231)
      3. org.jruby.embed.ScriptingContainer.runScriptlet(ScriptingContainer.java:1224)
      3 frames
    3. org.kohsuke.stapler
      HamlLanguage.createContainer
      1. org.kohsuke.stapler.jelly.jruby.haml.HamlLanguage.createContainer(HamlLanguage.java:28)
      1 frame