Could not pass event PlayerLoginEvent to CommandBook
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
Research direction
Start at com.sk89q.commandbook.session.SessionComponent.onLogin(SessionComponent.java:325) and reproduce a player login on the reported CraftBukkit 1.4.6 environment. Trace the null value behind the PlayerLoginEvent exception; done means login completes without the CommandBook stacktrace.
Written by the indexing model from the issue text.
Description
CMDBOOK-2190 - Reported by unusualbob
On player login a stacktrace appears in the console.
13:11:48 [SEVERE] Could not pass event PlayerLoginEvent to CommandBook v539-57d1a9e
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427)
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.v1_4_6.PlayerList.attemptLogin(PlayerList.java:275)
at net.minecraft.server.v1_4_6.PendingConnection.d(PendingConnection.java:121)
at net.minecraft.server.v1_4_6.PendingConnection.c(PendingConnection.java:45)
at net.minecraft.server.v1_4_6.DedicatedServerConnectionThread.a(DedicatedServerConnectionThread.java:44)
at net.minecraft.server.v1_4_6.DedicatedServerConnection.b(SourceFile:29)
at net.minecraft.server.v1_4_6.MinecraftServer.r(MinecraftServer.java:598)
at net.minecraft.server.v1_4_6.DedicatedServer.r(DedicatedServer.java:224)
at net.minecraft.server.v1_4_6.MinecraftServer.q(MinecraftServer.java:494)
at net.minecraft.server.v1_4_6.MinecraftServer.run(MinecraftServer.java:427)
at net.minecraft.server.v1_4_6.ThreadServerApplication.run(SourceFile:849)
Caused by: java.lang.NullPointerException
at com.sk89q.commandbook.session.SessionComponent.onLogin(SessionComponent.java:325)
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:425)
... 13 more
CraftBukkit version git-Bukkit-1.4.6-R0.3-7-g48dcb3e-b2591jnks (MC: 1.4.6) (Implementing API version 1.4.6-R0.4-SNAPSHOT)
- Dominant language
- Java
- Stars
- 151
- Forks
- 104
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from EngineHub/CommandBook
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
EngineHub/CommandBook#294 · 2 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
EngineHub/CommandBook#285 · 3 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
EngineHub/CommandBook#283 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 20/100
EngineHub/CommandBook#282 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
EngineHub/CommandBook#281 ·
All issues in EngineHub/CommandBook
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
-
Two open-case totals on one screen: the Programs tile says 15,858 and the nav badge says 15,868 Openbug frontend maui-pilot
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
objectionary/eo-graphs#74 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100