Comments (5)
My latest commit fixes that.
from modernui.
I don't need the data gen so I passed it over, the data gen won't launch minecraft client so the crash. And what conditions does it crash on dedicated server?
from modernui.
I had ModernUI in my dev environment via this entry in my gradle dependencies:
runtimeOnly fg.deobf("curse.maven:modernui:3158102")
This works fine for running/debugging runClient
, but will crash with the above exception if runData
is used.
I get this exception when ModernUI is present on a dedicated server:
[15:06:26] [modloading-worker-6/FATAL] [ne.mi.fm.lo.RuntimeDistCleaner/DISTXFORM]: Attempted to load class icyllis/modernui/plugin/event/OpenMenuEvent for invalid dist DEDICATED_SERVER
[15:06:26] [modloading-worker-6/ERROR] [ne.mi.fm.ja.FMLModContainer/LOADING]: Failed to create mod instance. ModID: modernui, class icyllis.modernui.system.ModernUI
java.lang.RuntimeException: Attempted to load class icyllis/modernui/plugin/event/OpenMenuEvent for invalid dist DEDICATED_SERVER
at net.minecraftforge.fml.loading.RuntimeDistCleaner.processClassWithFlags(RuntimeDistCleaner.java:71) ~[forge-1.16.4-35.0.18.jar:35.0] {}
at cpw.mods.modlauncher.LaunchPluginHandler.offerClassNodeToPlugins(LaunchPluginHandler.java:85) ~[modlauncher-8.0.6.jar:?] {}
at cpw.mods.modlauncher.ClassTransformer.transform(ClassTransformer.java:119) ~[modlauncher-8.0.6.jar:?] {}
at cpw.mods.modlauncher.TransformingClassLoader$DelegatedClassLoader.findClass(TransformingClassLoader.java:265) ~[modlauncher-8.0.6.jar:?] {}
at cpw.mods.modlauncher.TransformingClassLoader.loadClass(TransformingClassLoader.java:136) ~[modlauncher-8.0.6.jar:?] {re:classloading}
at cpw.mods.modlauncher.TransformingClassLoader.loadClass(TransformingClassLoader.java:98) ~[modlauncher-8.0.6.jar:?] {re:classloading}
at java.lang.ClassLoader.loadClass(ClassLoader.java:351) ~[?:1.8.0_275] {}
at java.lang.Class.getDeclaredMethods0(Native Method) ~[?:1.8.0_275] {}
at java.lang.Class.privateGetDeclaredMethods(Class.java:2701) ~[?:1.8.0_275] {}
at java.lang.Class.privateGetPublicMethods(Class.java:2902) ~[?:1.8.0_275] {}
at java.lang.Class.getMethods(Class.java:1615) ~[?:1.8.0_275] {}
at net.minecraftforge.eventbus.EventBus.registerClass(EventBus.java:75) ~[eventbus-3.0.5-service.jar:?] {}
at net.minecraftforge.eventbus.EventBus.register(EventBus.java:118) ~[eventbus-3.0.5-service.jar:?] {}
at icyllis.modernui.system.ModernUI.<init>(ModernUI.java:66) ~[modernui:1.16.4-2.3.0.69] {re:classloading}
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_275] {}
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_275] {}
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_275] {}
at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_275] {}
at java.lang.Class.newInstance(Class.java:442) ~[?:1.8.0_275] {}
at net.minecraftforge.fml.javafmlmod.FMLModContainer.constructMod(FMLModContainer.java:81) ~[forge:35.0] {re:classloading}
at net.minecraftforge.fml.ModContainer.lambda$buildTransitionHandler$4(ModContainer.java:120) ~[forge:?] {re:classloading}
at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1640) [?:1.8.0_275] {}
at java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1632) [?:1.8.0_275] {}
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) [?:1.8.0_275] {}
at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056) [?:1.8.0_275] {}
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692) [?:1.8.0_275] {}
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:175) [?:1.8.0_275] {}
from modernui.
It seems that gradle cache not updated, the crash was already fixed in 2.3.2
from modernui.
You're right, my apologies. 2.3.2.71 is loading fine for me.
The runData
issue stands, though. While it's not a show-stopper, it's a pain to need to remove ModernUI from my dev environment if/when need to do a datagen run...
from modernui.
Related Issues (20)
- Is there any way to play this in 1.19.4 for fabric? HOT 1
- [Question] 告示牌字體(繁中) Sign text HOT 2
- [Bug] crashed while opening the statistics screen with Better Statistics Screen HOT 1
- [Bug][1.18.2] When using [Glow Ink Sac] on a [Sign] with black text, it can cause the text on the sign to not glow. HOT 6
- [Bug] Non-critical error on exiting the game with 'X', mod conflict HOT 3
- [Bug] Rendering issue with No Chat Reports HOT 2
- [Suggestion] 建议增加装备工具提示边框颜色配置 HOT 5
- only UI scale 2 and 3 Work And 2 is too small and 3 is too big HOT 3
- [Bug] 1.20.4 support [Fabric] HOT 3
- [Bug] 1.20.1 点击创建世界按钮时,游戏崩溃
- [Bug] ContextMenu偏离鼠标点击处
- [Bug] 处于多人游戏的服务器列表时崩溃,发生空指针异常 HOT 2
- [Bug] 遇到锦致装饰路标时发生崩溃 HOT 1
- Text display bug when the "Rounded Corners" function is enabled HOT 6
- Bug with numbers text to the experience bar in 1.20.1 HOT 1
- [Bug?] 文本布局 默认字体行为选择”保留全部“或者”保留ASCII"时空格宽度被压缩 HOT 1
- [Bug] Not all font families within TTC/OTC are registered
- [Bug] 在将MUI作为模组开发前置时,进行数据生成出现会导致报错 HOT 2
- [Bug] 渲染问题 HOT 2
- [Bug] 某些情况会出现字体混乱? HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from modernui.