com.dtolabs.rundeck.core.common.UpdateUtils$UpdateException: Unable to move temp file to dest file: E:\work\javaopensrc\rundeck\rundeck-launcher\projects\testProj\etc\resources.xml.new, E:\work\javaop ensrc\rundeck\rundeck-launcher\projects\testProj\etc\resources.xml

GitHub | herrygoon | 2 years 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

    update project's resources using curl command cause error "Failed to update resources for project Unable to move temp file to dest file'

    GitHub | 2 years ago | herrygoon
    com.dtolabs.rundeck.core.common.UpdateUtils$UpdateException: Unable to move temp file to dest file: E:\work\javaopensrc\rundeck\rundeck-launcher\projects\testProj\etc\resources.xml.new, E:\work\javaop ensrc\rundeck\rundeck-launcher\projects\testProj\etc\resources.xml

    Root Cause Analysis

    1. com.dtolabs.rundeck.core.common.UpdateUtils$UpdateException

      Unable to move temp file to dest file: E:\work\javaopensrc\rundeck\rundeck-launcher\projects\testProj\etc\resources.xml.new, E:\work\javaop ensrc\rundeck\rundeck-launcher\projects\testProj\etc\resources.xml

      at com.dtolabs.rundeck.core.common.UpdateUtils.moveFile()
    2. com.dtolabs.rundeck
      FrameworkProject.updateNodesResourceFile
      1. com.dtolabs.rundeck.core.common.UpdateUtils.moveFile(UpdateUtils.java:117)
      2. com.dtolabs.rundeck.core.common.UpdateUtils.update(UpdateUtils.java:210)
      3. com.dtolabs.rundeck.core.common.UpdateUtils.updateFileFromInputStream(UpdateUtils.java:96)
      4. com.dtolabs.rundeck.core.common.UpdateUtils.updateFileFromFile(UpdateUtils.java:81)
      5. com.dtolabs.rundeck.core.common.ProjectNodeSupport.updateNodesResourceFile(ProjectNodeSupport.java:560)
      6. com.dtolabs.rundeck.core.common.ProjectNodeSupport.updateNodesResourceFile(ProjectNodeSupport.java:545)
      7. com.dtolabs.rundeck.core.common.FrameworkProject.updateNodesResourceFile(FrameworkProject.java:421)
      7 frames