Error occurred while disabling playerLives v1.5.1.1 (Is it up to date?): null #17


  • Accepted
  • Defect
Open
Assigned to _ForgeUser7440750
  • _ForgeUser7504839 created this issue Sep 16, 2011

    What steps will reproduce the problem?
    Stop a server with this plugin

    What is the expected output? What do you see instead?

    [SEVERE] Error occurred while disabling playerLives v1.5.1.1 (Is it up to date?): null
    java.lang.NullPointerException
    	at com.pathogenstudios.playerlives.dbWrappers.flatfile.close(flatfile.java:96)
    	at com.pathogenstudios.playerlives.playerLives.onDisable(playerLives.java:104)
    	at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:128)
    	at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:906)
    	at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:294)
    	at org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:287)
    	at org.bukkit.craftbukkit.CraftServer.disablePlugins(CraftServer.java:173)
    	at net.minecraft.server.MinecraftServer.stop(MinecraftServer.java:314)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:393)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    

    What version of the product are you using?
    1.5.1.1

    Do you have an error log of what happened?

    [SEVERE] Error occurred while disabling playerLives v1.5.1.1 (Is it up to date?): null
    java.lang.NullPointerException
    	at com.pathogenstudios.playerlives.dbWrappers.flatfile.close(flatfile.java:96)
    	at com.pathogenstudios.playerlives.playerLives.onDisable(playerLives.java:104)
    	at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:128)
    	at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:906)
    	at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:294)
    	at org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:287)
    	at org.bukkit.craftbukkit.CraftServer.disablePlugins(CraftServer.java:173)
    	at net.minecraft.server.MinecraftServer.stop(MinecraftServer.java:314)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:393)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    

    Please provide any additional information below.

    Craftbukkit version git-Bukkit-0.0.0-980-g4ed23b1-b1060jnks (MC: 1.7.3)
    SpoutCraft latest recommended

  • _ForgeUser7504839 added the tags New Defect Sep 16, 2011
  • _ForgeUser7440750 posted a comment Sep 22, 2011

    Sorry for taking so long to get around to this.

    I have not had any issues with PlayerLives and build 1060. Do you have any out of the ordinary plugins installed that might be causing issues? I will investigate the error more later today based off of your error log.

  • _ForgeUser7440750 removed a tag New Sep 22, 2011
  • _ForgeUser7440750 added a tag Waiting Sep 22, 2011
  • _ForgeUser7504839 posted a comment Sep 29, 2011

    Hi,

    sorry for replying late. I have updated to 1185, and still have the problem. Plugins I use:

     LazyRoad, BukkitUpdater, WorldEdit, SpawnMob, RetractableBridge, 
    BlocksOnGlass, Permissions, EndermanPickup, Spout, CraftBookCommon, 
    WaterproofRedstone, Elevators, MagnetBlock, JSONAPI, PorteCoulissante, 
    iConomy, ThunderJoin, RotatePiston, CraftBookCircuits, CraftBukkitUpToDate, 
    NextStation, PermissionsBukkit, playerLives, CraftBookMechanisms, 
    GravelClay, InvFall, Multiverse-Core, dynmap, CartJump, AdvancedShears, 
    BukkitInventoryTools, AutoRepair, MineCal, Inception, CommandHelper, 
    Growbie, BetterShop, NightSky, SpoutWallet, BananaGen, LightLevel, 
    RedstoneChips, MobileAdmin, ClockDisplay, CommandBook, DeathOnVoid, 
    MinecartManiaCore, MobSensor, SkylandsPlus, WorldGuard, ServerLogSaver, 
    BasicCircuits, Backup, Help, HourGlass, Multiverse-NetherPortals, 
    MinecartManiaStation, LWC, MinecartManiaAdminControls, Multiverse-Portals, 
    egtCaelumProcurator, MinecartManiaSignCommands, MessageCircuit, 
    SpeedCircuits, MinecartManiaAutomations, MinecartManiaTeleport, 
    SensorLibrary, MinecartManiaChestControl, MinecartManiaAutocart, 
    RequiPanelEnvironment, MyHome, SignEditSpout, SpoutBackpack, 
    RequiPanelCore, RequiPanelPlayers, OtherDrops, WormholeXTreme, 
    SpoutKeyCommands
    


    Bukkit version 1185, iConomy 6.0.6b

  • _ForgeUser7504839 removed a tag Waiting Sep 29, 2011
  • _ForgeUser7504839 added a tag Replied Sep 29, 2011
  • _ForgeUser7440750 posted a comment Oct 1, 2011

    D'oh, I think this is caused by the autoSaveTimer not being enabled. You should be able to fix it for now by enabling the auto-save for Flatfile in the config file. Will have fixed in 1.6.1

  • _ForgeUser7440750 removed a tag Replied Oct 1, 2011
  • _ForgeUser7440750 added a tag Fixed Oct 1, 2011
  • _ForgeUser7440750 closed issue Oct 1, 2011
  • _ForgeUser7440750 removed a tag Fixed Oct 1, 2011
  • _ForgeUser7440750 added a tag Accepted Oct 1, 2011
  • _ForgeUser7440750 reopened issue Oct 1, 2011
  • _ForgeUser7504839 posted a comment Oct 2, 2011

    Well, that's the same conclusion I came to by examining your code :)

  • _ForgeUser6933919 posted a comment Dec 21, 2011

    Experiencing the same problem with Bukkit build #1597 and Minecraft 1.0.1 and Player lives 1.6

    I enabled Autoflatfile saving and the error no longer appears.

    19:09:37 [INFO] [pathogenPlayerLives] Unloading Pathogen playerLives... 19:09:37 [SEVERE] Error occurred while disabling playerLives v1.5.2 (Is it up to date?): null java.lang.NullPointerException at com.pathogenstudios.playerlives.dbWrappers.flatfile.close(flatfile.ja va:96) at com.pathogenstudios.playerlives.playerLives.onDisable(playerLives.jav a:104) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:190) at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoade r.java:989) at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManag er.java:296) at org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginMana ger.java:289) at org.bukkit.craftbukkit.CraftServer.disablePlugins(CraftServer.java:18 1) at net.minecraft.server.MinecraftServer.stop(MinecraftServer.java:376) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:455) at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)


To post a comment, please login or register a new account.