-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
Installing to folder without proper write permissions gives non-sensical logger error #31
Comments
@AnToniceQ please upload the installer log, which can be found in the directory the installer is in, with the same file name as the installer, but with |
Dang! Should have done that in the first place. Here is the log that I recreated today: neoforge-21.0.146-installer.jar.log EDIT: Now that I think of it, I probably opened this issue in a wrong repo. Should I move this issue to https://github.com/neoforged/LegacyInstaller/ ? |
Confirmed. The root cause is not with the fact that the installer is trying to install to a non-existent directory -- it is able to do so by my testing, for example with a directory of Rather, the root cause is that the installer is told to install to a folder which the current user has no permissions to write to. By default, Therefore, the actual issue here is that the installer is giving a non-sensical error of the logger being (Additionally, the installer code for running headless fails to log the exception which causes the installer to ultimately fail, which made reproducing this issue require a graphical environment.) |
The NeoForge jar installer throws a NullPointerException when a inaccessible folder is inputted.
In this specific example, I tried to install a NeoForge server to /home/jjjjjjj/NeoForgeServer, where jjjjjjj is not a valid user. The issue has been tested only in this specific use case and there may exist more ways to obtain this exception.
Found on system: 22.04.1-Ubuntu
Using installer: neoforge-21.0.146
The text was updated successfully, but these errors were encountered: