Slimefun

Slimefun

3M Downloads

Unknown error I caught in the console

Boomer-1 opened this issue ยท 2 comments

commented

๐Ÿ“ Description (REQUIRED)

I saw this in my console from about an hour ago. It's an error that may be slimefun 4 related, infinity storage related or both. I am not sure so I will post the log in both.

๐Ÿ“‘ Steps to reproduce the Issue (REQUIRED)

Not sure as I don't know what the error is

๐Ÿ’ก Expected behavior (REQUIRED)

no clue

๐Ÿ“œ Server Log

latest.log

๐Ÿ“‚ /error-reports/ Folder

none

๐Ÿงญ Environment (REQUIRED)

  • Server Software: spigot 1.16.3
  • Minecraft Version: 1.16.3
  • Slimefun Version: dev 784
  • CS-CoreLib Version: dev 92
commented

Please use pastebin to post error logs.

commented

The exception itself comes from Windows' File System, seems like the file was blocked by another process or the process had insufficient permissions to access this path.
From the log it seems like it only happened once out of many auto-saving processes.
I will mark this as "Cannot reproduce" for now, as it seems like a 1 in a million times error. But feel free to report back if it happens again.

java.nio.file.AccessDeniedException: data-storage\Slimefun\stored-blocks\world\INFINITY_STORAGE.sfb.tmp -> data-storage\Slimefun\stored-blocks\world\INFINITY_STORAGE.sfb
	at sun.nio.fs.WindowsException.translateToIOException(Unknown Source) ~[?:1.8.0_271]
	at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source) ~[?:1.8.0_271]
	at sun.nio.fs.WindowsFileCopy.move(Unknown Source) ~[?:1.8.0_271]
	at sun.nio.fs.WindowsFileSystemProvider.move(Unknown Source) ~[?:1.8.0_271]
	at java.nio.file.Files.move(Unknown Source) ~[?:1.8.0_271]
	at me.mrCookieSlime.Slimefun.api.BlockStorage.save(BlockStorage.java:316) ~[?:?]
	at io.github.thebusybiscuit.slimefun4.core.services.AutoSavingService.saveAllBlocks(AutoSavingService.java:94) ~[?:?]
	at org.bukkit.craftbukkit.v1_16_R2.scheduler.CraftTask.run(CraftTask.java:81) [spigot.1.16.3.jar:git-Spigot-2740d5a-890130b]
	at org.bukkit.craftbukkit.v1_16_R2.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54) [spigot.1.16.3.jar:git-Spigot-2740d5a-890130b]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:1.8.0_271]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:1.8.0_271]
	at java.lang.Thread.run(Unknown Source) [?:1.8.0_271]