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

lag for about 3s every time when you quit game #742

Open
acaciachan opened this issue Jun 14, 2024 · 1 comment
Open

lag for about 3s every time when you quit game #742

acaciachan opened this issue Jun 14, 2024 · 1 comment
Labels
bug A problem with the project

Comments

@acaciachan
Copy link

[15:15:54] [Worker-Main-1/ERROR]: Error checking for updates:
java.lang.InterruptedException: null
at java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:386) ~[?:?]
at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2073) ~[?:?]
at jdk.internal.net.http.HttpClientImpl.send(HttpClientImpl.java:553) ~[java.net.http:?]
at jdk.internal.net.http.HttpClientFacade.send(HttpClientFacade.java:123) ~[java.net.http:?]
at com.terraformersmc.modmenu.util.ModrinthUtil.lambda$checkForUpdates$4(ModrinthUtil.java:81) ~[modmenu-7.2.2.jar:?]
at java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1395) ~[?:?]
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) ~[?:?]
at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) ~[?:?]
at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) ~[?:?]
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) ~[?:?]
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) ~[?:?]

@acaciachan
Copy link
Author

acaciachan commented Jul 2, 2024

in 1.21 this also happened

[17:52:55] [ModMenu/Update Checker/1/ERROR]: Error checking for versions:
java.lang.InterruptedException: null
at java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:386) ~[?:?]
at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2073) ~[?:?]
at java.net.http/jdk.internal.net.http.HttpClientImpl.send(HttpClientImpl.java:935) ~[java.net.http:?]
at java.net.http/jdk.internal.net.http.HttpClientFacade.send(HttpClientFacade.java:133) ~[java.net.http:?]
at com.terraformersmc.modmenu.util.HttpUtil.request(HttpUtil.java:24) ~[modmenu-11.0.1.jar:?]
at com.terraformersmc.modmenu.util.UpdateCheckerUtil.getCurrentVersions(UpdateCheckerUtil.java:180) ~[modmenu-11.0.1.jar:?]
at com.terraformersmc.modmenu.util.UpdateCheckerUtil.lambda$checkForUpdates0$1(UpdateCheckerUtil.java:87) ~[modmenu-11.0.1.jar:?]
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317) ~[?:?]
at java.base/java.lang.VirtualThread.run(VirtualThread.java:329) ~[?:?]
[17:52:55] [ModMenu/Update Checker/2/ERROR]: Error checking for updates:
java.lang.InterruptedException: null
at java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:386) ~[?:?]
at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2073) ~[?:?]
at java.net.http/jdk.internal.net.http.HttpClientImpl.send(HttpClientImpl.java:935) ~[java.net.http:?]
at java.net.http/jdk.internal.net.http.HttpClientFacade.send(HttpClientFacade.java:133) ~[java.net.http:?]
at com.terraformersmc.modmenu.util.HttpUtil.request(HttpUtil.java:24) ~[modmenu-11.0.1.jar:?]
at com.terraformersmc.modmenu.util.UpdateCheckerUtil.getUpdatedVersions(UpdateCheckerUtil.java:256) ~[modmenu-11.0.1.jar:?]
at com.terraformersmc.modmenu.util.UpdateCheckerUtil.lambda$checkForUpdates0$2(UpdateCheckerUtil.java:88) ~[modmenu-11.0.1.jar:?]
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317) ~[?:?]
at java.base/java.lang.VirtualThread.run(VirtualThread.java:329) ~[?:?]

@haykam821 haykam821 added the bug A problem with the project label Jul 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A problem with the project
Projects
None yet
Development

No branches or pull requests

2 participants