ImageFrame icon indicating copy to clipboard operation
ImageFrame copied to clipboard

[MohistMC 1.20.1] ImageFrame v1.8.2.0 fails to initialize – Unable to find PlatformScheduler implementation

Open kitamaruramito opened this issue 7 months ago • 3 comments

Server Environment

Server Type: MohistMC (Forge + Bukkit hybrid)

Forge Version: 1.20.1-47.4.0-universal

ImageFrame Version: 1.8.2.0

Minecraft Version: 1.20.1

What Happened When starting the server with ImageFrame installed, the plugin enters its onEnable() phase but throws an exception and immediately disables itself. As a result, none of the /imageframe commands are available in-game.

Relevant Console Output

[14:24:47] [Server thread/INFO] [com.mohistmc.MohistMC]: Enabling ImageFrame v1.8.2.0 [14:24:48] [Server thread/ERROR] [com.mohistmc.MohistMC]: Error occurred while enabling ImageFrame v1.8.2.0 (Is it up to date?) java.lang.ExceptionInInitializerError: null at com.loohp.imageframe.objectholders.ImageMapManager.(ImageMapManager.java:96) at com.loohp.imageframe.ImageFrame.onEnable(ImageFrame.java:325) ... Caused by: java.lang.IllegalArgumentException: Unable to find suitable implementation of PlatformScheduler at com.loohp.interactivechat.libs.com.loohp.platformscheduler.Scheduler.initializePlatformScheduler(Scheduler.java:66) at com.loohp.interactivechat.libs.com.loohp.platformscheduler.Scheduler.(Scheduler.java:42) ... 13 more [14:24:48] [Server thread/INFO] [com.loohp.imageframe.ImageFrame]: [ImageFrame] Disabling ImageFrame v1.8.2.0 Steps to Reproduce

Download and run Mohist Minecraft server.

Place ImageFrame-1.8.2.0.jar in the plugins/ folder.

Start the server and observe the console logs.

Expected Behavior ImageFrame should successfully register its scheduler and enable all commands. The console should show something like:

[ImageFrame] Enabling ImageFrame v1.8.2.0 [ImageFrame] ImageFrame has been enabled successfully. Actual Behavior Plugin fails to find a PlatformScheduler implementation, throws IllegalArgumentException, and disables itself immediately.

Additional Notes

This issue does not occur on a standard Paper or Spigot 1.20.1 server.

It appears MohistMC’s Bukkit API layer does not include a compatible implementation for the PlatformScheduler used by InteractiveChat/ImageFrame.

Request

Could you advise whether MohistMC compatibility will be officially supported in a future release?

Are there any known workarounds or configuration changes to supply a valid PlatformScheduler under MohistMC?

kitamaruramito avatar May 13 '25 06:05 kitamaruramito

+1 same problem

Dos7t3r avatar Jun 20 '25 01:06 Dos7t3r

Can you paste your complete server startup logs for a closer look?

(Just a reminder that hybrid servers are not officially supported)

LOOHP avatar Jun 20 '25 07:06 LOOHP

I am receiving the same issue for 1.8.4.0 on MC 1.21.7

Enderbyte09 avatar Jul 06 '25 00:07 Enderbyte09