Closed lcarss closed 2 years ago
I sadly can only try it with OpenJDK 15 right now, and cannot reproduce your issue. I fear that this will have to wait until AdoptOpenJDK is packaged in the relevant versions in some major Linux distributions.
I kind of lost track of the Java ecosystem, but it seems that there is a growing gap between OpenJDK and AdoptOpenJDK? Could you please try installing your Java from https://jdk.java.net/16/ ?
I have also an issue now with the same version in openJDK:
java -version
openjdk version "16.0.1" 2021-04-20
OpenJDK Runtime Environment 21.3 (build 16.0.1+9)
OpenJDK 64-Bit Server VM 21.3 (build 16.0.1+9, mixed mode, sharing)
ava.lang.NullPointerException: Cannot read field "pins" because "helper" is null
at de.piegames.blockmap.world.RegionFolder$SavedRegionFolder.<init>(RegionFolder.java:293)
at de.piegames.blockmap.world.RegionFolder$LocalRegionFolder.<init>(RegionFolder.java:355)
at de.piegames.blockmap.world.RegionFolder$CachedRegionFolder.<init>(RegionFolder.java:442)
at de.piegames.blockmap.world.RegionFolder$CachedRegionFolder.create(RegionFolder.java:551)
at de.piegames.blockmap.standalone.CommandLineMain$CommandRender.call(CommandLineMain.java:236)
at de.piegames.blockmap.standalone.CommandLineMain$CommandRender.call(CommandLineMain.java:113)
at picocli.CommandLine.executeUserObject(CommandLine.java:1933)
at picocli.CommandLine.access$1100(CommandLine.java:145)
at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2332)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2326)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2291)
at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2159)
at picocli.CommandLine.execute(CommandLine.java:2058)
at de.piegames.blockmap.standalone.CommandLineMain.mainWithoutQuit(CommandLineMain.java:399)
at de.piegames.blockmap.standalone.CommandLineMain.main(CommandLineMain.java:403)
@uncovery I gave it a shot. The stack trace does not look like it's the same issue. Also further information for proper reproduction are needed. Please open a new issue for this.
I receive the same error as the first post did on linux with openjdk-16.
I finally managed to get a working Java 16 setup and I can reproduce. This means as a workaround that using an older Java version should work around the issue.
Environment info
2.2.1
AdoptOpenJDK 16.0.1.9
Windows 10 20H2
Description
BlockMap crashes just after showing the splashscreen, without further notice. When running in the command-prompt, it shows "FATAL GuiMain [50] - Cannot start BlockMap", "javafx.fxml.LoadException".
Steps to reproduce
I tried to start the jar-File on Windows with several Java Versions (Oracle: 16, AdoptOpen: 16, 14, 12), also tried to start with admin privileges and everything in BlockMap version 2.2.0.
Actual result
The application always crashes with "FATAL GuiMain [50] - Cannot start BlockMap", "javafx.fxml.LoadException".
Debug log