CitizensDev/Citizens — Issue #569: Error when getting required quest items
Author: Avarice
Created: 2012-01-02 10:17:40+00:00
State: open

Currently have written a quest that requires a player to find the journals of an NPC, however upon receiving both books, nothing happened. Did /quest status and found that there was an internal error resulting about the time that I picked up the books:

02:08:01 [SEVERE] java.lang.NullPointerException
02:08:01 [SEVERE] at net.citizensnpcs.utils.StringUtils.format(StringUtils
.java:258)
02:08:01 [SEVERE] at net.citizensnpcs.questers.quests.types.LocationQuest.
getStatus(LocationQuest.java:78)
02:08:01 [SEVERE] at net.citizensnpcs.questers.QuesterCommands.viewCurrent
QuestStatus(QuesterCommands.java:438)
02:08:01 [SEVERE] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native M
ethod)
02:08:01 [SEVERE] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown S
ource)
02:08:01 [SEVERE] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unkno
wn Source)
02:08:01 [SEVERE] at java.lang.reflect.Method.invoke(Unknown Source)
02:08:01 [SEVERE] at net.citizensnpcs.resources.sk89q.CommandsManager.exec
uteMethod(CommandsManager.java:530)
02:08:01 [SEVERE] at net.citizensnpcs.resources.sk89q.CommandsManager.exec
ute(CommandsManager.java:407)
02:08:01 [SEVERE] at net.citizensnpcs.Citizens.onCommand(Citizens.java:200
)
02:08:01 [SEVERE] at org.bukkit.command.PluginCommand.execute(PluginComman
d.java:40)
02:08:01 [SEVERE] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCo
mmandMap.java:165)
02:08:01 [SEVERE] at org.bukkit.craftbukkit.CraftServer.dispatchCommand(Cr
aftServer.java:378)
02:08:01 [SEVERE] at net.minecraft.server.NetServerHandler.handleCommand(N
etServerHandler.java:757)
02:08:01 [SEVERE] at net.minecraft.server.NetServerHandler.chat(NetServerH
andler.java:722)
02:08:01 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHand
ler.java:715)
02:08:01 [SEVERE] at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetSe
rverHandler.java:180)
02:08:01 [SEVERE] at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:3
3)
02:08:01 [SEVERE] at net.minecraft.server.NetworkManager.b(NetworkManager.
java:226)
02:08:01 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHand
ler.java:93)
02:08:01 [SEVERE] at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetSe
rverHandler.java:550)
02:08:01 [SEVERE] at net.minecraft.server.NetworkListenThread.a(SourceFile
:108)
02:08:01 [SEVERE] at net.minecraft.server.MinecraftServer.w(MinecraftServe
r.java:527)
02:08:01 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftSer
ver.java:425)
02:08:01 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(Sour
ceFile:457)

I'm wondering if this doesn't have something to do with the fact that the books are governed by BookWorm, which allows players to write their own text to books, not just bookshelves.