Nukkit
Nukkit copied to clipboard
NumberFormatException when running on a Linux kernel version with + in the name (6.6.13+bpo-amd64)
Expected Behavior
Nukkit should start up successfully without crashing on newer Linux versions (E.g Debian Bullseye), and kernel versions that contain + in the version name.
Actual Behavior
Nukkit will crash during startup with an error (NumberFormatException for input string "13+bpo") causing the process to exit.
Steps to Reproduce
- Start the nukkit-1.0-SNAPSHOT.jar snapshot with a Linux kernel that contains a + symbol (E.g 6.6.13+bpo-amd64)
- Observe the crash
Debug Information
- Logs: https://pastebin.com/XAy4J3EJ
- Nukkit version: 1.20.80 (Latest version git-86683f2)
Checklist:
- [X] I made sure there aren't duplicates of this report (Use Search)
- [X] I made sure I am using an up-to-date version of Nukkit
- [X] I Made sure the bug/error is not caused by a plugin