FAForever Forums
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Login

    Error Code Help

    Scheduled Pinned Locked Moved I need help
    2 Posts 2 Posters 211 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      CrabsComeOff
      last edited by

      I'm getting this error code, dont know what it means or what to do

      java.lang.RuntimeException: java.nio.file.FileSystemException: C:\ProgramData\FAForever\gamedata\meshes.nx2: The process cannot access the file because it is being used by another process
      at com.faforever.client.patch.SimpleHttpFeaturedModUpdaterTask.lambda$call$0(SimpleHttpFeaturedModUpdaterTask.java:94)
      at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
      at com.faforever.client.patch.SimpleHttpFeaturedModUpdaterTask.call(SimpleHttpFeaturedModUpdaterTask.java:70)
      at com.faforever.client.patch.SimpleHttpFeaturedModUpdaterTask.call(SimpleHttpFeaturedModUpdaterTask.java:29)
      at javafx.concurrent.Task$TaskCallable.call(Task.java:1426)
      at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
      at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
      at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
      at java.base/java.lang.Thread.run(Thread.java:833)
      Caused by: java.nio.file.FileSystemException: C:\ProgramData\FAForever\gamedata\meshes.nx2: The process cannot access the file because it is being used by another process
      at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:92)
      at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103)
      at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108)
      at java.base/sun.nio.fs.WindowsFileCopy.copy(WindowsFileCopy.java:171)
      at java.base/sun.nio.fs.WindowsFileSystemProvider.copy(WindowsFileSystemProvider.java:284)
      at java.base/java.nio.file.Files.copy(Files.java:1305)
      at com.faforever.client.io.FeaturedModFileCacheService.copyFeaturedModFileFromCache(FeaturedModFileCacheService.java:64)
      at com.faforever.client.patch.SimpleHttpFeaturedModUpdaterTask.lambda$call$0(SimpleHttpFeaturedModUpdaterTask.java:89)
      ... 8 more

      1 Reply Last reply Reply Quote 0
      • Brutus5000B
        Brutus5000 FAF Server Admin
        last edited by

        The process cannot access the file because it is being used by another process:
        This can be:

        • a hanging client instance that wasn't closed properly
        • a still running game
        • a retarded AntiVirus

        For 1) and 2) you either manually kill the process in the task manager or restart your PC.
        For 3) you disable your antivirus, configure it correctly or consider that additional AntiVirus in 2022 is useless (Microsoft Defender offers the same level of security)

        He said, "I've been to the year 3000
        Not much has changed, but they live underwater
        And your great-great-great-granddaughter
        Is playin' FAF, playin' FAF"

        1 Reply Last reply Reply Quote 0
        • First post
          Last post