gamerx/Backup — Issue #41: Error occurred while enabling Backup v1.8.4-dev
Author: BurtGummer
Created: 2011-12-08 08:30:02+00:00
State: open

Hi,
i use bukkit 1566 with Backup v1.8.4-dev, but at startup:

2011-12-08 09:16:18 [SEVERE] Error occurred while enabling Backup v1.8.4-dev (Is it up to date?): null
java.lang.NullPointerException
at java.io.Writer.(Writer.java:71)
at java.io.BufferedWriter.(BufferedWriter.java:83)
at java.io.BufferedWriter.(BufferedWriter.java:70)
at net.tgxn.bukkit.backup.utils.LogUtils.logLineToFile(LogUtils.java:92)
at net.tgxn.bukkit.backup.utils.LogUtils.sendLog(LogUtils.java:151)
at net.tgxn.bukkit.backup.utils.LogUtils.sendLog(LogUtils.java:116)
at net.tgxn.bukkit.backup.BackupMain.setupPermissions(BackupMain.java:131)
at net.tgxn.bukkit.backup.BackupMain.onEnable(BackupMain.java:74)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:188)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:957)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:186)
at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:169)
at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:342)
at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:329)
at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:165)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:393)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)

and stop:

2011-12-08 09:29:23 [SEVERE] Error occurred while disabling Backup v1.8.4-dev (Is it up to date?): null
java.lang.NullPointerException
at java.io.Writer.(Writer.java:71)
at java.io.BufferedWriter.(BufferedWriter.java:83)
at java.io.BufferedWriter.(BufferedWriter.java:70)
at net.tgxn.bukkit.backup.utils.LogUtils.logLineToFile(LogUtils.java:92)
at net.tgxn.bukkit.backup.utils.LogUtils.sendLog(LogUtils.java:151)
at net.tgxn.bukkit.backup.utils.LogUtils.sendLog(LogUtils.java:125)
at net.tgxn.bukkit.backup.BackupMain.onDisable(BackupMain.java:113)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:190)
at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:978)
at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:296)
at org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:289)
at org.bukkit.craftbukkit.CraftServer.disablePlugins(CraftServer.java:181)
at net.minecraft.server.MinecraftServer.stop(MinecraftServer.java:370)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:449)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)