javax.xml.parsers.FactoryConfigurationError: Provider org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not found

Oracle Community | Tonda | 9 years ago
  1. 0

    Our Jenkins master executes an MSBuild job on a Windows slave, and the Violations plugin is throwing an exception when parsing FxCop's XML results. The plugin can parse the XML successfully when the job isn't being executed on a slave. (Tested using a "faux project path" on the master's local file system) Full stack trace from build console log: ERROR: Publisher hudson.plugins.violations.ViolationsPublisher aborted due to exception hudson.util.IOException2: remote file operation failed: c:\jenkins\workspace\TestBuild at hudson.remoting.Channel@36c136c1:wpg-lt-24-cs9t1 at hudson.FilePath.act(FilePath.java:848) at hudson.FilePath.act(FilePath.java:825) at hudson.plugins.violations.ViolationsPublisher.perform(ViolationsPublisher.java:74) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:810) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:785) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:732) at hudson.model.Run.execute(Run.java:1568) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:236) Caused by: java.io.IOException: Remote call on wpg-lt-24-cs9t1 failed at hudson.remoting.Channel.call(Channel.java:681) at hudson.FilePath.act(FilePath.java:841) ... 11 more Caused by: javax.xml.parsers.FactoryConfigurationError: Provider org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not found at javax.xml.parsers.DocumentBuilderFactory.newInstance(Unknown Source) at hudson.plugins.violations.types.fxcop.FxCopParser.parse(FxCopParser.java:41) at hudson.plugins.violations.ViolationsCollector.doType(ViolationsCollector.java:187) at hudson.plugins.violations.ViolationsCollector.invoke(ViolationsCollector.java:114) at hudson.plugins.violations.ViolationsCollector.invoke(ViolationsCollector.java:25) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2309) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:326) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at hudson.remoting.Engine$1$1.run(Engine.java:58) at java.lang.Thread.run(Unknown Source)

    Jenkins JIRA | 4 years ago | Brant Bobby
    hudson.util.IOException2: remote file operation failed: c:\jenkins\workspace\TestBuild at hudson.remoting.Channel@36c136c1:wpg-lt-24-cs9t1
  2. 0

    Error when starting YAJSW

    yajsw | 7 years ago | bastis-milkyway
    org.apache.commons.vfs.FileSystemException: Could not create a file system manager of class "org.apache.commons.vfs.impl.StandardFileSystemManager".
  3. 0

    build path problems

    Oracle Community | 1 decade ago | 843834
    javax.xml.parsers.FactoryConfigurationError: Provider org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not found
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Provider org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not found

    Oracle Community | 9 years ago | 843834
    javax.xml.parsers.FactoryConfigurationError: Provider org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not found
  6. 0

    New to MID Servers, Java exception thrown right... | ServiceNow Community

    servicenow.com | 6 months ago
    javax.xml.parsers.FactoryConfigurationError: Provider org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not found

    8 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. javax.xml.parsers.FactoryConfigurationError

      Provider org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not found

      at javax.xml.parsers.DocumentBuilderFactory.newInstance()
    2. Java RT
      DocumentBuilderFactory.newInstance
      1. javax.xml.parsers.DocumentBuilderFactory.newInstance(Unknown Source)
      1 frame