java.nio.file.FileSystemException: \\...dir\\filename.txt: The parameter is incorrect. at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:86)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by Ram Kumar
, 1 year ago
\\...dir\\filename.txt: The parameter is incorrect. at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:86)
via GitHub by stevehoek
, 1 year ago
X:\: The device is not ready. > > at sun.nio.fs.WindowsException.translateToIOException(Unknown Source)
via Stack Overflow by ChrisGr
, 2 years ago
C:\Documents and Settings\Administrator\workspace\TileMap\FileMap.txt: The process cannot access the file because it is being used by another process.</p> <pre><code>at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:86)
via Google Groups by keegan.c...@caseware.com (JIRA), 1 year ago
C:\Users\tdjenkins\.jenkins\plugins\selenium\WEB-INF\lib\commons-lang3-3.4.jar: The process cannot access the file because it is being used by another process.</p> <p style="margin-top:0;margin-bottom:10px;; margin: 10px 0 0 0"> at sun.nio.fs.WindowsException.translateToIOException(Unknown Source)
java.nio.file.FileSystemException: \\...dir\\filename.txt: The parameter is incorrect. 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.Files.newByteChannel(Files.java:361)
at java.nio.file.Files.newByteChannel(Files.java:407)
at java.nio.file.spi.FileSystemProvider.newInputStream(FileSystemProvider.java:384)
at java.nio.file.Files.newInputStream(Files.java:152)
at java.nio.file.Files.newBufferedReader(Files.java:2784)
at java.nio.file.Files.lines(Files.java:3744)
at java.nio.file.Files.lines(Files.java:3785)
at com.xxx.xxx.xxx.xxx.xxx.xxx.xxxx.watch(xxxxxwatcher.java:86)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.