java.nio.file.AccessDeniedException: .\\TestExtraTime.zip at sun.nio.fs.WindowsException.translateToIOException(java.base@9-internal/WindowsException.java:89) at sun.nio.fs.WindowsException.rethrowAsIOException(java.base@9-internal/WindowsException.java:103) at sun.nio.fs.WindowsException.rethrowAsIOException(java.base@9-internal/WindowsException.java:108) at sun.nio.fs.WindowsFileSystemProvider.newByteChannel(java.base@9-internal/WindowsFileSystemProvider.java:231) at java.nio.file.spi.FileSystemProvider.newOutputStream(java.base@9-internal/FileSystemProvider.java:434) at java.nio.file.Files.newOutputStream(java.base@9-internal/Files.java:218) at java.nio.file.Files.copy(java.base@9-internal/Files.java:3053)

JDK Bug System | Tatiana Pivovarova | 3 months ago
  1. 0

    The failure happens once in PIT ----------System.err:(21/1621)*---------- java.nio.file.AccessDeniedException: .\\TestExtraTime.zip at sun.nio.fs.WindowsException.translateToIOException(java.base@9-internal/WindowsException.java:89) at sun.nio.fs.WindowsException.rethrowAsIOException(java.base@9-internal/WindowsException.java:103) at sun.nio.fs.WindowsException.rethrowAsIOException(java.base@9-internal/WindowsException.java:108) at sun.nio.fs.WindowsFileSystemProvider.newByteChannel(java.base@9-internal/WindowsFileSystemProvider.java:231) at java.nio.file.spi.FileSystemProvider.newOutputStream(java.base@9-internal/FileSystemProvider.java:434) at java.nio.file.Files.newOutputStream(java.base@9-internal/Files.java:218) at java.nio.file.Files.copy(java.base@9-internal/Files.java:3053) at TestExtraTime.test0(TestExtraTime.java:150) at TestExtraTime.main(TestExtraTime.java:62) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-internal/Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-internal/NativeMethodAccessorImpl.java:62) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-internal/DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(java.base@9-internal/Method.java:535) at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110) at java.lang.Thread.run(java.base@9-internal/Thread.java:843)

    JDK Bug System | 3 months ago | Tatiana Pivovarova
    java.nio.file.AccessDeniedException: .\\TestExtraTime.zip at sun.nio.fs.WindowsException.translateToIOException(java.base@9-internal/WindowsException.java:89) at sun.nio.fs.WindowsException.rethrowAsIOException(java.base@9-internal/WindowsException.java:103) at sun.nio.fs.WindowsException.rethrowAsIOException(java.base@9-internal/WindowsException.java:108) at sun.nio.fs.WindowsFileSystemProvider.newByteChannel(java.base@9-internal/WindowsFileSystemProvider.java:231) at java.nio.file.spi.FileSystemProvider.newOutputStream(java.base@9-internal/FileSystemProvider.java:434) at java.nio.file.Files.newOutputStream(java.base@9-internal/Files.java:218) at java.nio.file.Files.copy(java.base@9-internal/Files.java:3053)
  2. 0

    Test fails in compiler nightly as follows: Can't load log handler "java.util.logging.FileHandler" java.nio.file.AccessDeniedException: FileHandler-79d4e6fe-b89e-4017-84e0-e8e7e3f4c7d7.log.lck java.nio.file.AccessDeniedException: FileHandler-79d4e6fe-b89e-4017-84e0-e8e7e3f4c7d7.log.lck at sun.nio.fs.WindowsException.translateToIOException(java.base@9-internal/WindowsException.java:83) at sun.nio.fs.WindowsException.rethrowAsIOException(java.base@9-internal/WindowsException.java:97) at sun.nio.fs.WindowsException.rethrowAsIOException(java.base@9-internal/WindowsException.java:102) at sun.nio.fs.WindowsFileSystemProvider.newFileChannel(java.base@9-internal/WindowsFileSystemProvider.java:116) at java.nio.channels.FileChannel.open(java.base@9-internal/FileChannel.java:287) at java.nio.channels.FileChannel.open(java.base@9-internal/FileChannel.java:335) at java.util.logging.FileHandler.openFiles(java.logging@9-internal/FileHandler.java:501) at java.util.logging.FileHandler.<init>(java.logging@9-internal/FileHandler.java:268) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(java.base@9-internal/Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(java.base@9-internal/NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(java.base@9-internal/DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(java.base@9-internal/Constructor.java:453) at java.lang.Class.newInstance(java.base@9-internal/Class.java:550) at java.util.logging.LogManager.createLoggerHandlers(java.logging@9-internal/LogManager.java:980) at java.util.logging.LogManager.updateConfiguration(java.logging@9-internal/LogManager.java:2171) at HandlersOnComplexResetUpdate$Configure.updateConfigurationWith(HandlersOnComplexResetUpdate.java:439) at HandlersOnComplexResetUpdate.lambda$test$1(HandlersOnComplexResetUpdate.java:279) at HandlersOnComplexResetUpdate$Configure.doPrivileged(HandlersOnComplexResetUpdate.java:448) at HandlersOnComplexResetUpdate.test(HandlersOnComplexResetUpdate.java:279) at HandlersOnComplexResetUpdate$TestCase.run(HandlersOnComplexResetUpdate.java:79) at HandlersOnComplexResetUpdate.main(HandlersOnComplexResetUpdate.java:367) at sun.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-internal/Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(java.base@9-internal/NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-internal/DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(java.base@9-internal/Method.java:531) at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110) at java.lang.Thread.run(java.base@9-internal/Thread.java:843) java.lang.RuntimeException: HandlersOnComplexResetUpdate$TestAssertException: Unexpected result for fooChild.getParent().getHandlers().length. expected: 1 actual: 0 at HandlersOnComplexResetUpdate.test(HandlersOnComplexResetUpdate.java:349) at HandlersOnComplexResetUpdate$TestCase.run(HandlersOnComplexResetUpdate.java:79) at HandlersOnComplexResetUpdate.main(HandlersOnComplexResetUpdate.java:367) at sun.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-internal/Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(java.base@9-internal/NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-internal/DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(java.base@9-internal/Method.java:531) at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110) at java.lang.Thread.run(java.base@9-internal/Thread.java:843) Caused by: HandlersOnComplexResetUpdate$TestAssertException: Unexpected result for fooChild.getParent().getHandlers().length. expected: 1 actual: 0 at HandlersOnComplexResetUpdate.assertEquals(HandlersOnComplexResetUpdate.java:476) at HandlersOnComplexResetUpdate.test(HandlersOnComplexResetUpdate.java:287) ... 8 more

    JDK Bug System | 8 months ago | Bharadwaj Yadavalli
    java.nio.file.AccessDeniedException: FileHandler-79d4e6fe-b89e-4017-84e0-e8e7e3f4c7d7.log.lck at sun.nio.fs.WindowsException.translateToIOException(java.base@9-internal/WindowsException.java:83) at sun.nio.fs.WindowsException.rethrowAsIOException(java.base@9-internal/WindowsException.java:97) at sun.nio.fs.WindowsException.rethrowAsIOException(java.base@9-internal/WindowsException.java:102) at sun.nio.fs.WindowsFileSystemProvider.newFileChannel(java.base@9-internal/WindowsFileSystemProvider.java:116) at java.nio.channels.FileChannel.open(java.base@9-internal/FileChannel.java:287) at java.nio.channels.FileChannel.open(java.base@9-internal/FileChannel.java:335) at java.util.logging.FileHandler.openFiles(java.logging@9-internal/FileHandler.java:501) at java.util.logging.FileHandler.<init>(java.logging@9-internal/FileHandler.java:268) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(java.base@9-internal/Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(java.base@9-internal/NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(java.base@9-internal/DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(java.base@9-internal/Constructor.java:453) at java.lang.Class.newInstance(java.base@9-internal/Class.java:550) at java.util.logging.LogManager.createLoggerHandlers(java.logging@9-internal/LogManager.java:980) at java.util.logging.LogManager.updateConfiguration(java.logging@9-internal/LogManager.java:2171)
  3. 0

    tools/jimage/JImageTest.java Observed this test fails intermittently, on Windows (windows-x64), run against JDK9 build 111, with java.nio.file.AccessDeniedException: at sun.nio.fs.WindowsException.translateToIOException(java.base@9-ea/WindowsException.java:83) at sun.nio.fs.WindowsException.rethrowAsIOException(java.base@9-ea/WindowsException.java:97) at sun.nio.fs.WindowsException.rethrowAsIOException(java.base@9-ea/WindowsException.java:102) at sun.nio.fs.WindowsFileCopy.copy(java.base@9-ea/WindowsFileCopy.java:165) at sun.nio.fs.WindowsFileSystemProvider.copy(java.base@9-ea/WindowsFileSystemProvider.java:279) at java.nio.file.Files.copy(java.base@9-ea/Files.java:1275) at JImageTest.main(JImageTest.java:122) at sun.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-ea/Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(java.base@9-ea/NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-ea/DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(java.base@9-ea/Method.java:531) at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110) at java.lang.Thread.run(java.base@9-ea/Thread.java:804)

    JDK Bug System | 8 months ago | Amy Lu
    java.nio.file.AccessDeniedException: at sun.nio.fs.WindowsException.translateToIOException(java.base@9-ea/WindowsException.java:83) at sun.nio.fs.WindowsException.rethrowAsIOException(java.base@9-ea/WindowsException.java:97) at sun.nio.fs.WindowsException.rethrowAsIOException(java.base@9-ea/WindowsException.java:102) at sun.nio.fs.WindowsFileCopy.copy(java.base@9-ea/WindowsFileCopy.java:165) at sun.nio.fs.WindowsFileSystemProvider.copy(java.base@9-ea/WindowsFileSystemProvider.java:279) at java.nio.file.Files.copy(java.base@9-ea/Files.java:1275)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Getting "java.nio.file.AccessDeniedException" when trying to write to a folder

    Stack Overflow | 2 years ago | OneTwo
    java.nio.file.AccessDeniedException: C:\safesite_documents\site1 at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:83) at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97)
  6. 0

    Upsource bundle initialization error

    YouTrack | 2 years ago
    com.jetbrains.launcher.ApplicationStartupException: Failed to start Upsource 1.0: Can not create directory [/usr/local/upsource/internal/bundleProcess]: /usr/local/upsource/internal/bundleProcess

    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.nio.file.AccessDeniedException

      .\\TestExtraTime.zip at sun.nio.fs.WindowsException.translateToIOException(java.base@9-internal/WindowsException.java:89) at sun.nio.fs.WindowsException.rethrowAsIOException(java.base@9-internal/WindowsException.java:103) at sun.nio.fs.WindowsException.rethrowAsIOException(java.base@9-internal/WindowsException.java:108) at sun.nio.fs.WindowsFileSystemProvider.newByteChannel(java.base@9-internal/WindowsFileSystemProvider.java:231) at java.nio.file.spi.FileSystemProvider.newOutputStream(java.base@9-internal/FileSystemProvider.java:434) at java.nio.file.Files.newOutputStream(java.base@9-internal/Files.java:218) at java.nio.file.Files.copy(java.base@9-internal/Files.java:3053)

      at TestExtraTime.test0()
    2. Unknown
      TestExtraTime.main
      1. TestExtraTime.test0(TestExtraTime.java:150)
      2. TestExtraTime.main(TestExtraTime.java:62)
      2 frames