hudson.util.IOException2: Failed to initialize

jenkins-ci.org | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Failed to load PMD plugin using current versions of: Hudson (1.379), analysis-core (1.14), analysis-collector (1.8), pmd (3.10) and others like checkstyle, findbugs. Error from the log file: SEVERE: Failed Loading plugin pmd hudson.util.IOException2: Failed to initialize at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:295) at hudson.PluginManager$2$1$1.run(PluginManager.java:268) 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.NoClassDefFoundError: org/jaxen/XPath at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389) at java.lang.Class.getConstructor0(Class.java:2699) at java.lang.Class.newInstance0(Class.java:326) at java.lang.Class.newInstance(Class.java:308) at net.sourceforge.pmd.RuleSetFactory.parseSingleRuleNode(RuleSetFactory.java:309) at net.sourceforge.pmd.RuleSetFactory.parseRuleNode(RuleSetFactory.java:253) at net.sourceforge.pmd.RuleSetFactory.parseRuleSetNode(RuleSetFactory.java:209) at net.sourceforge.pmd.RuleSetFactory.createSingleRuleSet(RuleSetFactory.java:135) at net.sourceforge.pmd.RuleSetFactory.createRuleSets(RuleSetFactory.java:85) at net.sourceforge.pmd.RuleSetFactory.createRuleSets(RuleSetFactory.java:70) at net.sourceforge.pmd.RuleSetFactory.getRegisteredRuleSets(RuleSetFactory.java:53) at hudson.plugins.pmd.parser.PmdMessages.initialize(PmdMessages.java:50) at hudson.plugins.pmd.PmdPlugin.start(PmdPlugin.java:15) at hudson.ClassicPluginStrategy.startPlugin(ClassicPluginStrategy.java:303) at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:292) ... 9 more Caused by: java.lang.ClassNotFoundException: org.jaxen.XPath 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) ... 25 more

    Jenkins JIRA | 7 years ago | n4tht4n
    hudson.util.IOException2: Failed to initialize
  2. 0

    Failed to load PMD plugin using current versions of: Hudson (1.379), analysis-core (1.14), analysis-collector (1.8), pmd (3.10) and others like checkstyle, findbugs. Error from the log file: SEVERE: Failed Loading plugin pmd hudson.util.IOException2: Failed to initialize at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:295) at hudson.PluginManager$2$1$1.run(PluginManager.java:268) 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.NoClassDefFoundError: org/jaxen/XPath at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389) at java.lang.Class.getConstructor0(Class.java:2699) at java.lang.Class.newInstance0(Class.java:326) at java.lang.Class.newInstance(Class.java:308) at net.sourceforge.pmd.RuleSetFactory.parseSingleRuleNode(RuleSetFactory.java:309) at net.sourceforge.pmd.RuleSetFactory.parseRuleNode(RuleSetFactory.java:253) at net.sourceforge.pmd.RuleSetFactory.parseRuleSetNode(RuleSetFactory.java:209) at net.sourceforge.pmd.RuleSetFactory.createSingleRuleSet(RuleSetFactory.java:135) at net.sourceforge.pmd.RuleSetFactory.createRuleSets(RuleSetFactory.java:85) at net.sourceforge.pmd.RuleSetFactory.createRuleSets(RuleSetFactory.java:70) at net.sourceforge.pmd.RuleSetFactory.getRegisteredRuleSets(RuleSetFactory.java:53) at hudson.plugins.pmd.parser.PmdMessages.initialize(PmdMessages.java:50) at hudson.plugins.pmd.PmdPlugin.start(PmdPlugin.java:15) at hudson.ClassicPluginStrategy.startPlugin(ClassicPluginStrategy.java:303) at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:292) ... 9 more Caused by: java.lang.ClassNotFoundException: org.jaxen.XPath 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) ... 25 more

    Jenkins JIRA | 7 years ago | n4tht4n
    hudson.util.IOException2: Failed to initialize
  3. 0

    [JENKINS-7716] Failed Loading plugin pmd - Jenkins JIRA

    jenkins-ci.org | 8 months ago
    hudson.util.IOException2: Failed to initialize
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How do you set up jetty-start with Maven?

    Stack Overflow | 5 years ago | Neil
    java.lang.reflect.InvocationTargetException

    49 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. java.lang.ClassNotFoundException

      org.jaxen.XPath

      at java.net.URLClassLoader$1.run()
    2. Java RT
      Class.newInstance
      1. java.net.URLClassLoader$1.run(URLClassLoader.java:202)
      2. java.security.AccessController.doPrivileged(Native Method)
      3. java.net.URLClassLoader.findClass(URLClassLoader.java:190)
      4. java.lang.ClassLoader.loadClass(ClassLoader.java:307)
      5. java.lang.ClassLoader.loadClass(ClassLoader.java:248)
      6. java.lang.Class.getDeclaredConstructors0(Native Method)
      7. java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
      8. java.lang.Class.getConstructor0(Class.java:2699)
      9. java.lang.Class.newInstance0(Class.java:326)
      10. java.lang.Class.newInstance(Class.java:308)
      10 frames
    3. PMD
      RuleSetFactory.getRegisteredRuleSets
      1. net.sourceforge.pmd.RuleSetFactory.parseSingleRuleNode(RuleSetFactory.java:309)
      2. net.sourceforge.pmd.RuleSetFactory.parseRuleNode(RuleSetFactory.java:253)
      3. net.sourceforge.pmd.RuleSetFactory.parseRuleSetNode(RuleSetFactory.java:209)
      4. net.sourceforge.pmd.RuleSetFactory.createSingleRuleSet(RuleSetFactory.java:135)
      5. net.sourceforge.pmd.RuleSetFactory.createRuleSets(RuleSetFactory.java:85)
      6. net.sourceforge.pmd.RuleSetFactory.createRuleSets(RuleSetFactory.java:70)
      7. net.sourceforge.pmd.RuleSetFactory.getRegisteredRuleSets(RuleSetFactory.java:53)
      7 frames
    4. PMD Plug-in
      PmdPlugin.start
      1. hudson.plugins.pmd.parser.PmdMessages.initialize(PmdMessages.java:50)
      2. hudson.plugins.pmd.PmdPlugin.start(PmdPlugin.java:15)
      2 frames
    5. Hudson
      PluginManager$2$1$1.run
      1. hudson.ClassicPluginStrategy.startPlugin(ClassicPluginStrategy.java:303)
      2. hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:292)
      3. hudson.PluginManager$2$1$1.run(PluginManager.java:268)
      3 frames
    6. init
      Reactor.runTask
      1. org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146)
      2. org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259)
      2 frames
    7. Hudson
      Hudson$3.runTask
      1. hudson.model.Hudson$3.runTask(Hudson.java:679)
      1 frame
    8. init
      Reactor$Node.run
      1. org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187)
      2. org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94)
      2 frames
    9. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      3. java.lang.Thread.run(Thread.java:619)
      3 frames