[COMPAT] Plugin does not load on MCPC+ for 1.5.2 #6

Open
opened 2025-05-14 08:22:08 +00:00 by Ghost · 6 comments
Ghost commented 2025-05-14 08:22:08 +00:00 (Migrated from codeberg.org)

I had no problem running this plugin with BukkitForge 1.4.7 but on MCPC+ for 1.5.2 it fails to load.

I tried both java 7 and 8. On java 8 all plugins fail to load with the same error ClassNotFoundException but on java 7 only RRDiscordBridge fails.
Online I read I need to use java 7 cause thats what the plugins were build against and that seems to be the case.

I used Oracle jdk7u80 on windows and Azul7 and Azul-8 on linux o test.

2025-05-14 08:14:14 [SEVERE] Could not load 'plugins/RRDiscordBridge-1.3.0.jar' in folder 'plugins'
org.bukkit.plugin.InvalidPluginException: java.lang.ClassNotFoundException: Failed to remap class io.github.dexrnzacattack.rrdiscordbridge.RRDiscordBridge
	at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:164)
	at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:307)
	at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:231)
	at org.bukkit.craftbukkit.v1_5_R3.CraftServer.loadPlugins(CraftServer.java:256)
	at cpw.mods.fml.common.event.FMLServerAboutToStartEvent.<init>(FMLServerAboutToStartEvent.java:30)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:527)
	at cpw.mods.fml.common.LoaderState.getEvent(LoaderState.java:84)
	at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:103)
	at cpw.mods.fml.common.Loader.serverAboutToStart(Loader.java:807)
	at cpw.mods.fml.common.FMLCommonHandler.handleServerAboutToStart(FMLCommonHandler.java:309)
	at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:212)
	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:588)
	at net.minecraft.server.ThreadMinecraftServer.run(SourceFile:573)
Caused by: java.lang.ClassNotFoundException: Failed to remap class io.github.dexrnzacattack.rrdiscordbridge.RRDiscordBridge
	at org.bukkit.plugin.java.PluginClassLoader.remappedFindClass(PluginClassLoader.java:448)
	at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:362)
	at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:338)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:430)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:363)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:278)
	at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:153)
	... 15 more
Caused by: java.lang.IllegalArgumentException
	at org.objectweb.asm.ClassReader.<init>(ClassReader.java:170)
	at org.objectweb.asm.ClassReader.<init>(ClassReader.java:153)
	at org.objectweb.asm.ClassReader.<init>(ClassReader.java:424)
	at net.md_5.specialsource.RemapperPreprocessor.preprocess(RemapperPreprocessor.java:83)
	at org.bukkit.plugin.java.PluginClassLoader.remappedFindClass(PluginClassLoader.java:404)
	... 22 more

If needed I can provide full logs and other files to replicate the issue.

I had no problem running this plugin with BukkitForge 1.4.7 but on MCPC+ for 1.5.2 it fails to load. I tried both java 7 and 8. On java 8 all plugins fail to load with the same error ClassNotFoundException but on java 7 only RRDiscordBridge fails. Online I read I need to use java 7 cause thats what the plugins were build against and that seems to be the case. I used Oracle jdk7u80 on windows and Azul7 and Azul-8 on linux o test. ``` 2025-05-14 08:14:14 [SEVERE] Could not load 'plugins/RRDiscordBridge-1.3.0.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.ClassNotFoundException: Failed to remap class io.github.dexrnzacattack.rrdiscordbridge.RRDiscordBridge at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:164) at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:307) at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:231) at org.bukkit.craftbukkit.v1_5_R3.CraftServer.loadPlugins(CraftServer.java:256) at cpw.mods.fml.common.event.FMLServerAboutToStartEvent.<init>(FMLServerAboutToStartEvent.java:30) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:527) at cpw.mods.fml.common.LoaderState.getEvent(LoaderState.java:84) at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:103) at cpw.mods.fml.common.Loader.serverAboutToStart(Loader.java:807) at cpw.mods.fml.common.FMLCommonHandler.handleServerAboutToStart(FMLCommonHandler.java:309) at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:212) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:588) at net.minecraft.server.ThreadMinecraftServer.run(SourceFile:573) Caused by: java.lang.ClassNotFoundException: Failed to remap class io.github.dexrnzacattack.rrdiscordbridge.RRDiscordBridge at org.bukkit.plugin.java.PluginClassLoader.remappedFindClass(PluginClassLoader.java:448) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:362) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:338) at java.lang.ClassLoader.loadClass(ClassLoader.java:430) at java.lang.ClassLoader.loadClass(ClassLoader.java:363) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:278) at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:153) ... 15 more Caused by: java.lang.IllegalArgumentException at org.objectweb.asm.ClassReader.<init>(ClassReader.java:170) at org.objectweb.asm.ClassReader.<init>(ClassReader.java:153) at org.objectweb.asm.ClassReader.<init>(ClassReader.java:424) at net.md_5.specialsource.RemapperPreprocessor.preprocess(RemapperPreprocessor.java:83) at org.bukkit.plugin.java.PluginClassLoader.remappedFindClass(PluginClassLoader.java:404) ... 22 more ``` If needed I can provide full logs and other files to replicate the issue.
Dexrn commented 2025-05-14 11:00:50 +00:00 (Migrated from codeberg.org)

Interesting... I'll take a look at this tomorrow, I also am not sure what MCPC+ is at the moment.

Interesting... I'll take a look at this tomorrow, I also am not sure what MCPC+ is at the moment.
Dexrn commented 2025-05-16 08:05:49 +00:00 (Migrated from codeberg.org)

Still haven't had enough time to take a look at this, oops! I did get to see what MCPC+ is, but I'm currently facing a few issues IRL that I would need to deal with first.

Still haven't had enough time to take a look at this, oops! I did get to see what MCPC+ is, but I'm currently facing a few issues IRL that I would need to deal with first.
Dexrn commented 2025-05-17 03:18:11 +00:00 (Migrated from codeberg.org)

@lerokko Okay so I think I'm gonna have to probably handle this when I do the codebase split, as that would lay the framework to fix this without extra hassle... I'm not sure when I'll get to the split though.

@lerokko Okay so I think I'm gonna have to probably handle this when I do the codebase split, as that would lay the framework to fix this without extra hassle... I'm not sure when I'll get to the split though.
Ghost commented 2025-05-18 13:21:42 +00:00 (Migrated from codeberg.org)

No rush. For the time being I am running forge only. MCPC+ is as I have learned the hybrid server of 1.5.2. It seems bukkitforge skipped that version. And due to Mojang updating the game quickly 1.5.2 most project did not receive major bugfixes for that version it seems.
MCPC+ is hard to get a hold of since afaik (like old bukkit) they distributed the full patched jar with Mojangs server code. So most mirrors have been taken down.
I know this is very specific edge case with a very old exotic jar file.

No rush. For the time being I am running forge only. MCPC+ is as I have learned the hybrid server of 1.5.2. It seems bukkitforge skipped that version. And due to Mojang updating the game quickly 1.5.2 most project did not receive major bugfixes for that version it seems. MCPC+ is hard to get a hold of since afaik (like old bukkit) they distributed the full patched jar with Mojangs server code. So most mirrors have been taken down. I know this is very specific edge case with a very old exotic jar file.
Dexrn commented 2025-05-19 03:34:09 +00:00 (Migrated from codeberg.org)

No rush. For the time being I am running forge only. MCPC+ is as I have learned the hybrid server of 1.5.2. It seems bukkitforge skipped that version. And due to Mojang updating the game quickly 1.5.2 most project did not receive major bugfixes for that version it seems. MCPC+ is hard to get a hold of since afaik (like old bukkit) they distributed the full patched jar with Mojangs server code. So most mirrors have been taken down. I know this is very specific edge case with a very old exotic jar file.

@lerokko It honestly might get fixed just as a side effect of the split as I would likely be adding compat for both forge and fabric...
Pretty sad that most JARs are lost though (it sounds like)

> No rush. For the time being I am running forge only. MCPC+ is as I have learned the hybrid server of 1.5.2. It seems bukkitforge skipped that version. And due to Mojang updating the game quickly 1.5.2 most project did not receive major bugfixes for that version it seems. MCPC+ is hard to get a hold of since afaik (like old bukkit) they distributed the full patched jar with Mojangs server code. So most mirrors have been taken down. I know this is very specific edge case with a very old exotic jar file. @lerokko It honestly might get fixed just as a side effect of the split as I would likely be adding compat for both forge and fabric... Pretty sad that most JARs are lost though (it sounds like)
Ghost commented 2025-05-19 09:30:00 +00:00 (Migrated from codeberg.org)

I have found a download archive that is still up as the time of writing this. I am not sure if its supposed to be publicly accessible but the website/community seem to be a legitimate group and the files do to appear to be infected with malware. I have ran those files myself on my own computer but I can obviously give no grantee. Their filenames are the "original" but there is no original checksum one could compare them against to verify. I found that the link deep in some random dead discord server. I do not remember which.
Sadly those are all compiled jars. So no source code.
https:// apocgaming.net /repo/
This repo is quite the treasure trove.

FYI I have also read in some old forum that a lot of plugins were broken/incompatible with MCPC+ for 1.5.2 and were probably not fixed in/for that version. So this is probably less a problem with you plugin but more an issue with plugin only touching the bit of the api that work on this server-fork. But that is just a guess.

I have found a download archive that is still up as the time of writing this. I am not sure if its supposed to be publicly accessible but the website/community seem to be a legitimate group and the files do to appear to be infected with malware. I have ran those files myself on my own computer but I can obviously give no grantee. Their filenames are the "original" but there is no original checksum one could compare them against to verify. I found that the link deep in some random dead discord server. I do not remember which. Sadly those are all compiled jars. So no source code. https:// apocgaming.net /repo/ This repo is quite the treasure trove. FYI I have also read in some old forum that a lot of plugins were broken/incompatible with MCPC+ for 1.5.2 and were probably not fixed in/for that version. So this is probably less a problem with you plugin but more an issue with plugin only touching the bit of the api that work on this server-fork. But that is just a guess.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Nostalgica-Reverie/RRDiscordBridge#6
No description provided.