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

[1.20.1] Cannot setup a new server #3036

Closed
nschudlo opened this issue Mar 29, 2024 · 1 comment
Closed

[1.20.1] Cannot setup a new server #3036

nschudlo opened this issue Mar 29, 2024 · 1 comment

Comments

@nschudlo
Copy link

Minecraft Version : 1.20.1

Mohist Version : 603

Operating System : Windows 10

Mod list : None

Plugin list : None

Description of issue :
When following the instructions to start a new server on the 'Install Mohist on Windows' page, I run into an issue almost immediately:

 ███╗   ███╗  ██████╗  ██╗  ██╗ ██╗ ███████╗ ████████╗
 ████╗ ████║ ██╔═══██╗ ██║  ██║ ██║ ██╔════╝ ╚══██╔══╝
 ██╔████╔██║ ██║   ██║ ███████║ ██║ ███████╗    ██║
 ██║╚██╔╝██║ ██║   ██║ ██╔══██║ ██║ ╚════██║    ██║
 ██║ ╚═╝ ██║ ╚██████╔╝ ██║  ██║ ██║ ███████║    ██║
 ╚═╝     ╚═╝  ╚═════╝  ╚═╝  ╚═╝ ╚═╝ ╚══════╝    ╚═╝

Thanks for using Mohist - 1.20.1-639, Java(17.0.10) 61.0 PID: 22284
Update in check...
If you don't want to enable update check, set check_update in mohist-config/mohist.yml to false
No update found, latest version: (639) current version: (639)
Checking libraries, please wait...
DownloadSource: MOHISTMC
Download percentage:
Exception in thread "main" java.lang.NullPointerException: Cannot invoke "java.lang.Boolean.booleanValue()" because "this.jna" is null
        at org.jline.terminal.TerminalBuilder.doBuild(TerminalBuilder.java:443)
        at org.jline.terminal.TerminalBuilder.build(TerminalBuilder.java:362)
        at me.tongfei.progressbar.TerminalUtils.getTerminal(TerminalUtils.java:83)
        at me.tongfei.progressbar.TerminalUtils.hasCursorMovementSupport(TerminalUtils.java:37)
        at me.tongfei.progressbar.Util.createConsoleConsumer(Util.java:30)
        at me.tongfei.progressbar.Util.createConsoleConsumer(Util.java:22)
        at me.tongfei.progressbar.ProgressBarBuilder.build(ProgressBarBuilder.java:136)
        at com.mohistmc.libraries.LibrariesDownloadQueue.progressBar(LibrariesDownloadQueue.java:124)
        at com.mohistmc.feature.DefaultLibraries.run(DefaultLibraries.java:50)
        at com.mohistmc.MohistMCStart.main(MohistMCStart.java:77)
@nschudlo nschudlo changed the title Cannot setup a new server [1.20.1] Cannot setup a new server Mar 29, 2024
@nschudlo
Copy link
Author

nschudlo commented Mar 29, 2024

This seems related jline/jline3#930, and looks like it was fixed in 3.25.1

@Mgazul Mgazul closed this as completed in 61f653f Mar 30, 2024
Mgazul added a commit that referenced this issue Mar 30, 2024
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

1 participant