Fe - Economy

4 - SQL Error upon startup preventing use

What steps will reproduce the problem?
1. I startup the server and it happens.

What is the expected output? What do you see instead?
Console errors, no commands work in-game.

What version of the product are you using?
0.3

Do you have an error log of what happened?

2012-08-17 17:40:03 [INFO] [Fe] Enabling Fe v0.3
2012-08-17 17:40:03 [SEVERE] Error occurred while enabling Fe v0.3 (Is it up to date?)
java.lang.IllegalAccessError tried to access method lib.PatPeter.SQLibrary.Database.open()Ljava/sql/Connection; from class org.melonbrew.fe.database.databases.SQLDB
    at org.melonbrew.fe.database.databases.SQLDB.init(SQLDB.java:37)
    at org.melonbrew.fe.Fe.setupDatabase(Fe.java:155)
    at org.melonbrew.fe.Fe.setupDatabase(Fe.java:105)
    at org.melonbrew.fe.Fe.onEnable(Fe.java:57)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:365)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:265)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:247)
    at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:566)
    at org.bukkit.Bukkit.reload(Bukkit.java:183)
    at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:21)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:168)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:492)
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:878)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:825)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:807)
    at net.minecraft.serverhook.NetServerHandlerProxy.a(NetServerHandlerProxy.java:124)
    at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:44)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:276)
    at net.minecraft.server.NetServerHandler.d(NetServerHandler.java:109)
    at net.minecraft.server.ServerConnection.b(SourceFile:35)
    at net.minecraft.server.DedicatedServerConnection.b(SourceFile:30)
    at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:581)
    at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:212)
    at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:474)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:406)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)

Please provide any additional information below.

User When Change
niccholaspage Aug 17, 2012 at 20:46 UTC
softvelvet Aug 17, 2012 at 17:50 UTC Create

You must login to post a comment. Don't have an account? Register to get one!

  • 2 comments
  • Avatar of niccholaspage niccholaspage Aug 17, 2012 at 18:48 UTC - 0 likes

    Fixed in 0.3.1

    Last edited Aug 17, 2012 by niccholaspage
  • Avatar of softvelvet softvelvet Aug 17, 2012 at 18:09 UTC - 0 likes

    Also, this happens as well whenever someone joins the server:

    2012-08-17 18:06:49 [SEVERE] Could not pass event PlayerLoginEvent to Fe
    org.bukkit.event.EventException
    	at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:332)
    	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.ServerConfigurationManagerAbstract.attemptLogin(ServerConfigurationManagerAbstract.java:274)
    	at net.minecraft.server.NetLoginHandler.d(NetLoginHandler.java:112)
    	at net.minecraft.server.NetLoginHandler.c(NetLoginHandler.java:41)
    	at net.minecraft.server.DedicatedServerConnectionThread.a(DedicatedServerConnectionThread.java:44)
    	at net.minecraft.server.DedicatedServerConnection.b(SourceFile:29)
    	at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:581)
    	at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:212)
    	at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:474)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:406)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
    Caused by: java.lang.IllegalAccessError: tried to access method lib.PatPeter.SQLibrary.Database.prepare(Ljava/lang/String;)Ljava/sql/PreparedStatement; from class org.melonbrew.fe.database.databases.SQLDB
    	at org.melonbrew.fe.database.databases.SQLDB.loadAccountMoney(SQLDB.java:95)
    	at org.melonbrew.fe.database.Database.getAccount(Database.java:31)
    	at org.melonbrew.fe.database.Database.createAccount(Database.java:45)
    	at org.melonbrew.fe.API.createAccount(API.java:29)
    	at org.melonbrew.fe.listeners.FePlayerListener.onPlayerLogin(FePlayerListener.java:20)
    	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:330)
    	... 13 more
    
    Last edited Aug 17, 2012 by softvelvet: adding in a bit of explanation.
  • 2 comments

Facts

Last updated
Aug 17, 2012
Reported
Aug 17, 2012
Status
Fixed - Developer made requested changes. QA should verify.
Type
Defect - A shortcoming, fault, or imperfection
Priority
Medium - Normal priority.
Votes
0

Reported by

Possible assignees