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

Stack Overflow | Ram Kumar | 6 months 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

    java.nio.file.Files.lines(filePath).collect(Collectors.joining()) , throwing parameter incorrect error

    Stack Overflow | 6 months ago | Ram Kumar
    java.nio.file.FileSystemException: \\...dir\\filename.txt: The parameter is incorrect. at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:86)
  2. 0

    Java – Think free.

    ibragimov.by | 8 months ago
    java.nio.file.FileSystemException: /home/ruslan/test.txt: Too many open files
  3. 0

    Вы все еще используете Files.lines()? – Think free.

    ibragimov.by | 8 months ago
    java.nio.file.FileSystemException: /home/ruslan/test.txt: Too many open files
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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()
    2. Java RT
      Files.lines
      1. sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97)
      2. sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102)
      3. sun.nio.fs.WindowsFileSystemProvider.newByteChannel(WindowsFileSystemProvider.java:230)
      4. java.nio.file.Files.newByteChannel(Files.java:361)
      5. java.nio.file.Files.newByteChannel(Files.java:407)
      6. java.nio.file.spi.FileSystemProvider.newInputStream(FileSystemProvider.java:384)
      7. java.nio.file.Files.newInputStream(Files.java:152)
      8. java.nio.file.Files.newBufferedReader(Files.java:2784)
      9. java.nio.file.Files.lines(Files.java:3744)
      10. java.nio.file.Files.lines(Files.java:3785)
      10 frames
    3. com.xxx.xxx
      xxxx.watch
      1. com.xxx.xxx.xxx.xxx.xxx.xxx.xxxx.watch(xxxxxwatcher.java:86)
      1 frame
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames
    5. Spring AOP
      AsyncExecutionInterceptor$1.call
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
      4. org.springframework.aop.interceptor.AsyncExecutionInterceptor$1.call(AsyncExecutionInterceptor.java:115)
      4 frames
    6. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      2. java.lang.Thread.run(Thread.java:745)
      2 frames