Quark Oddities

Quark Oddities

22M Downloads

Incompatible API classloader

bookerthegeek opened this issue ยท 10 comments

commented

Heyo

Hello, noticed this in the Log and thought you should know.

[13:25:49] [Client thread/WARN] [FML]: ****************************************
[13:25:49] [Client thread/WARN] [FML]: * The API BetterWithModsAPI from source C:\Games\MultiMC\instances\Rage 2\Minecraft\mods\Quark-r1.2-92.jar is loaded from an incompatible classloader. THIS WILL NOT WORK!
[13:25:49] [Client thread/WARN] [FML]: *  at net.minecraftforge.fml.common.ModAPIManager$APIContainer.validate(ModAPIManager.java:113)
[13:25:49] [Client thread/WARN] [FML]: *  at net.minecraftforge.fml.common.ModAPIManager.registerDataTableAndParseAPI(ModAPIManager.java:173)
[13:25:49] [Client thread/WARN] [FML]: *  at net.minecraftforge.fml.common.ModAPIManager.manageAPI(ModAPIManager.java:231)
[13:25:49] [Client thread/WARN] [FML]: *  at net.minecraftforge.fml.common.Loader.loadMods(Loader.java:555)
[13:25:49] [Client thread/WARN] [FML]: *  at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:233)
[13:25:49] [Client thread/WARN] [FML]: *  at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:440)...
[13:25:49] [Client thread/WARN] [FML]: ****************************************

What went Wrong

Nothing really, just thought you should know

Versions

  • AutoRegLib-1.1-4
  • Better With Mods-1.2.27-1.11.2
  • Quark-r1.2-92
commented

@primetoxinz what's this? O_o

commented

I have no idea what that means, never seen that before.

commented

well I dunno then

commented

Well shite... If you two don't know then I guess we never will ;)

Also, love both your mods. I look forward to what you guys come up with next.

commented

Are you accidentally shading the api?

commented

I see the same thing in my error log. Using MultiMC, it colors the stack trace lines in red, so it stands out when scrolling through the log file for other errors. But closer inspection reveals that they are just part of a Warning, not an Error.

To further confuse matters, I don't have "Better with Mods" in my current mods list. So I'm guessing there's some legacy code somewhere in the Quark or AutoRegLib code base which could use a bit of cleanup.

AutoRegLib: 1.3-11
Quark: r1.2-98
Better With Mods: not installed

[19:47:57] [main/WARN] [FML]: ****************************************
[19:47:57] [main/WARN] [FML]: * The API BetterWithModsAPI from source D:\MultiMC\instances\1.12 Post Forge Registry Updates\minecraft\mods\Quark-r1.2-98.jar is loaded from an incompatible classloader. THIS WILL NOT WORK!
[19:47:57] [main/WARN] [FML]: *  at net.minecraftforge.fml.common.ModAPIManager$APIContainer.validate(ModAPIManager.java:114)
[19:47:57] [main/WARN] [FML]: *  at net.minecraftforge.fml.common.ModAPIManager.registerDataTableAndParseAPI(ModAPIManager.java:174)
[19:47:57] [main/WARN] [FML]: *  at net.minecraftforge.fml.common.ModAPIManager.manageAPI(ModAPIManager.java:232)
[19:47:57] [main/WARN] [FML]: *  at net.minecraftforge.fml.common.Loader.loadMods(Loader.java:544)
[19:47:57] [main/WARN] [FML]: *  at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:227)
[19:47:57] [main/WARN] [FML]: *  at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:466)...
[19:47:57] [main/WARN] [FML]: ****************************************

Log File on paste.ee

commented

It has nothing to do with BWM being installed, Quark ships the API to work with one of our features when it is installed. I've noticed this message from AppleCore too, I am not sure how to fix it but it seems harmless

commented

Outside of my own code, I generally ignore warnings - until I see errors that do not indicate the source of the error.

However, this warning contains strong language: "THIS WILL NOT WORK!". I'm guessing that if there is an incompatible class loader, there is probably a class loader that IS compatible. Since I'm not a Java programmer and have not dug into the Minecraft code or various Mod's code, I don't know where to find such a class loader.

commented

Well, (please know that I can hardly read java), if it is loading from an incorrect class loader... What other class loaders could load it? And out of those other classes where could this fit.

And since FML is who gives this error, could someone ask them?

commented

Shouldn't the api be under src/api/java, not src/main/java? I think this is the error.