QuiltMC / quilt-loader

The loader for Quilt mods.
Apache License 2.0
466 stars 86 forks source link

Dynmap crashes on server startup #328

Open DrSawickipedia opened 1 year ago

DrSawickipedia commented 1 year ago

I'm having an issue when trying to load the most recent Dynmap (3.6-beta2-fabric-1.20) using Quilt 0.19.1 on MC 1.20.1. I saw that this was an issue in the past, and added -Dloader.workaround.jar_copied_mods=dynmap to my startup arguments, but I still crashed (with the log/crash report for this attached). If I don't include that line (or include another name besides dynmap, like minecraft), then it crashes much earlier with the error: java.lang.RuntimeException: Could not execute entrypoint stage 'main' due to errors, provided by 'dynmap'!

Other notes:

latest.log: https://mclo.gs/6q4xt4b crash report: https://mclo.gs/4xso0Kp

I originally asked this question on the Quilt Discord, and was told to report it here

AlexIIL commented 1 year ago

Dynmap expects all mods to be available as Files, which is why the workaround doesn't work - you'd need to list every single mod ID. Since that's obviously unreasonable I'll add another workaround option to jar-copy all mods. Ideally though this would be fixed in dynmap (they should be able to use the Path api instead), but I'm unsure of how many changes they would need to make internally.