broken configs can cause UI to silently fail
Following the java -jar instructions in README.md does not work as expected for any release in the past year or so. None of the artifacts past version 2.0 launch the user interface.
Using java -jar enigma-swing-all.jar:
-
1.X: Works as expected -
2.0: Crashes with IOOBE inorg.quiltmc.enigma.gui.config.Config.getMostRecentProject(Config.java:131) -
2.1+: Creates an empty window that can't be interacted with (Can't maximize, bring to front, has no title, has no preview when hovering over the windows dock bar icon)
I've tried launching with Java 17 and 21 but there is no change in behavior. Is there some additional requirement not outlined in the README.md ?
i'll look into this, thanks for reporting!
unfortunately working fine. let me try clearing my config
still cannot reproduce. UI is fully functional using java 21 and the latest build off master (https://github.com/QuiltMC/enigma/commit/bd1defafe2c9daec68f4b4a0c9104cef6f81c791), launching with an empty config on arch linux. can you provide some system details?
let me try clearing my config
That solved my issue, I guess upgrading from some old version I used previously got something stuck.
The contents of my config folder are here: enigma.zip (AppData/Local/Enigma)
The empty window I mentioned before has no main thread, and the swing threads are all parked. Not sure what happened to cause that, but having some console output for any errors would probably be beneficial.
thanks! i'll make sure to get that config fixed.