FTB Backups 2

FTB Backups 2

16M Downloads

Players kicked from server on backup failure

Pavocracy opened this issue ยท 1 comments

commented

I have an enigmatica8 server running and anyone connected to the server when a ftbbackup is attempted, the console outputs an error and the players get disconnected

Mar 30 12:00:00 enigmatica8 bash[321]: [12:00:00] [ftbbackups2_Worker-1/INFO] [ne.cr.ft.FTBBackups/]: Attempting to create an automatic backup
Mar 30 12:00:00 enigmatica8 bash[321]: [12:00:00] [ftbbackups2_Worker-1/INFO] [ne.cr.ft.FTBBackups/]: Found world folder at /home/minecraft/./world/.
Mar 30 12:00:00 enigmatica8 bash[321]: java.lang.NullPointerException: Cannot read the array length because "files" is null
Mar 30 12:00:00 enigmatica8 bash[321]:         at TRANSFORMER/[email protected]/net.creeperhost.ftbbackups.utils.FileUtils.getFolderSize(FileUtils.java:84)
Mar 30 12:00:00 enigmatica8 bash[321]:         at TRANSFORMER/[email protected]/net.creeperhost.ftbbackups.BackupHandler.canCreateBackup(BackupHandler.java:471)
Mar 30 12:00:00 enigmatica8 bash[321]:         at TRANSFORMER/[email protected]/net.creeperhost.ftbbackups.BackupHandler.createBackup(BackupHandler.java:196)
Mar 30 12:00:00 enigmatica8 bash[321]:         at TRANSFORMER/[email protected]/net.creeperhost.ftbbackups.BackupHandler.createBackup(BackupHandler.java:176)
Mar 30 12:00:00 enigmatica8 bash[321]:         at TRANSFORMER/[email protected]/net.creeperhost.ftbbackups.FTBBackups$BackupJob.execute(FTBBackups.java:147)
Mar 30 12:00:00 enigmatica8 bash[321]:         at TRANSFORMER/[email protected]/net.creeperhost.ftbbackups.org.quartz.core.JobRunShell.run(JobRunShell.java:206)
Mar 30 12:00:00 enigmatica8 bash[321]:         at TRANSFORMER/[email protected]/net.creeperhost.ftbbackups.org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:548)

How do i go about fixing this error? The directory its searching is correct and im not sure how to tell if something inside the world folder is causing the issue?

commented

Fixed in 1.0.19