Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NumberFormatException when running on a Linux kernel version with + in the name (6.6.13+bpo-amd64) #2178

Open
3 tasks done
TheFlash787 opened this issue May 8, 2024 · 3 comments

Comments

@TheFlash787
Copy link

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

Checklist:

  • I made sure there aren't duplicates of this report (Use Search)
  • I made sure I am using an up-to-date version of Nukkit
  • I Made sure the bug/error is not caused by a plugin
@PetteriM1
Copy link
Collaborator

Can you test if the issue exists on leveldb branch builds as those use a newer version of Raknet library? #2175

@TheFlash787
Copy link
Author

Hey @PetteriM1, we'll test this and I'll get back to you soon. Thanks for the response

@TheFlash787
Copy link
Author

@PetteriM1 That fixes the issue.

Our aim is to provide all major versions of Nukkit to our customers as server types in server hosting. However based on this, we'll only be able to support the newer versions of Nukkit only.

I assume there's not too much we can do about this, and our only other option is to move the kernel to a standard version?

Thanks so much

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants