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


Solutions on the web

Solution icon of stackoverflow
\\...dir\\filename.txt: The parameter is incorrect. at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:86)

Solution icon of stackoverflow
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)

Solution icon of github
via GitHub by stevehoek
, 1 year ago
V:\: The device is not ready. > > at sun.nio.fs.WindowsException.translateToIOException(Unknown Source)

Solution icon of googlegroups
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)

Stack trace

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 org.springframework.aop.interceptor.AsyncExecutionInterceptor$1.call(AsyncExecutionInterceptor.java:115)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.lang.Thread.run(Thread.java:745)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.