Fatal NullPointer Exception in CB: 1493

Discussion in 'Bukkit Help' started by Donny, Nov 23, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    Donny

    I have been getting this NPE the entire time I've used any build of CraftBukkit that is for 1.0.0. I never received these before that.

    CB: 1493

    Plugins: IPGet, VanishNoPickup, Xray Detection, PermissionsEx, xAuth, iConomy, OKB3, KiwiAdmin, xWarp, Minequery, MobDisguise, Permissions, FalseBookExtra, FalseBookCart, CommandBook, FalseBookCore, LWC-Economy, ModTRS, WorldGuard, NoCheat, FalseBookBlock, WorldEdit, HeroChat, FirstLastSeen, FalseBookIC, Votifier, BukkitCompat, dynmap, MobBounty, WorldBorder, SimpleRegionMarket, LWC, PreciousStones, Register, EasyBan, ChestShop

    Code:
    2011-11-23 17:36:37 [SEVERE] java.lang.NullPointerException
    2011-11-23 17:36:37 [SEVERE]     at net.minecraft.server.InventoryPlayer.b(InventoryPlayer.java:315)
    2011-11-23 17:36:37 [SEVERE]     at net.minecraft.server.EntityHuman.b(EntityHuman.java:476)
    2011-11-23 17:36:37 [SEVERE]     at net.minecraft.server.ItemInWorldManager.c(ItemInWorldManager.java:219)
    2011-11-23 17:36:37 [SEVERE]     at net.minecraft.server.ItemInWorldManager.c(ItemInWorldManager.java:81)
    2011-11-23 17:36:37 [SEVERE]     at net.minecraft.server.EntityPlayer.w_(EntityPlayer.java:132)
    2011-11-23 17:36:37 [SEVERE]     at net.minecraft.server.World.entityJoinedWorld(World.java:1251)
    2011-11-23 17:36:37 [SEVERE]     at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:104)
    2011-11-23 17:36:37 [SEVERE]     at net.minecraft.server.World.playerJoinedWorld(World.java:1233)
    2011-11-23 17:36:37 [SEVERE]     at net.minecraft.server.World.tickEntities(World.java:1140)
    2011-11-23 17:36:37 [SEVERE]     at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:507)
    2011-11-23 17:36:37 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:414)
    2011-11-23 17:36:37 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    2011-11-23 17:36:37 [SEVERE] Unexpected exception
    java.lang.NullPointerException
        at net.minecraft.server.InventoryPlayer.b(InventoryPlayer.java:315)
        at net.minecraft.server.EntityHuman.b(EntityHuman.java:476)
        at net.minecraft.server.ItemInWorldManager.c(ItemInWorldManager.java:219)
        at net.minecraft.server.ItemInWorldManager.c(ItemInWorldManager.java:81)
        at net.minecraft.server.EntityPlayer.w_(EntityPlayer.java:132)
        at net.minecraft.server.World.entityJoinedWorld(World.java:1251)
        at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:104)
        at net.minecraft.server.World.playerJoinedWorld(World.java:1233)
        at net.minecraft.server.World.tickEntities(World.java:1140)
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:507)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:414)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    
    Any ideas what could be causing it?

    You can tell when the crash is going to happen. It begins to lag slightly and progresses to unplayable lag, then the error.

    Even restarting the server doesn't fix the issue, only thing you can do is wait for it to crash and restart, on which it will restart lag free.
     
  2. Offline

    CODsniperkid

    Now that I look at this a second time, it seems like it is a java problem with Minecraft. What version of CraftBukkit are you using currently?
     
  3. Offline

    Frogging101

    He said "CB: 1493", which is a Minecraft 1.0 build.
     
  4. Offline

    CODsniperkid

    Yeah. That's kind of the reason it's not considered stable yet..
     
  5. Offline

    Donny

    The problem only seems to affect me and a few others. The majority of people use 1493 without problem.
     
  6. Offline

    shadrxninga

    Craftbukkit for 1.0.0 is not recommended for use and is unsupported. You'll need to wait for a recommended build of Craftbukkit to come out. If this error still persists then - ask for help again.

    Try a few different development builds and see if you have the same problem. Before using any development builds backup your map and anything else in your minecraft folder that you wouldn't want to use. Development builds are unstable and may not work properly.
     
  7. Offline

    Donny

    Such a generic answer. I was asking if anyone knew what might be causing it, maybe someone had the same error.

    I'm assuming it's a plugin error since the majority of people running 1493 have no problems.
     
  8. Offline

    shadrxninga

    Errors can happen for all sorts of reasons.

    I'll give you a detailed explanation then...

    If you really want to find out if it is a plugin error then
    • First disable all your plugins by renaming your plugins folder. Check if the error is still there.
    Now, that error your getting
    Code:
     java.lang.NullPointerException
    
    The error is a NPE or NullPointerException. This usually happens because a variable is null and does not contain anything. This could happen in a plugin.

    It then gives you StackTrace to tell you exactly where the error is coming from

    Code:
     at net.minecraft.server.InventoryPlayer.b(InventoryPlayer.java:315) 2011-11-23 17:36:37 [SEVERE]     at net.minecraft.server.EntityHuman.b(EntityHuman.java:476) 2011-11-23 17:36:37 [SEVERE]     at net.minecraft.server.ItemInWorldManager.c(ItemInWorldManager.java:219) 2011-11-23 17:36:37 [SEVERE]     at net.minecraft.server.ItemInWorldManager.c(ItemInWorldManager.java:81) 2011-11-23 17:36:37 [SEVERE]     at net.minecraft.server.EntityPlayer.w_(EntityPlayer.java:132) 2011-11-23 17:36:37 [SEVERE]     at net.minecraft.server.World.entityJoinedWorld(World.java:1251) 2011-11-23 17:36:37 [SEVERE]     at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:104) 2011-11-23 17:36:37 [SEVERE]     at net.minecraft.server.World.playerJoinedWorld(World.java:1233) 2011-11-23 17:36:37 [SEVERE]     at net.minecraft.server.World.tickEntities(World.java:1140) 2011-11-23 17:36:37 [SEVERE]     at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:507) 2011-11-23 17:36:37 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:414) 2011-11-23 17:36:37 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    
    It's something to do with the Player Inventory code, it looks like it's having trouble setting up the Player.dat file and writing Inventory contents to it. (2011-11-23 17:36:37 [SEVERE] at net.minecraft.server.World.playerJoinedWorld(World.java:1233))

    Let's stop guessing though, as to really find out I would need to look through the code. The StackTrace suggests to me that this has nothing to do with a Plugin. It is all to do with Craftbukkit itself.

    This is why development builds are not recommended for use and are unsupported - which is why I gave you a generic answer. Try use other development builds as this may fix your problem. When a Recommended Build comes out, problems like this should be fixed.

    |Shadrx
     
    Donny likes this.
  9. Offline

    shadrxninga

Thread Status:
Not open for further replies.

Share This Page