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

LWC 3.00a4 Locale not being set properly #30

Closed
brennie opened this issue May 15, 2011 · 1 comment
Closed

LWC 3.00a4 Locale not being set properly #30

brennie opened this issue May 15, 2011 · 1 comment

Comments

@brennie
Copy link

brennie commented May 15, 2011

In my core.yml file I have core.locale set to 'en'.

However, when a user types lwc -c the following error occurs in console:

18:01:29 [SEVERE] null
org.bukkit.command.CommandException: Unhandled exception executing command 'lwc' in plugin LWC v3.00-alpha4
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:85)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:278)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:682)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:645)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:639)
        at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
        at net.minecraft.server.NetworkManager.a(NetworkManager.java:196)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:372)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:287)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
Caused by: com.griefcraft.scripting.ModuleException: LWC Module threw an uncaught exception!
        at com.griefcraft.scripting.ModuleLoader.dispatchEvent(ModuleLoader.java:191)
        at com.griefcraft.lwc.LWCPlugin.onCommand(LWCPlugin.java:262)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        ... 12 more
Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
        at com.griefcraft.modules.create.CreateModule.onCommand(CreateModule.java:188)
        at com.griefcraft.scripting.ModuleLoader.dispatchEvent(ModuleLoader.java:145)
        ... 14 more

and the resulting text that the user recieves is:
...
Example:
UNKNOWN_LOCALE_cprivate. UserName g:GroupName OtherGuy

You can specify more than 1 group and/or user per command!
An internal error occured while attempting to perform this command

The commands are still usable, of course, but the the errors spam the console window.

@Hidendra
Copy link
Owner

Thank you, it has been fixed in alpha5

Regards

Phoenix616 pushed a commit to Minebench/LWC that referenced this issue May 11, 2018
Fixes Hidendra#27: During startup: "java.sql.SQLException: statement is not executing"
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

2 participants