java.io.FileNotFoundException: Can't stat file /home/hudson/hudson/jobs/testutils/workspace/ivy.xml

Jenkins JIRA | Joshua Tharp | 5 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    I run a build cluster with most of my build jobs occurring on Jenkins Slaves. I have the SVN local module directory set to ".". I get these stack traces in the log. On the build master there is an ivy.xml file at /home/hudson/hudson/jobs/testutils/ivy.xml, but not one at /home/hudson/hudson/jobs/testutils/workspace/ivy.xml as the error indicates. May 9, 2012 12:38:39 PM hudson.ivy.IvyMessageImpl log INFO: :: loading settings :: url = jar:file:/home/hudson/hudson/plugins/ivy/WEB- INF/lib/ivy-2.2.0.jar!/org/apache/ivy/core/settings/ivysettings.xml May 9, 2012 12:38:39 PM hudson.ivy.IvyBuildTrigger getIvy INFO: Configured Ivy using default 2.1 settings May 9, 2012 12:38:39 PM hudson.ivy.IvyBuildTrigger recomputeModuleDescriptor WARNING: Failed to access the workspace ivy file 'ivy.xml' java.io.FileNotFoundException: Can't stat file /home/hudson/hudson/jobs/testutils/workspace/ivy.xml at hudson.ivy.IvyBuildTrigger.copyFileFromWorkspaceIfNecessary(IvyBuildTrigger.java:289) at hudson.ivy.IvyBuildTrigger.recomputeModuleDescriptor(IvyBuildTrigger.java:352) at hudson.ivy.IvyBuildTrigger.getModuleDescriptor(IvyBuildTrigger.java:264) at hudson.ivy.IvyBuildTrigger.buildDependencyGraph(IvyBuildTrigger.java:449) at hudson.util.DescribableList.buildDependencyGraph(DescribableList.java:194) at hudson.model.Project.buildDependencyGraph(Project.java:174) at hudson.model.DependencyGraph.build(DependencyGraph.java:91) at jenkins.model.Jenkins.rebuildDependencyGraph(Jenkins.java:3420) at hudson.model.AbstractItem.delete(AbstractItem.java:515) at hudson.model.AbstractProject.doDoDelete(AbstractProject.java:1678) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    Jenkins JIRA | 5 years ago | Joshua Tharp
    java.io.FileNotFoundException: Can't stat file /home/hudson/hudson/jobs/testutils/workspace/ivy.xml
  2. 0

    I run a build cluster with most of my build jobs occurring on Jenkins Slaves. I have the SVN local module directory set to ".". I get these stack traces in the log. On the build master there is an ivy.xml file at /home/hudson/hudson/jobs/testutils/ivy.xml, but not one at /home/hudson/hudson/jobs/testutils/workspace/ivy.xml as the error indicates. May 9, 2012 12:38:39 PM hudson.ivy.IvyMessageImpl log INFO: :: loading settings :: url = jar:file:/home/hudson/hudson/plugins/ivy/WEB- INF/lib/ivy-2.2.0.jar!/org/apache/ivy/core/settings/ivysettings.xml May 9, 2012 12:38:39 PM hudson.ivy.IvyBuildTrigger getIvy INFO: Configured Ivy using default 2.1 settings May 9, 2012 12:38:39 PM hudson.ivy.IvyBuildTrigger recomputeModuleDescriptor WARNING: Failed to access the workspace ivy file 'ivy.xml' java.io.FileNotFoundException: Can't stat file /home/hudson/hudson/jobs/testutils/workspace/ivy.xml at hudson.ivy.IvyBuildTrigger.copyFileFromWorkspaceIfNecessary(IvyBuildTrigger.java:289) at hudson.ivy.IvyBuildTrigger.recomputeModuleDescriptor(IvyBuildTrigger.java:352) at hudson.ivy.IvyBuildTrigger.getModuleDescriptor(IvyBuildTrigger.java:264) at hudson.ivy.IvyBuildTrigger.buildDependencyGraph(IvyBuildTrigger.java:449) at hudson.util.DescribableList.buildDependencyGraph(DescribableList.java:194) at hudson.model.Project.buildDependencyGraph(Project.java:174) at hudson.model.DependencyGraph.build(DependencyGraph.java:91) at jenkins.model.Jenkins.rebuildDependencyGraph(Jenkins.java:3420) at hudson.model.AbstractItem.delete(AbstractItem.java:515) at hudson.model.AbstractProject.doDoDelete(AbstractProject.java:1678) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    Jenkins JIRA | 5 years ago | Joshua Tharp
    java.io.FileNotFoundException: Can't stat file /home/hudson/hudson/jobs/testutils/workspace/ivy.xml
  3. 0

    how to grant access of local file system to Wildfly server

    Stack Overflow | 2 years ago
    java.io.FileNotFoundException: c:\newfile.txt (Access is denied) 19:24:36,237 ERROR [stderr] (default task-8) at java.io.FileOutputStream.open(Native Method) 19:24:36,239 ERROR [stderr] (default task-8) at java.io.FileOutputStream.(FileOutputStream.java:221) 19:24:36,240 ERROR [stderr] (default task-8) at java.io.FileOutputStream.(FileOutputStream.java:171) 19:24:36,240 ERROR [stderr] (default task-8) at com.ews.angualrspringapp.controller.SelfieController.processImage(SelfieController.java:122)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    '[jira] Reopened: (AXIS2-400) Classloader doesn't work with Spring' - MARC

    marc.info | 1 year ago
    java.io.FileNotFoundException: class path resource \ [testApplicationContext.xml] cannot be opened because it does not exist at \ org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(Xm \ lBeanDefinitionReader.java:180) at \ org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(Xm \ lBeanDefinitionReader.java:148) at \ org.springframework.beans.factory.xml.XmlBeanFactory.<init>(XmlBeanFactory.java:68) \ at org.springframework.beans.factory.xml.XmlBeanFactory.<init>(XmlBeanFactory.java:5 \ 6) at classpathtest.ClasspathTest.testSpring(ClasspathTest.java:20)
  6. 0

    [Camel-users] CXF Startup issue with Camel in OSGI runtime - Grokbase

    grokbase.com | 1 year ago
    java.io.FileNotFoundException: class path resource [META-INF/cxf/cxf.xml] cannot be opened because it does not exist at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:341) at org.apache.cxf.bus.spring.ControlledValidationXmlBeanDefinitionReader.loadBeanDefinitions(ControlledValidationXmlBeanDefinitionReader.java:131) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302) at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143) at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:122) at org.apache.cxf.bus.spring.BusApplicationContext.loadBeanDefinitions(BusApplicationContext.java:262) at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:130) at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:467) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:397) at org.apache.cxf.bus.spring.BusApplicationContext.<init>(BusApplicationContext.java:91) at org.apache.cxf.bus.spring.SpringBusFactory.createApplicationContext(SpringBusFactory.java:102) at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:93) at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:86) at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:64) at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:53) at org.apache.cxf.transport.servlet.CXFServlet.updateContext(CXFServlet.java:136) at org.apache.cxf.transport.servlet.CXFServlet.loadSpringBus(CXFServlet.java:104) at org.apache.cxf.transport.servlet.CXFServlet.loadBus(CXFServlet.java:73) at org.apache.cxf.transport.servlet.AbstractCXFServlet.init(AbstractCXFServlet.java:84) at org.eclipse.equinox.http.servlet.internal.ServletRegistration.init(ServletRegistration.java:49) at org.eclipse.equinox.http.servlet.internal.ProxyServlet.registerServlet(ProxyServlet.java:177) at org.eclipse.equinox.http.servlet.internal.HttpServiceImpl.registerServlet(HttpServiceImpl.java:66) at com.sap.pi.composite.syn.internal.activator.TrackingComponent.startup(TrackingComponent.java:34)

    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.io.FileNotFoundException

      Can't stat file /home/hudson/hudson/jobs/testutils/workspace/ivy.xml

      at hudson.ivy.IvyBuildTrigger.copyFileFromWorkspaceIfNecessary()
    2. hudson.ivy
      IvyBuildTrigger.buildDependencyGraph
      1. hudson.ivy.IvyBuildTrigger.copyFileFromWorkspaceIfNecessary(IvyBuildTrigger.java:289)
      2. hudson.ivy.IvyBuildTrigger.recomputeModuleDescriptor(IvyBuildTrigger.java:352)
      3. hudson.ivy.IvyBuildTrigger.getModuleDescriptor(IvyBuildTrigger.java:264)
      4. hudson.ivy.IvyBuildTrigger.buildDependencyGraph(IvyBuildTrigger.java:449)
      4 frames
    3. Hudson
      DependencyGraph.build
      1. hudson.util.DescribableList.buildDependencyGraph(DescribableList.java:194)
      2. hudson.model.Project.buildDependencyGraph(Project.java:174)
      3. hudson.model.DependencyGraph.build(DependencyGraph.java:91)
      3 frames
    4. jenkins.model
      Jenkins.rebuildDependencyGraph
      1. jenkins.model.Jenkins.rebuildDependencyGraph(Jenkins.java:3420)
      1 frame
    5. Hudson
      AbstractProject.doDoDelete
      1. hudson.model.AbstractItem.delete(AbstractItem.java:515)
      2. hudson.model.AbstractProject.doDoDelete(AbstractProject.java:1678)
      2 frames
    6. Java RT
      NativeMethodAccessorImpl.invoke0
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      1 frame