CinemaMod / mcef

A Minecraft mod and library for adding the Chromium web browser into the game (Minecraft Chromium Embedded Framework)
GNU Lesser General Public License v2.1
74 stars 24 forks source link

Chromium Embedded Framework was never initialized. #84

Open LIUKRAST opened 7 months ago

LIUKRAST commented 7 months ago

I'm getting this error spammed in console when joining a server with WebDisplays

java.lang.RuntimeException: Chromium Embedded Framework was never initialized.
    at com.cinemamod.mcef.MCEF.assertInitialized(MCEF.java:183) ~[mcef-forge-2.1.4-1.20.1.jar%23286!/:2.1.4-1.20.1] {re:mixin,re:classloading}
    at com.cinemamod.mcef.MCEF.createBrowser(MCEF.java:137) ~[mcef-forge-2.1.4-1.20.1.jar%23286!/:2.1.4-1.20.1] {re:mixin,re:classloading}
    at net.montoyo.wd.entity.TileEntityScreen$Screen.createBrowser(TileEntityScreen.java:228) ~[webdisplays-2.0.1-1.20.1.jar%23313!/:2.0.1-1.20.1] {re:classloading}
    at net.montoyo.wd.entity.TileEntityScreen.handleUpdateTag(TileEntityScreen.java:308) ~[webdisplays-2.0.1-1.20.1.jar%23313!/:2.0.1-1.20.1] {re:classloading}
    at net.minecraft.world.level.chunk.LevelChunk.m_187967_(LevelChunk.java:466) ~[client-1.20.1-20230612.114412-srg.jar%23314!/:?] {re:mixin,re:classloading,pl:mixin:APP:moonlight-common.mixins.json:LevelChunkMixin,pl:mixin:APP:flywheel.mixins.json:instancemanage.InstanceAddMixin,pl:mixin:A}
    at net.minecraft.network.protocol.game.ClientboundLevelChunkPacketData.m_195674_(ClientboundLevelChunkPacketData.java:107) ~[client-1.20.1-20230612.114412-srg.jar%23314!/:?] {re:classloading}
    at net.minecraft.network.protocol.game.ClientboundLevelChunkPacketData.m_195660_(ClientboundLevelChunkPacketData.java:96) ~[client-1.20.1-20230612.114412-srg.jar%23314!/:?] {re:classloading}
    at net.minecraft.world.level.chunk.LevelChunk.m_187971_(LevelChunk.java:463) ~[client-1.20.1-20230612.114412-srg.jar%23314!/:?] {re:mixin,re:classloading,pl:mixin:APP:moonlight-common.mixins.json:LevelChunkMixin,pl:mixin:APP:flywheel.mixins.json:instancemanage.InstanceAddMixin,pl:mixin:A}
    at net.minecraft.client.multiplayer.ClientChunkCache.m_194116_(ClientChunkCache.java:112) ~[client-1.20.1-20230612.114412-srg.jar%23314!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:A,pl:runtimedistcleaner:A}
    at net.minecraft.client.multiplayer.ClientPacketListener.m_194198_(ClientPacketListener.java:714) ~[client-1.20.1-20230612.114412-srg.jar%23314!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:A,pl:runtimedistcleaner:A}
    at net.minecraft.client.multiplayer.ClientPacketListener.m_183388_(ClientPacketListener.java:678) ~[client-1.20.1-20230612.114412-srg.jar%23314!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:A,pl:runtimedistcleaner:A}
    at net.minecraft.network.protocol.game.ClientboundLevelChunkWithLightPacket.m_5797_(ClientboundLevelChunkWithLightPacket.java:45) ~[client-1.20.1-20230612.114412-srg.jar%23314!/:?] {re:mixin,re:classloading}
    at net.minecraft.network.protocol.game.ClientboundLevelChunkWithLightPacket.m_5797_(ClientboundLevelChunkWithLightPacket.java:12) ~[client-1.20.1-20230612.114412-srg.jar%23314!/:?] {re:mixin,re:classloading}
    at net.minecraft.network.protocol.PacketUtils.m_263899_(PacketUtils.java:22) ~[client-1.20.1-20230612.114412-srg.jar%23314!/:?] {re:classloading}
    at net.minecraft.util.thread.BlockableEventLoop.m_6367_(BlockableEventLoop.java:156) ~[client-1.20.1-20230612.114412-srg.jar%23314!/:?] {re:mixin,pl:accesstransformer:B,re:computing_frames,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B}
    at net.minecraft.util.thread.ReentrantBlockableEventLoop.m_6367_(ReentrantBlockableEventLoop.java:23) ~[client-1.20.1-20230612.114412-srg.jar%23314!/:?] {re:mixin,re:computing_frames,re:classloading}
    at net.minecraft.util.thread.BlockableEventLoop.m_7245_(BlockableEventLoop.java:130) ~[client-1.20.1-20230612.114412-srg.jar%23314!/:?] {re:mixin,pl:accesstransformer:B,re:computing_frames,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B}
    at net.minecraft.util.thread.BlockableEventLoop.m_18699_(BlockableEventLoop.java:115) ~[client-1.20.1-20230612.114412-srg.jar%23314!/:?] {re:mixin,pl:accesstransformer:B,re:computing_frames,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B}
    at net.minecraft.client.Minecraft.m_91383_(Minecraft.java:1106) ~[client-1.20.1-20230612.114412-srg.jar%23314!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:A,pl:runtimedistcleaner:A}
    at net.minecraft.client.Minecraft.m_91374_(Minecraft.java:718) ~[client-1.20.1-20230612.114412-srg.jar%23314!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:A,pl:runtimedistcleaner:A}
    at net.minecraft.client.main.Main.main(Main.java:218) ~[minecraft-1.20.1-client.jar:?] {re:mixin,pl:runtimedistcleaner:A,re:classloading,pl:mixin:APP:notenoughcrashes.forge.mixins.json:client.MixinMain,pl:mixin:APP:flywheel.mixins.json:ClientMainMixin,pl:mixin:A,pl:runtimedistcleaner:A}
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] {}
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?] {}
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] {}
    at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?] {}
    at net.minecraftforge.fml.loading.targets.CommonLaunchHandler.runTarget(CommonLaunchHandler.java:111) ~[fmlloader-1.20.1-47.2.21.jar:?] {}
    at net.minecraftforge.fml.loading.targets.CommonLaunchHandler.clientService(CommonLaunchHandler.java:99) ~[fmlloader-1.20.1-47.2.21.jar:?] {}
    at net.minecraftforge.fml.loading.targets.CommonClientLaunchHandler.lambda$makeService$0(CommonClientLaunchHandler.java:25) ~[fmlloader-1.20.1-47.2.21.jar:?] {}
    at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:30) ~[modlauncher-10.0.9.jar:?] {}
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) ~[modlauncher-10.0.9.jar:?] {}
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) ~[modlauncher-10.0.9.jar:?] {}
    at cpw.mods.modlauncher.Launcher.run(Launcher.java:108) ~[modlauncher-10.0.9.jar:?] {}
    at cpw.mods.modlauncher.Launcher.main(Launcher.java:78) ~[modlauncher-10.0.9.jar:?] {}
    at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) ~[modlauncher-10.0.9.jar:?] {}
    at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) ~[modlauncher-10.0.9.jar:?] {}
    at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:141) ~[bootstraplauncher-1.1.2.jar:?] {}
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] {}
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?] {}
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] {}
    at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?] {}
    at io.github.zekerzhayard.forgewrapper.installer.Main.main(Main.java:67) ~[?:?] {}
    at org.prismlauncher.launcher.impl.StandardLauncher.launch(StandardLauncher.java:87) ~[?:?] {}
    at org.prismlauncher.EntryPoint.listen(EntryPoint.java:129) ~[?:?] {}
    at org.prismlauncher.EntryPoint.main(EntryPoint.java:70) ~[?:?] {}

Playing on forge 1.20.1

starmarc commented 2 months ago

ever find a fix?

ds58 commented 2 months ago

What's your setup?

LIUKRAST commented 2 months ago

Launcher is PrismMC My GPU is an Nvidia RTX 3060Ti FE My OS is Windows 10