Skip to content
This repository has been archived by the owner on Jan 16, 2019. It is now read-only.

Error when creating new NPC's; Please report this error: [See Console] java.lang.StringIndexOutOfBoundsException: String index out of range: 2. #1150

Open
nirvanaking95 opened this issue Aug 26, 2012 · 0 comments

Comments

@nirvanaking95
Copy link

Hello, I keep getting this error when I try to use Citizens and I can't seem to find a fix on the internet.

I do /npc create Armorsmith and it comes up with this error, Please report this error: [See Console] java.lang.StringIndexOutOfBoundsException: String index out of range: 2.

Here is what it says on the console,

2012-08-26 02:22:02 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
2012-08-26 02:22:02 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:406)
2012-08-26 02:22:02 [SEVERE] at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:474)
2012-08-26 02:22:02 [SEVERE] at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:212)
2012-08-26 02:22:02 [SEVERE] at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:581)
2012-08-26 02:22:02 [SEVERE] at net.minecraft.server.DedicatedServerConnection.b(SourceFile:30)
2012-08-26 02:22:02 [SEVERE] at net.minecraft.server.ServerConnection.b(SourceFile:35)
2012-08-26 02:22:02 [SEVERE] at net.minecraft.server.NetServerHandler.d(NetServerHandler.java:109)
2012-08-26 02:22:02 [SEVERE] at net.minecraft.server.NetworkManager.b(NetworkManager.java:276)
2012-08-26 02:22:02 [SEVERE] at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:44)
2012-08-26 02:22:02 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:807)
2012-08-26 02:22:02 [SEVERE] at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:825)
2012-08-26 02:22:02 [SEVERE] at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:878)
2012-08-26 02:22:02 [SEVERE] at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:492)
2012-08-26 02:22:02 [SEVERE] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:168)
2012-08-26 02:22:02 [SEVERE] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
2012-08-26 02:22:02 [SEVERE] at net.citizensnpcs.Citizens.onCommand(Citizens.java:144)
2012-08-26 02:22:02 [SEVERE] at net.citizensnpcs.resources.sk89q.CommandsManager.execute(CommandsManager.java:146)
2012-08-26 02:22:02 [SEVERE] at net.citizensnpcs.resources.sk89q.CommandsManager.executeMethod(CommandsManager.java:254)
2012-08-26 02:22:02 [SEVERE] at java.lang.reflect.Method.invoke(Unknown Source)
2012-08-26 02:22:02 [SEVERE] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2012-08-26 02:22:02 [SEVERE] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
2012-08-26 02:22:02 [SEVERE] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2012-08-26 02:22:02 [SEVERE] at net.citizensnpcs.commands.BasicCommands.create(BasicCommands.java:214)
2012-08-26 02:22:02 [SEVERE] at net.citizensnpcs.utils.MessageUtils.getNoMoneyMessage(MessageUtils.java:82)
2012-08-26 02:22:02 [SEVERE] at net.citizensnpcs.Economy.format(Economy.java:27)
2012-08-26 02:22:02 [SEVERE] at net.citizensnpcs.Economy.format(Economy.java:22)

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

No branches or pull requests

1 participant