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

FactoryConfigurationError: Provider org.apache.xerces.jaxp.SAXParserFactoryImpl not found on Windows 7 with JDK 7

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Blocker
    • Resolution: Duplicate
    • Component/s: android-lint-plugin
    • Labels:
      None
    • Environment:
      Windows 7, JDK 1.7 update 45
    • Similar Issues:

      Description

      When parsing a lint.xml, the follow exception is thrown. It happens every time, so this essentially makes the lint plugin unusable.

      ERROR: Publisher org.jenkinsci.plugins.android_lint.LintPublisher aborted due to exception
      hudson.util.IOException2: remote file operation failed: c:\build at hudson.remoting.Channel@29a329a3:wpbldwin9
      at hudson.FilePath.act(FilePath.java:907)
      at hudson.FilePath.act(FilePath.java:884)
      at org.jenkinsci.plugins.android_lint.LintPublisher.perform(LintPublisher.java:111)
      at hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:144)
      at hudson.plugins.analysis.core.HealthAwareRecorder.perform(HealthAwareRecorder.java:333)
      at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:785)
      at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:757)
      at hudson.model.Build$BuildExecution.post2(Build.java:183)
      at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:706)
      at hudson.model.Run.execute(Run.java:1690)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:246)
      Caused by: java.io.IOException: Remote call on wpbldwin9 failed
      at hudson.remoting.Channel.call(Channel.java:731)
      at hudson.FilePath.act(FilePath.java:900)
      ... 13 more
      Caused by: javax.xml.parsers.FactoryConfigurationError: Provider org.apache.xerces.jaxp.SAXParserFactoryImpl not found
      at javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:132)
      at org.apache.commons.digester.Digester.getFactory(Digester.java:537)
      at org.apache.commons.digester.Digester.getParser(Digester.java:791)
      at org.apache.commons.digester.Digester.getXMLReader(Digester.java:1068)
      at org.apache.commons.digester.Digester.parse(Digester.java:1916)
      at org.jenkinsci.plugins.android_lint.parser.LintParser.parse(LintParser.java:66)
      at hudson.plugins.analysis.core.AbstractAnnotationParser.parse(AbstractAnnotationParser.java:53)
      at hudson.plugins.analysis.core.FilesParser.parseFile(FilesParser.java:306)
      at hudson.plugins.analysis.core.FilesParser.parseFiles(FilesParser.java:264)
      at hudson.plugins.analysis.core.FilesParser.parserCollectionOfFiles(FilesParser.java:215)
      at hudson.plugins.analysis.core.FilesParser.invoke(FilesParser.java:184)
      at hudson.plugins.analysis.core.FilesParser.invoke(FilesParser.java:31)
      at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2439)
      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(FutureTask.java:334)
      at java.util.concurrent.FutureTask.run(FutureTask.java:166)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
      at hudson.remoting.Engine$1$1.run(Engine.java:63)
      at java.lang.Thread.run(Thread.java:722)

        Attachments

          Activity

            People

            • Assignee:
              orrc Christopher Orr
              Reporter:
              k76154 JY Hsu
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: