StackableItems

StackableItems

99k Downloads

Console Error

Opened this issue ยท 18 comments

commented

Can you give me some info about your setup? CraftBukkit version? Plugin version?

Edit: Sorry, read that a bit too quick, other plugins shouldn't be an issue here. Any info on what specifically you did to cause this could help though.

commented

Craftbukkit # 2345
Stackable Items Version 0.8.6

Not sure what caused it as I wasn't in-game. Briefly walked in to monitor the console and noticed the error. Seems to be random. The only setting I have is SNOW_BALL: 64, I removed All items Max: -1 because it was causing issues with clicking on items to move them. Perhaps it may occur when someone uses a virtual chest? Honestly, not sure what the process was to cause it and I run a fairly large server, so it is hard to find out who caused it.

commented

The error states something about nocheatplus. Could the issue be that plugin? Using the latest dev build of NCP here. http://nocheatplus.org:8080/job/NoCheatPlus/lastSuccessfulBuild/ #37

You may want to ask NeatMonster if it is his plugin.

commented

What are you calling a Virtual Chest? Also removing All items Max: -1 would do nothing as that is telling StackableItems to use default values and it will still use it internally. The fact that it was causing problems worries me a little bit and the issues with clicking to move items sounds like a plugin conflict. I may need a list of your plugins after all, or at least any that deal with inventory in any way.

If NoCheatPlus is involved, I may have an idea, but I don't want to jump to any conclusions just yet.

commented

If you could try the test version here: https://github.com/haveric/StackableItems/blob/master/versions/test/StackableItems.jar?raw=true and let me know if it is still happening and if so provide an updated error log, I'd appreciate it.

commented

Alright, I'll test out and let you know how things go.

commented

21.08 23:45:21 [Server] INFO ... 14 more
21.08 23:45:21 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:330)
21.08 23:45:21 [Server] INFO at java.lang.reflect.Method.invoke(Unknown Source)
21.08 23:45:21 [Server] INFO at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
21.08 23:45:21 [Server] INFO at sun.reflect.GeneratedMethodAccessor51.invoke(Unknown Source)
21.08 23:45:21 [Server] INFO at haveric.stackableItems.SIPlayerListener.craftItem(SIPlayerListener.java:160)
21.08 23:45:21 [Server] INFO at org.bukkit.craftbukkit.inventory.CraftItemStack.setAmount(CraftItemStack.java:114)
21.08 23:45:21 [Server] INFO Caused by: java.lang.NullPointerException
21.08 23:45:21 [Server] INFO at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
21.08 23:45:21 [Server] INFO at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:407)
21.08 23:45:21 [Server] INFO at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:475)
21.08 23:45:21 [Server] INFO at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:212)
21.08 23:45:21 [Server] INFO at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:582)
21.08 23:45:21 [Server] INFO at net.minecraft.server.DedicatedServerConnection.b(SourceFile:30)
21.08 23:45:21 [Server] INFO at net.minecraft.server.ServerConnection.b(SourceFile:35)
21.08 23:45:21 [Server] INFO at net.minecraft.server.NetServerHandler.d(NetServerHandler.java:109)
21.08 23:45:21 [Server] INFO at net.minecraft.server.NetworkManager.b(NetworkManager.java:276)
21.08 23:45:21 [Server] INFO at net.minecraft.server.Packet102WindowClick.handle(SourceFile:29)
21.08 23:45:21 [Server] INFO at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:1109)
21.08 23:45:21 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
21.08 23:45:21 [Server] INFO at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
21.08 23:45:21 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
21.08 23:45:21 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:332)
21.08 23:45:21 [Server] INFO org.bukkit.event.EventException
21.08 23:45:21 [Server] SEVERE Could not pass event CraftItemEvent to StackableItems

commented

22.08 00:39:37 [Server] INFO ... 15 more
22.08 00:39:37 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:330)
22.08 00:39:37 [Server] INFO at java.lang.reflect.Method.invoke(Unknown Source)
22.08 00:39:37 [Server] INFO at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
22.08 00:39:37 [Server] INFO at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
22.08 00:39:37 [Server] INFO at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
22.08 00:39:37 [Server] INFO at haveric.stackableItems.PlayerJoinQuit.playerQuit(PlayerJoinQuit.java:17)
22.08 00:39:37 [Server] INFO at haveric.stackableItems.SIItems.removeItemFiles(SIItems.java:116)
22.08 00:39:37 [Server] INFO Caused by: java.lang.NullPointerException
22.08 00:39:37 [Server] INFO at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
22.08 00:39:37 [Server] INFO at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:407)
22.08 00:39:37 [Server] INFO at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:475)
22.08 00:39:37 [Server] INFO at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:212)
22.08 00:39:37 [Server] INFO at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:582)
22.08 00:39:37 [Server] INFO at net.minecraft.server.DedicatedServerConnection.b(SourceFile:29)
22.08 00:39:37 [Server] INFO at net.minecraft.server.DedicatedServerConnectionThread.a(DedicatedServerConnectionThread.java:44)
22.08 00:39:37 [Server] INFO at net.minecraft.server.NetLoginHandler.c(NetLoginHandler.java:41)
22.08 00:39:37 [Server] INFO at net.minecraft.server.NetLoginHandler.d(NetLoginHandler.java:118)
22.08 00:39:37 [Server] INFO at net.minecraft.server.ServerConfigurationManagerAbstract.processLogin(ServerConfigurationManagerAbstract.java:301)
22.08 00:39:37 [Server] INFO at net.minecraft.server.NetServerHandler.disconnect(NetServerHandler.java:162)
22.08 00:39:37 [Server] INFO at net.minecraft.server.ServerConfigurationManagerAbstract.disconnect(ServerConfigurationManagerAbstract.java:206)
22.08 00:39:37 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
22.08 00:39:37 [Server] INFO at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
22.08 00:39:37 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
22.08 00:39:37 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:332)
22.08 00:39:37 [Server] INFO org.bukkit.event.EventException
22.08 00:39:37 [Server] SEVERE Could not pass event PlayerQuitEvent to StackableItems

commented

Are those the entire errors or is there more? If there is more, please add a full log to pastebin.

commented

Those are it, the entire error messages. I am reverting back to the last build on dev.bukkit.org because I would rather be spammed with one error every so often, than a constant barrage of errors. :x

commented

22.08 13:27:18 [Server] INFO ... 14 more
22.08 13:27:18 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:330)
22.08 13:27:18 [Server] INFO at java.lang.reflect.Method.invoke(Unknown Source)
22.08 13:27:18 [Server] INFO at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
22.08 13:27:18 [Server] INFO at sun.reflect.GeneratedMethodAccessor269.invoke(Unknown Source)
22.08 13:27:18 [Server] INFO at haveric.stackableItems.SIPlayerListener.craftItem(SIPlayerListener.java:162)
22.08 13:27:18 [Server] INFO at org.bukkit.craftbukkit.inventory.CraftItemStack.setAmount(CraftItemStack.java:114)
22.08 13:27:18 [Server] INFO Caused by: java.lang.NullPointerException
22.08 13:27:18 [Server] INFO at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
22.08 13:27:18 [Server] INFO at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:407)
22.08 13:27:18 [Server] INFO at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:475)
22.08 13:27:18 [Server] INFO at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:212)
22.08 13:27:18 [Server] INFO at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:582)
22.08 13:27:18 [Server] INFO at net.minecraft.server.DedicatedServerConnection.b(SourceFile:30)
22.08 13:27:18 [Server] INFO at net.minecraft.server.ServerConnection.b(SourceFile:35)
22.08 13:27:18 [Server] INFO at net.minecraft.server.NetServerHandler.d(NetServerHandler.java:109)
22.08 13:27:18 [Server] INFO at net.minecraft.server.NetworkManager.b(NetworkManager.java:276)
22.08 13:27:18 [Server] INFO at net.minecraft.server.Packet102WindowClick.handle(SourceFile:29)
22.08 13:27:18 [Server] INFO at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:1109)
22.08 13:27:18 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
22.08 13:27:18 [Server] INFO at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
22.08 13:27:18 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
22.08 13:27:18 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:332)
22.08 13:27:18 [Server] INFO org.bukkit.event.EventException
22.08 13:27:18 [Server] SEVERE Could not pass event CraftItemEvent to StackableItems

:(

commented

AlphaChest, however, when I try with alphachest, it doesn't give off the error.

commented

I am not sure what is going on, but I am looking into it.

commented

What is the virtual chest plugin that you are using?

commented

Interesting, I just uploaded a new test version, can you try it please: https://github.com/haveric/StackableItems/blob/master/versions/test/StackableItems.jar?raw=true

Also, I added a debug setting in options.yml, if you could set it to true initially and let me know if you get any warnings with [DEBUG] in them (and which ones) as well as if you are still getting any errors. (Use "/stackableitems reload" to avoid reloading the server multiple times if changing debug)

Setting debug to false will then remove any of the [DEBUG] messages if you start getting spammed by them, which if they are what is causing the errors, you should.

commented

Please let me know if this is still happening with 0.8.8

commented
 13:22:11 [SEVERE] Could not pass event PlayerPickupItemEvent to StackableItems
 org.bukkit.event.EventException
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:332)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
        at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
        at net.minecraft.server.EntityItem.b_(EntityItem.java:193)
        at net.minecraft.server.EntityHuman.o(EntityHuman.java:349)
        at net.minecraft.server.EntityHuman.d(EntityHuman.java:341)
        at net.minecraft.server.EntityLiving.h_(EntityLiving.java:447)
        at net.minecraft.server.EntityHuman.h_(EntityHuman.java:158)
        at net.minecraft.server.EntityPlayer.g(EntityPlayer.java:203)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:346)
        at net.minecraft.server.Packet10Flying.handle(SourceFile:136)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:276)
        at net.minecraft.server.NetServerHandler.d(NetServerHandler.java:109)
        at net.minecraft.server.ServerConnection.b(SourceFile:35)
        at net.minecraft.server.DedicatedServerConnection.b(SourceFile:30)
        at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:581)
        at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:212)
        at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:474)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:406)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
 Caused by: java.lang.NoClassDefFoundError: org/bukkit/Sound
        at haveric.stackableItems.SIPlayerListener.playerPicksUpItem(SIPlayerListener.java:1047)
        at sun.reflect.GeneratedMethodAccessor97.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:330)
        ... 20 more
 13:22:12 [SEVERE] Could not pass event PlayerPickupItemEvent to StackableItems
 org.bukkit.event.EventException
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:332)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
        at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
        at net.minecraft.server.EntityItem.b_(EntityItem.java:193)
        at net.minecraft.server.EntityHuman.o(EntityHuman.java:349)
        at net.minecraft.server.EntityHuman.d(EntityHuman.java:341)
        at net.minecraft.server.EntityLiving.h_(EntityLiving.java:447)
        at net.minecraft.server.EntityHuman.h_(EntityHuman.java:158)
        at net.minecraft.server.EntityPlayer.g(EntityPlayer.java:203)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:346)
        at net.minecraft.server.Packet10Flying.handle(SourceFile:136)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:276)
        at net.minecraft.server.NetServerHandler.d(NetServerHandler.java:109)
        at net.minecraft.server.ServerConnection.b(SourceFile:35)
        at net.minecraft.server.DedicatedServerConnection.b(SourceFile:30)
        at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:581)
        at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:212)
        at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:474)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:406)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
 Caused by: java.lang.NoClassDefFoundError: org/bukkit/Sound
        at haveric.stackableItems.SIPlayerListener.playerPicksUpItem(SIPlayerListener.java:1047)
        at sun.reflect.GeneratedMethodAccessor97.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:330)
        ... 20 more
 13:22:14 [SEVERE] Could not pass event PlayerPickupItemEvent to StackableItems
 org.bukkit.event.EventException
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:332)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
        at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
        at net.minecraft.server.EntityItem.b_(EntityItem.java:193)
        at net.minecraft.server.EntityHuman.o(EntityHuman.java:349)
        at net.minecraft.server.EntityHuman.d(EntityHuman.java:341)
        at net.minecraft.server.EntityLiving.h_(EntityLiving.java:447)
        at net.minecraft.server.EntityHuman.h_(EntityHuman.java:158)
        at net.minecraft.server.EntityPlayer.g(EntityPlayer.java:203)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:346)
        at net.minecraft.server.Packet10Flying.handle(SourceFile:136)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:276)
        at net.minecraft.server.NetServerHandler.d(NetServerHandler.java:109)
        at net.minecraft.server.ServerConnection.b(SourceFile:35)
        at net.minecraft.server.DedicatedServerConnection.b(SourceFile:30)
        at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:581)
        at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:212)
        at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:474)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:406)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
 Caused by: java.lang.NoClassDefFoundError: org/bukkit/Sound
        at haveric.stackableItems.SIPlayerListener.playerPicksUpItem(SIPlayerListener.java:1047)
        at sun.reflect.GeneratedMethodAccessor97.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:330)
        ... 20 more
 (and much more errors)

 >plugins
 13:53:47 [INFO] Plugins (40): Trader, TimTheEnchanter, WorldEdit, SuperWheat, WirelessPower, Skript, CommandBook, Silk Touch Rebirth, Vault, Backpack, PermissionsEx, Rebalance Villagers, LWC, WorldGuard, StackableItems, dynmap, MachinaCore, AuthMe, MachinaFactory, CoreProtect, UltraLogger, RateOfXray, Scavenger, RunAs, HoverPad, OpenInv, MachinaBuilder, MachinaPump, EnchantMore, NewRecipes, MachinaDrill, ChatManager (* marked RED), MachinaRedstoneBridge, SignShop, Portables, BOSEconomy, JSONAPI, MachinaPlanter, VanishNoPacket, CraftIRC

 >version
 13:55:57 [INFO] This server is running CraftBukkit version git-Bukkit-1.3.1-R2.0-b2340jnks (MC: 1.3.1) (Implementing API version 1.3.1-R2.0)

StackableItems version: 0.8.8 (9/10/2012) for CB 1.3.2-R0.1 (yes, i have 1.3.1-R2.0) / 5be1612358192320404a94a8e322701d

commented

@alpeg This line "for CB 1.3.2-R0.1 (yes, i have 1.3.1-R2.0)" would be your problem. It requires 1.3.2 but you are using 1.3.1
Also in the future, please create a new ticket unless you have the exact same console error as the ticket does.

@rtcabooservb Since you closed this yourself, I am assuming that means it is working for you, which is great.