This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
M1cr0man's profile picture

[1.41 Bukkit Beta 2] Errors (NPE on crafting, turtle fake player errors)

Started by M1cr0man, 03 August 2012 - 12:17 PM
M1cr0man #1
Posted 03 August 2012 - 02:17 PM
This is a fresh server, Computer Craft 1.41 Bukkit Beta 2 is the only mod installed. Using the latest version of MCPC bukkit (176)

Error 1 - Fake player crash:
When the server starts/restarts, and a command like move or dig is put into a turtle for the first time, the below error is thrown by two plugins - Admincmd and NoLagg.
Spoiler2012-08-03 14:13:11 [SEVERE] Could not pass event PlayerLoginEvent to AdminCmd
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:304)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:482)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:467)
at dan200.turtle.shared.BukkitInterop.playerLoginEvent(BukkitInterop.java:74)
at dan200.turtle.shared.TurtlePlayer.<init>(TurtlePlayer.java:18)
at dan200.turtle.shared.TurtlePlayer.get(TurtlePlayer.java:28)
at dan200.turtle.shared.TurtlePlayer.get(TurtlePlayer.java:42)
at dan200.turtle.shared.TileEntityTurtle.move(TileEntityTurtle.java:1240)
at dan200.turtle.shared.TileEntityTurtle.updateCommands(TileEntityTurtle.java:2188)
at dan200.turtle.shared.TileEntityTurtle.q_(TileEntityTurtle.java:2079)
at net.minecraft.server.World.tickEntities(World.java:1189)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:559)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:457)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
Caused by: java.lang.NullPointerException
at be.Balor.Listeners.Commands.ACBanListener.onPlayerLogin(ACBanListener.java:44)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302)
… 14 more
2012-08-03 14:13:11 [SEVERE] Could not pass event PlayerJoinEvent to AdminCmd
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:304)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:482)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:467)
at dan200.turtle.shared.BukkitInterop.playerLoginEvent(BukkitInterop.java:81)
at dan200.turtle.shared.TurtlePlayer.<init>(TurtlePlayer.java:18)
at dan200.turtle.shared.TurtlePlayer.get(TurtlePlayer.java:28)
at dan200.turtle.shared.TurtlePlayer.get(TurtlePlayer.java:42)
at dan200.turtle.shared.TileEntityTurtle.move(TileEntityTurtle.java:1240)
at dan200.turtle.shared.TileEntityTurtle.updateCommands(TileEntityTurtle.java:2188)
at dan200.turtle.shared.TileEntityTurtle.q_(TileEntityTurtle.java:2079)
at net.minecraft.server.World.tickEntities(World.java:1189)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:559)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:457)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
Caused by: java.lang.NullPointerException
at be.Balor.Listeners.ACPlayerListener.onPlayerJoin(ACPlayerListener.java:117)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302)
… 14 more
2012-08-03 14:13:11 [SEVERE] Could not pass event PlayerJoinEvent to NoLagg
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:304)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:482)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:467)
at dan200.turtle.shared.BukkitInterop.playerLoginEvent(BukkitInterop.java:81)
at dan200.turtle.shared.TurtlePlayer.<init>(TurtlePlayer.java:18)
at dan200.turtle.shared.TurtlePlayer.get(TurtlePlayer.java:28)
at dan200.turtle.shared.TurtlePlayer.get(TurtlePlayer.java:42)
at dan200.turtle.shared.TileEntityTurtle.move(TileEntityTurtle.java:1240)
at dan200.turtle.shared.TileEntityTurtle.updateCommands(TileEntityTurtle.java:2188)
at dan200.turtle.shared.TileEntityTurtle.q_(TileEntityTurtle.java:2079)
at net.minecraft.server.World.tickEntities(World.java:1189)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:559)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:457)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
Caused by: java.lang.NullPointerException
at com.bergerkiller.bukkit.nolagg.chunks.ChunkSendQueue.enforceBufferFullSize(ChunkSendQueue.java:96)
at com.bergerkiller.bukkit.nolagg.chunks.ChunkSendQueue.<init>(ChunkSendQueue.java:146)
at com.bergerkiller.bukkit.nolagg.chunks.ChunkSendQueue.bind(ChunkSendQueue.java:133)
at com.bergerkiller.bukkit.nolagg.chunks.ChunkSendQueue.bind(ChunkSendQueue.java:129)
at com.bergerkiller.bukkit.nolagg.chunks.NLCListener.onPlayerJoin(NLCListener.java:20)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302)
… 14 more

Error 2 - turtle.craft() NPE:
Upon trying to craft wooden planks out of 1 wood, the server crashed with this error:
Spoiler2012-08-03 14:24:52 [SEVERE] java.lang.NullPointerException
2012-08-03 14:24:52 [SEVERE] at org.bukkit.craftbukkit.inventory.CraftInventoryCrafting.setResult(CraftInventoryCrafting.java:126)
2012-08-03 14:24:52 [SEVERE] at org.bukkit.craftbukkit.event.CraftEventFactory.callPreCraftEvent(CraftEventFactory.java:506)
2012-08-03 14:24:52 [SEVERE] at net.minecraft.server.CraftingManager.craft(CraftingManager.java:250)
2012-08-03 14:24:52 [SEVERE] at dan200.turtle.shared.TurtleInventoryCrafting.tryCrafting(TurtleInventoryCrafting.java:47)
2012-08-03 14:24:52 [SEVERE] at dan200.turtle.shared.TurtleInventoryCrafting.doCrafting(TurtleInventoryCrafting.java:58)
2012-08-03 14:24:52 [SEVERE] at dan200.turtle.shared.TurtleWorkbenchPeripheral$1.handleCommand(TurtleWorkbenchPeripheral.java:74)
2012-08-03 14:24:52 [SEVERE] at dan200.turtle.shared.TileEntityTurtle.updateCommands(TileEntityTurtle.java:2390)
2012-08-03 14:24:52 [SEVERE] at dan200.turtle.shared.TileEntityTurtle.q_(TileEntityTurtle.java:2079)
2012-08-03 14:24:52 [SEVERE] at net.minecraft.server.World.tickEntities(World.java:1189)
2012-08-03 14:24:52 [SEVERE] at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:559)
2012-08-03 14:24:52 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:457)
2012-08-03 14:24:52 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
2012-08-03 14:24:52 [SEVERE] Unexpected exception
java.lang.NullPointerException
at org.bukkit.craftbukkit.inventory.CraftInventoryCrafting.setResult(CraftInventoryCrafting.java:126)
at org.bukkit.craftbukkit.event.CraftEventFactory.callPreCraftEvent(CraftEventFactory.java:506)
at net.minecraft.server.CraftingManager.craft(CraftingManager.java:250)
at dan200.turtle.shared.TurtleInventoryCrafting.tryCrafting(TurtleInventoryCrafting.java:47)
at dan200.turtle.shared.TurtleInventoryCrafting.doCrafting(TurtleInventoryCrafting.java:58)
at dan200.turtle.shared.TurtleWorkbenchPeripheral$1.handleCommand(TurtleWorkbenchPeripheral.java:74)
at dan200.turtle.shared.TileEntityTurtle.updateCommands(TileEntityTurtle.java:2390)
at dan200.turtle.shared.TileEntityTurtle.q_(TileEntityTurtle.java:2079)
at net.minecraft.server.World.tickEntities(World.java:1189)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:559)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:457)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
Xfel #2
Posted 03 August 2012 - 02:26 PM
As far as I know, the CC bukkit port is maintained by someone else, which means that you should post this in mcportcentral.
M1cr0man #3
Posted 03 August 2012 - 02:34 PM
As far as I know, the CC bukkit port is maintained by someone else, which means that you should post this in mcportcentral.
I have been asked in IRC to test the port for bugs and report them here. Cloudy is porting CC 1.41 this time.
Cloudy #4
Posted 03 August 2012 - 02:45 PM
You shouldn't really report the bugs on the forum for something that isn't released yet - but I'll look into it regardless.
M1cr0man #5
Posted 03 August 2012 - 03:01 PM
You shouldn't really report the bugs on the forum for something that isn't released yet - but I'll look into it regardless.
I dont have access to the beta forum :P/>/> There was no where else to report
Cloudy #6
Posted 03 August 2012 - 03:06 PM
You shouldn't really report the bugs on the forum for something that isn't released yet - but I'll look into it regardless.
I dont have access to the beta forum :P/>/> There was no where else to report

You should have reported on IRC when you saw me ;)/>/> however, thanks for the report, I will look into regardless. Thread closed.