https://bz.apache.org/bugzilla/show_bug.cgi?id=63314

            Bug ID: 63314
           Summary: java.nio.file.FileSystemException from unjar
           Product: Ant
           Version: 1.10.5
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core tasks
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

This is a transient error that only intermittently occurs on Windows VMs, but
does not seem to occur when Ant is running on a real Windows host. The files
always appear to be extracted correctly. Sorry I cannot provide a working build
file that demonstrates the error.

S:\PLM559633_edf4\src\build\ant\soa\framework\TcSoaClient\libtcsoaclientmngd\targets.xml:36:
Error while expanding
S:\PLM559633_edf4\out\ivy\teamcenter\TcSoaStrongModel\20190320085010\TcSoaStrongModel_GenSrc.jar
    java.nio.file.FileSystemException:
S:\PLM559633_edf4\out\meta\foundation\model\genCSharp\CPThemeBoardRevision.cs:
The requested operation cannot be performed on a file with a user-mapped
section open.

    at org.apache.tools.ant.taskdefs.Expand.expandFile(Expand.java:214)
    at org.apache.tools.ant.taskdefs.Expand.execute(Expand.java:157)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
    at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)
    at org.apache.tools.ant.Task.perform(Task.java:350)
    at org.apache.tools.ant.Target.execute(Target.java:449)
    at org.apache.tools.ant.Target.performTasks(Target.java:470)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1388)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1361)
    at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
    at org.apache.tools.ant.Main.runBuild(Main.java:834)
    at org.apache.tools.ant.Main.startAnt(Main.java:223)
    at org.apache.tools.ant.launch.Launcher.run(Launcher.java:284)
    at org.apache.tools.ant.launch.Launcher.main(Launcher.java:101)
    Caused by: java.nio.file.FileSystemException:
S:\PLM559633_edf4\out\meta\foundation\model\genCSharp\CPThemeBoardRevision.cs:
The requested operation cannot be performed on a file with a user-mapped
section open.

    at
sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:86)
    at
sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97)
    at
sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102)
    at
sun.nio.fs.WindowsFileSystemProvider.newByteChannel(WindowsFileSystemProvider.java:230)
    at
java.nio.file.spi.FileSystemProvider.newOutputStream(FileSystemProvider.java:434)
    at java.nio.file.Files.newOutputStream(Files.java:216)
    at org.apache.tools.ant.taskdefs.Expand.extractFile(Expand.java:361)
    at org.apache.tools.ant.taskdefs.Expand.expandFile(Expand.java:199)
    ... 17 more

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to