
[Bug] Interplanar Projector URLs always time out
Xmoe opened this issue ยท 0 comments
Description
When attempting to import a picture from a URL using the Interplanar Projector, it always (or at least when using a valid URL) fails with a timeout. To verify this, I also tried using the command /exposure load {projection:{path:"https://i.imgflip.com/5ngrki.png"}}
(Warning: Rickroll)
The following error is logged afterwards:
Error Message in log
[22:31:07] [ForkJoinPool.commonPool-worker-15/INFO] [io.gi.mo.ex.cl.ca.ta.UrlCaptureTask/]: Attempting to load image from URL: 'https://i.imgflip.com/5ngrki.png'
[22:31:12] [CompletableFutureDelayScheduler/ERROR] [io.gi.mo.ex.Exposure/]: Cannot load from url: timed out.
[22:31:12] [CompletableFutureDelayScheduler/ERROR] [io.gi.mo.ex.cl.ca.te.PathCaptureTemplate/]: Cannot load from url: timed out.
[22:31:12] [CompletableFutureDelayScheduler/ERROR] [io.gi.mo.ex.cl.ca.te.PathCaptureTemplate/]: Some error occurred. See logs for details.
[22:31:12] [CompletableFutureDelayScheduler/ERROR] [io.gi.mo.ex.Exposure/]: Task threw an exception:
java.util.concurrent.CompletionException: io.github.mortuusars.exposure.util.cycles.task.TaskStoppedException
at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315) ~[?:?] {}
at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320) ~[?:?] {}
at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:649) ~[?:?] {}
at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510) ~[?:?] {}
at java.base/java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2179) ~[?:?] {}
at TRANSFORMER/[email protected]/io.github.mortuusars.exposure.client.capture.Capture.lambda$capture$3(Capture.java:79) ~[exposure-neoforge-1.21.1-1.8.11.jar%23171!/:?] {re:classloading}
at java.base/java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:718) ~[?:?] {}
at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510) ~[?:?] {}
at java.base/java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2179) ~[?:?] {}
at java.base/java.util.concurrent.CompletableFuture$DelayedCompleter.run(CompletableFuture.java:2931) ~[?:?] {}
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572) ~[?:?] {}
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317) ~[?:?] {}
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304) ~[?:?] {}
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?] {}
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?] {}
at java.base/java.lang.Thread.run(Thread.java:1583) [?:?] {}
Caused by: io.github.mortuusars.exposure.util.cycles.task.TaskStoppedException
at TRANSFORMER/[email protected]/io.github.mortuusars.exposure.util.cycles.task.HandleErrorTask.lambda$execute$1(HandleErrorTask.java:29) ~[exposure-neoforge-1.21.1-1.8.11.jar%23171!/:?] {re:classloading}
at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:646) ~[?:?] {}
... 13 more
Setup for the bug
To verify this behaviour, I am only using
- Minecraft 1.21.1
- NeoForge 21.1.139
- Exposure 1.8.11