Fe - Economy

7 - Could not pass even PlayerLoginEvent to Fe

What steps will reproduce the problem?
1. starting up my server.
2. stopping and try using sqlite instead, still same results.
3. tried deleting my FE folder, start from scratch, still same results.

What is the expected output? What do you see instead?
Smooth startup of plugin, but I get [SEVERE] with errors

What version of the product are you using?

Do you have an error log of what happened?

[SEVERE] Could not pass event PlayerLoginEvent to Fe
    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:273)
    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:582)
    at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:213)
    at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:475)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:407)
    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

Please provide any additional information below.
This happens with version v.3 as well

User When Change
niccholaspage Aug 20, 2012 at 18:29 UTC Changed status from New to Fixed
softvelvet Aug 18, 2012 at 23:35 UTC Create

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

  • Avatar of niccholaspage niccholaspage Aug 20, 2012 at 18:22 UTC - 0 likes

    @softvelvet: Go

    Yeah, I think I fixed and was going to test it but it seems that it works fine now.

  • Avatar of softvelvet softvelvet Aug 20, 2012 at 17:13 UTC - 0 likes

    I downloaded the latest dev snapshot, loaded the plugin that caused Fe to have errors, and now:

    2012-08-20 17:05:05 [INFO] [Fe] Loading Fe v0.4-SNAPSHOT
    2012-08-20 17:05:05 [INFO] [Fe] Enabling Fe v0.4-SNAPSHOT
    2012-08-20 17:05:06 [INFO] [Fe] Vault support enabled.

    They are working together just lovely, thank you so very much. :) I appreciate your hard work and dedication. Cheers!

  • Avatar of niccholaspage niccholaspage Aug 19, 2012 at 18:16 UTC - 0 likes

    Can you please download the newest development build? (It's been updated quite a bit since yesterday) and test that out?

  • Avatar of softvelvet softvelvet Aug 19, 2012 at 04:15 UTC - 0 likes

    Yes, I have downloaded them three times, the 0.3.1 once, and the 0.4 twice, thinking that I might have downloaded the wrong one. I deleted the old one and downloaded a "fresh" one each time.

    Then I tried starting it up on my local computer server, first running it by itself with vault, then with other plugins. The plugin that it causes it to have errors is the one I already pointed out. It works perfectly fine otherwise, and I am confused as well, but probably not as confused as you are, understandably.

    In any case, nobody else seems to be reporting this issue, so I am unsure at this point if it is even worthy of your consideration other than try to run it with "bookshelf" yourself and see what you might get?

    Again, thank you for your time. I can do without "Bookshelf", and if that is the only connection to the issue that causes Fe to throw an error up, then bye bye it goes.

  • Avatar of niccholaspage niccholaspage Aug 19, 2012 at 04:06 UTC - 0 likes

    @softvelvet: Go

    This is for sure the newest dev build? Make sure you don't have 2 different Fe's in your plugins folder. This doesn't make sense in any way, it sounds very odd.

  • Avatar of softvelvet softvelvet Aug 19, 2012 at 03:35 UTC - 0 likes

    Wow, you are reacting harshly. I understand you believe it's fixed. I downloaded both the 0.3.1 and 0.4, despite what you think. I download from the main page, and then I click on that lump of coal that is the "Latest dev" and use that one, and this is what I get when I try to use it with another plugin that uses sqlite.

    2012-08-19 02:21:57 [INFO] [Fe] Enabling Fe v0.4-SNAPSHOT
    2012-08-19 02:21:57 [SEVERE] Error occurred while enabling Fe v0.4-SNAPSHOT (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:41)
    	at org.melonbrew.fe.Fe.setupDatabase(Fe.java:165)
    	at org.melonbrew.fe.Fe.setupDatabase(Fe.java:115)
    	at org.melonbrew.fe.Fe.onEnable(Fe.java:61)
    	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.<init>(CraftServer.java:199)
    	at net.minecraft.server.ServerConfigurationManagerAbstract.<init>(ServerConfigurationManagerAbstract.java:50)
    	at net.minecraft.server.ServerConfigurationManager.<init>(SourceFile:11)
    	at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:105)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:378)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)

    I get rid of one plugin that uses sqlight, "Bookshelf" (http://dev.bukkit.org/server-mods/bookshelf/) and Fe runs fine.

    Please, I am not trying to insult you or waste your time. I don't appreciate being told what I am or am not doing. I told you what I am doing, and reporting the error I get. If there is some magical link to another version besides the two I pointed out, please let me know. The ones I pointed out are the ones I am using and getting this error with.

    For now I just will not use any other plugin that uses sqlite so that Fe will work.

    Here is my config:

    # Fe Config - melonbrew.org
    # holdings - The amount of money that the player will start out with
    # prefix - The message prefix
    # currency - The single and multiple names for the currency
    # type - The type of database used (sqlite or mysql)
    holdings: 100.0
    prefix: L
      single: Loddar
      multiple: Loddars
    type: mysql
      host: localhost
      port: 3306
      user: FE
      password: *snip*
      database: FE

    As for my other plugins, it's quite a list but they all play very nicely with each other. I listed the plugin that Fe was conflicting with above.

    AutoSaveing (yes, that is how they spelled it), BedSpawn, BKCommonLib, CommandBook, CraftBook, DropChest, Dynmap, FlightClearance, Lockette, LogBlock, Maplicate, Mchat, mcMMO, MinecraftRKitPlugin, MobBountyReloaded, MonsterIRC, MultiInv, MyWarp, MyWorlds, NoCheatPlus, OpenInv, Orebfuscator, PermissionsBukkit, PorteCoulissante, PrintingPress, PvPReward, ReEnder, RetractableBridge, ShelfIt, SignShop, SpaceBukkit, SuperpermsBridge, Tombstone, TravelPad, TreeAssist, UsefulVillagers, VanishNoPacket, Vault, WGFix, WorldEdit, WorldGuard, WorldGuardFlagger

  • Avatar of niccholaspage niccholaspage Aug 19, 2012 at 02:40 UTC - 0 likes

    Give me your plugins list and configuration, please.

  • Avatar of niccholaspage niccholaspage Aug 19, 2012 at 01:07 UTC - 0 likes

    @softvelvet: Go

    You do realize each new build on jenkins has the same version (0.4-SNAPSHOT) and you've never tested the newer snapshots? You haven't even tried 0.3.1 either. I know for a fact that this bug is fixed in the NEWER 0.4 snapshots from the build server, and 0.3.1.

  • Avatar of softvelvet softvelvet Aug 19, 2012 at 01:06 UTC - 0 likes

    I actually put down that I am using .4

    What version of the product are you using? Fe v0.4-SNAPSHOT

  • Avatar of niccholaspage niccholaspage Aug 19, 2012 at 00:49 UTC - 0 likes

    0.3.1 and the newest 0.4 snapshots should fix this bug, please attempt to use one of them.



Last updated
Aug 20, 2012
Aug 18, 2012
Fixed - Developer made requested changes. QA should verify.
Defect - A shortcoming, fault, or imperfection
Medium - Normal priority.

Reported by

Possible assignees