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

/npc not working? #1330

Closed
UnrealPixel opened this Issue Oct 14, 2017 · 3 comments

Comments

Projects
None yet
3 participants
@UnrealPixel

UnrealPixel commented Oct 14, 2017

Most recent version of Citizens
BUG!

/npc does not work. It does not give any error in-game or console.
It is not giving a response.

Yes I am on the right version.

I am using multiple worlds.

@UnrealPixel

This comment has been minimized.

Show comment
Hide comment
@UnrealPixel

UnrealPixel Oct 14, 2017

org.bukkit.command.CommandException: Unhandled exception executing command 'npc' in plugin Citizens v2.0.18-SNAPSHOT (build 1371) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[server.jar:git-Spigot-798f32d-0cd0397] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) ~[server.jar:git-Spigot-798f32d-0cd0397] at org.bukkit.craftbukkit.v1_9_R2.CraftServer.dispatchCommand(CraftServer.java:646) ~[server.jar:git-Spigot-798f32d-0cd0397] at net.minecraft.server.v1_9_R2.PlayerConnection.handleCommand(PlayerConnection.java:1349) [server.jar:git-Spigot-798f32d-0cd0397] at net.minecraft.server.v1_9_R2.PlayerConnection.a(PlayerConnection.java:1184) [server.jar:git-Spigot-798f32d-0cd0397] at net.minecraft.server.v1_9_R2.PacketPlayInChat.a(PacketPlayInChat.java:45) [server.jar:git-Spigot-798f32d-0cd0397] at net.minecraft.server.v1_9_R2.PacketPlayInChat.a(PacketPlayInChat.java:1) [server.jar:git-Spigot-798f32d-0cd0397] at net.minecraft.server.v1_9_R2.PlayerConnectionUtils$1.run(SourceFile:13) [server.jar:git-Spigot-798f32d-0cd0397] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_131] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_131] at net.minecraft.server.v1_9_R2.SystemUtils.a(SourceFile:45) [server.jar:git-Spigot-798f32d-0cd0397] at net.minecraft.server.v1_9_R2.MinecraftServer.D(MinecraftServer.java:726) [server.jar:git-Spigot-798f32d-0cd0397] at net.minecraft.server.v1_9_R2.DedicatedServer.D(DedicatedServer.java:399) [server.jar:git-Spigot-798f32d-0cd0397] at net.minecraft.server.v1_9_R2.MinecraftServer.C(MinecraftServer.java:665) [server.jar:git-Spigot-798f32d-0cd0397] at net.minecraft.server.v1_9_R2.MinecraftServer.run(MinecraftServer.java:564) [server.jar:git-Spigot-798f32d-0cd0397] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131] Caused by: java.lang.NullPointerException at net.citizensnpcs.npc.NPCSelector.getSelectedFromMetadatable(NPCSelector.java:60) ~[?:?] at net.citizensnpcs.npc.NPCSelector.getSelected(NPCSelector.java:45) ~[?:?] at net.citizensnpcs.Citizens.onCommand(Citizens.java:230) ~[?:?] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[server.jar:git-Spigot-798f32d-0cd0397] ... 15 more
Got this error all of a sudden

UnrealPixel commented Oct 14, 2017

org.bukkit.command.CommandException: Unhandled exception executing command 'npc' in plugin Citizens v2.0.18-SNAPSHOT (build 1371) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[server.jar:git-Spigot-798f32d-0cd0397] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) ~[server.jar:git-Spigot-798f32d-0cd0397] at org.bukkit.craftbukkit.v1_9_R2.CraftServer.dispatchCommand(CraftServer.java:646) ~[server.jar:git-Spigot-798f32d-0cd0397] at net.minecraft.server.v1_9_R2.PlayerConnection.handleCommand(PlayerConnection.java:1349) [server.jar:git-Spigot-798f32d-0cd0397] at net.minecraft.server.v1_9_R2.PlayerConnection.a(PlayerConnection.java:1184) [server.jar:git-Spigot-798f32d-0cd0397] at net.minecraft.server.v1_9_R2.PacketPlayInChat.a(PacketPlayInChat.java:45) [server.jar:git-Spigot-798f32d-0cd0397] at net.minecraft.server.v1_9_R2.PacketPlayInChat.a(PacketPlayInChat.java:1) [server.jar:git-Spigot-798f32d-0cd0397] at net.minecraft.server.v1_9_R2.PlayerConnectionUtils$1.run(SourceFile:13) [server.jar:git-Spigot-798f32d-0cd0397] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_131] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_131] at net.minecraft.server.v1_9_R2.SystemUtils.a(SourceFile:45) [server.jar:git-Spigot-798f32d-0cd0397] at net.minecraft.server.v1_9_R2.MinecraftServer.D(MinecraftServer.java:726) [server.jar:git-Spigot-798f32d-0cd0397] at net.minecraft.server.v1_9_R2.DedicatedServer.D(DedicatedServer.java:399) [server.jar:git-Spigot-798f32d-0cd0397] at net.minecraft.server.v1_9_R2.MinecraftServer.C(MinecraftServer.java:665) [server.jar:git-Spigot-798f32d-0cd0397] at net.minecraft.server.v1_9_R2.MinecraftServer.run(MinecraftServer.java:564) [server.jar:git-Spigot-798f32d-0cd0397] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131] Caused by: java.lang.NullPointerException at net.citizensnpcs.npc.NPCSelector.getSelectedFromMetadatable(NPCSelector.java:60) ~[?:?] at net.citizensnpcs.npc.NPCSelector.getSelected(NPCSelector.java:45) ~[?:?] at net.citizensnpcs.Citizens.onCommand(Citizens.java:230) ~[?:?] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[server.jar:git-Spigot-798f32d-0cd0397] ... 15 more
Got this error all of a sudden

@mcmonkey4eva

This comment has been minimized.

Show comment
Hide comment
@mcmonkey4eva

mcmonkey4eva Oct 14, 2017

Member

Restart server, check saves file for unusual data, etc.

It'll be hard to give more full support to such an outdated build of Citizens :/

Member

mcmonkey4eva commented Oct 14, 2017

Restart server, check saves file for unusual data, etc.

It'll be hard to give more full support to such an outdated build of Citizens :/

@fullwall

This comment has been minimized.

Show comment
Hide comment
@fullwall

fullwall Mar 9, 2018

Member

Fixed in the latest build (which does not support 1.9).

Member

fullwall commented Mar 9, 2018

Fixed in the latest build (which does not support 1.9).

@fullwall fullwall closed this Mar 9, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment