gamerx/Backup — Issue #69: Read Only Access Generates NullPointerException
Author: feaelin
Created: 2012-02-11 01:11:07+00:00
State: open

I wasn't paying attention and set the backup filepath to a remote share that was read-only for the account that was logged in. I know--obviously I shouldn't set the path to something that can't be written to--but I imagine it would better to handle the error gracefully...

Here's the error that was generated:
```
18:58:51 [SEVERE] java.lang.NullPointerException
18:58:51 [SEVERE] at net.tgxn.bukkit.backup.utils.LogUtils.exceptionLog(LogUtils.java:68)
18:58:51 [SEVERE] at net.tgxn.bukkit.backup.threading.BackupTask.backupWorlds(BackupTask.java:202)
18:58:51 [SEVERE] at net.tgxn.bukkit.backup.threading.BackupTask.doBackup(BackupTask.java:126)
18:58:51 [SEVERE] at net.tgxn.bukkit.backup.threading.BackupTask.run(BackupTask.java:70)
18:58:51 [SEVERE] at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34)
18:58:51 [SEVERE] at java.lang.Thread.run(Unknown Source)
```