Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NPE at VaultHook.isLoaded #102

Open
Nerade opened this issue Aug 11, 2013 · 0 comments
Open

NPE at VaultHook.isLoaded #102

Nerade opened this issue Aug 11, 2013 · 0 comments

Comments

@Nerade
Copy link

Nerade commented Aug 11, 2013

Since a few days without any change (at least I don't remember) every event recognized by NoItem causes NPEs like following one:

2013-08-11 22:33:28 [SEVERE] Could not pass event PlayerItemHeldEvent to NoItem v3.0.3-242
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:394)
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 iv.a(NetServerHandler.java:1073)
at er.a(Packet16BlockItemSwitch.java:40)
at cg.b(TcpConnection.java:467)
at iv.d(NetServerHandler.java:220)
at iw.b(NetworkListenThread.java:57)
at ht.b(DedicatedServerListenThread.java:34)
at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:981)
at ho.r(DedicatedServer.java:309)
at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:857)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:744)
at fy.run(ThreadMinecraftServer.java:16)
Caused by: java.lang.NullPointerException
at net.worldoftomorrow.noitem.permissions.VaultHook.isLoaded(Unknown Source)
at net.worldoftomorrow.noitem.permissions.PermMan.checkVault(Unknown Source)
at net.worldoftomorrow.noitem.permissions.PermMan.check(Unknown Source)
at net.worldoftomorrow.noitem.permissions.PermMan.has(Unknown Source)
at net.worldoftomorrow.noitem.events.Handlers.handleItemHeld(Unknown Source)
at net.worldoftomorrow.noitem.events.Listeners.onItemHeld(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:392)
... 14 more

I don't really understand why this is possible because the variable "instance" must have a value set by the constructor?!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant