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

Cannot checkout on Mac Slave: java.lang.IllegalAccessError: tried to access method org.apache.xerces.jaxp.SAXParserImpl

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • subversion-plugin

      I use jenkins 1.486. Trying to build on Mac slave I get svn update error (Caused by: java.lang.IllegalAccessError: tried to access method org.apache.xerces.jaxp.SAXParserImpl.<init>, see full stacktrace below).

      Such error started appearing when I update on jenkins 1.488. Falling back to 1.486 seemed to fix it, but the error started to appear again after XCode update from 4.5.1 to 4.5.2.

      Clearing workspace doesn't affect anything.

      Updating https://my.svn/some/path to revision '2012-11-08T11:22:02.823 +0800'
      hudson.util.IOException2: remote file operation failed: workspace/JobName at hudson.remoting.Channel@14d1265:iOS
       at hudson.FilePath.act(FilePath.java:847)
       at hudson.FilePath.act(FilePath.java:824)
       at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:746)
       at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:688)
       at hudson.model.AbstractProject.checkout(AbstractProject.java:1308)
       at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:679)
       at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
       at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:584)
       at hudson.model.Run.execute(Run.java:1516)
       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 iOS failed
       at hudson.remoting.Channel.call(Channel.java:673)
       at hudson.FilePath.act(FilePath.java:840)
       ... 11 more
      Caused by: java.lang.IllegalAccessError: tried to access method org.apache.xerces.jaxp.SAXParserImpl.<init>(Lorg/apache/xerces/jaxp/SAXParserFactoryImpl;Ljava/util/Hashtable;Z)V from class org.apache.xerces.jaxp.SAXParserFactoryImpl
       at org.apache.xerces.jaxp.SAXParserFactoryImpl.newSAXParser(Unknown Source)
       at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.readData(HTTPConnection.java:787)
       at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.readData(HTTPConnection.java:761)
       at org.tmatesoft.svn.core.internal.io.dav.http.HTTPRequest.dispatch(HTTPRequest.java:218)
       at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection._request(HTTPConnection.java:385)
       at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:298)
       at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:289)
       at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:277)
       at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.performHttpRequest(DAVConnection.java:696)
       at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.doPropfind(DAVConnection.java:132)
       at org.tmatesoft.svn.core.internal.io.dav.DAVUtil.getProperties(DAVUtil.java:73)
       at org.tmatesoft.svn.core.internal.io.dav.DAVUtil.getResourceProperties(DAVUtil.java:79)
       at org.tmatesoft.svn.core.internal.io.dav.DAVUtil.getStartingProperties(DAVUtil.java:103)
       at org.tmatesoft.svn.core.internal.io.dav.DAVUtil.findStartingProperties(DAVUtil.java:125)
       at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.fetchRepositoryUUID(DAVConnection.java:121)
       at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.getRepositoryUUID(DAVRepository.java:150)
       at org.tmatesoft.svn.core.internal.wc16.SVNBasicDelegate.createRepository(SVNBasicDelegate.java:339)
       at org.tmatesoft.svn.core.internal.wc16.SVNBasicDelegate.createRepository(SVNBasicDelegate.java:328)
       at org.tmatesoft.svn.core.internal.wc16.SVNUpdateClient16.update(SVNUpdateClient16.java:532)
       at org.tmatesoft.svn.core.internal.wc16.SVNUpdateClient16.doUpdate(SVNUpdateClient16.java:414)
       at org.tmatesoft.svn.core.internal.wc16.SVNUpdateClient16.doUpdate(SVNUpdateClient16.java:324)
       at org.tmatesoft.svn.core.internal.wc2.old.SvnOldUpdate.run(SvnOldUpdate.java:27)
       at org.tmatesoft.svn.core.internal.wc2.old.SvnOldUpdate.run(SvnOldUpdate.java:11)
       at org.tmatesoft.svn.core.internal.wc2.SvnOperationRunner.run(SvnOperationRunner.java:20)
       at org.tmatesoft.svn.core.wc2.SvnOperationFactory.run(SvnOperationFactory.java:1221)
       at org.tmatesoft.svn.core.wc2.SvnOperation.run(SvnOperation.java:292)
       at org.tmatesoft.svn.core.wc.SVNUpdateClient.doUpdate(SVNUpdateClient.java:315)
       at org.tmatesoft.svn.core.wc.SVNUpdateClient.doUpdate(SVNUpdateClient.java:295)
       at org.tmatesoft.svn.core.wc.SVNUpdateClient.doUpdate(SVNUpdateClient.java:391)
       at hudson.scm.subversion.UpdateUpdater$TaskImpl.perform(UpdateUpdater.java:144)
       at hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:144)
       at hudson.scm.SubversionSCM$CheckOutTask.perform(SubversionSCM.java:799)
       at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:780)
       at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:763)
       at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2308)
       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:303)
       at java.util.concurrent.FutureTask.run(FutureTask.java:138)
       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:680)
      

          [JENKINS-15766] Cannot checkout on Mac Slave: java.lang.IllegalAccessError: tried to access method org.apache.xerces.jaxp.SAXParserImpl

          andrey regentov created issue -
          andrey regentov made changes -
          Labels New: exception mac slave subversion xerces
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 146567 ] New: JNJira + In-Review [ 176647 ]

            Unassigned Unassigned
            andrey_regentov andrey regentov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: