Cannot use multiple instances simultaneously #68

Open
opened 2024-05-06 11:23:30 +03:00 by Madis0 · 0 comments
Contributor

This log occurs on console upon a try:

[10:19:09] [Thread-13/ERROR]: Uncaught exception in thread "Thread-13"
java.lang.UnsatisfiedLinkError: failed to load the required native library
	at io.netty.incubator.codec.quic.Quic.ensureAvailability(Quic.java:78) ~[e4mc-4.0.1+1.19.4-fabric.jar:?]
	at io.netty.incubator.codec.quic.QuicheQuicSslContext.<init>(QuicheQuicSslContext.java:75) ~[e4mc-4.0.1+1.19.4-fabric.jar:?]
	at io.netty.incubator.codec.quic.QuicSslContextBuilder.build(QuicSslContextBuilder.java:374) ~[e4mc-4.0.1+1.19.4-fabric.jar:?]
	at vg.skye.e4mc_minecraft.QuiclimeHandler.start(QuiclimeHandler.kt:198) ~[e4mc-4.0.1+1.19.4-fabric.jar:?]
	at vg.skye.e4mc_minecraft.QuiclimeHandler$startAsync$1.invoke(QuiclimeHandler.kt:176) ~[e4mc-4.0.1+1.19.4-fabric.jar:?]
	at vg.skye.e4mc_minecraft.QuiclimeHandler$startAsync$1.invoke(QuiclimeHandler.kt:175) ~[e4mc-4.0.1+1.19.4-fabric.jar:?]
	at kotlin.concurrent.ThreadsKt$thread$thread$1.run(Thread.kt:30) ~[org_jetbrains_kotlin_kotlin-stdlib-1.9.23-29bb1b816a312d60.jar:?]
Caused by: java.lang.ExceptionInInitializerError
	at io.netty.incubator.codec.quic.Quic.<clinit>(Quic.java:43) ~[e4mc-4.0.1+1.19.4-fabric.jar:?]
	... 6 more
Caused by: java.lang.RuntimeException: java.io.FileNotFoundException: C:\Users\Madis\.e4mc_cache\netty_quiche_windows_x86_64_49.dll (The process cannot access the file because it is being used by another process)
	at io.netty.incubator.codec.quic.Quiche.loadNativeLibrary(Quiche.java:98) ~[e4mc-4.0.1+1.19.4-fabric.jar:?]
	at io.netty.incubator.codec.quic.Quiche.<clinit>(Quiche.java:61) ~[e4mc-4.0.1+1.19.4-fabric.jar:?]
	at io.netty.incubator.codec.quic.Quic.<clinit>(Quic.java:43) ~[e4mc-4.0.1+1.19.4-fabric.jar:?]
	... 6 more
Caused by: java.io.FileNotFoundException: C:\Users\Madis\.e4mc_cache\netty_quiche_windows_x86_64_49.dll (The process cannot access the file because it is being used by another process)
	at java.base/java.io.FileOutputStream.open0(Native Method) ~[?:?]
	at java.base/java.io.FileOutputStream.open(Unknown Source) ~[?:?]
	at java.base/java.io.FileOutputStream.<init>(Unknown Source) ~[?:?]
	at java.base/java.io.FileOutputStream.<init>(Unknown Source) ~[?:?]
	at io.netty.incubator.codec.quic.Quiche.loadNativeLibrary(Quiche.java:92) ~[e4mc-4.0.1+1.19.4-fabric.jar:?]
	at io.netty.incubator.codec.quic.Quiche.<clinit>(Quiche.java:61) ~[e4mc-4.0.1+1.19.4-fabric.jar:?]
	at io.netty.incubator.codec.quic.Quic.<clinit>(Quic.java:43) ~[e4mc-4.0.1+1.19.4-fabric.jar:?]
	... 6 more

Not sure if it is even fixable, but it's a bug, so tracked regardless.

This log occurs on console upon a try: ``` [10:19:09] [Thread-13/ERROR]: Uncaught exception in thread "Thread-13" java.lang.UnsatisfiedLinkError: failed to load the required native library at io.netty.incubator.codec.quic.Quic.ensureAvailability(Quic.java:78) ~[e4mc-4.0.1+1.19.4-fabric.jar:?] at io.netty.incubator.codec.quic.QuicheQuicSslContext.<init>(QuicheQuicSslContext.java:75) ~[e4mc-4.0.1+1.19.4-fabric.jar:?] at io.netty.incubator.codec.quic.QuicSslContextBuilder.build(QuicSslContextBuilder.java:374) ~[e4mc-4.0.1+1.19.4-fabric.jar:?] at vg.skye.e4mc_minecraft.QuiclimeHandler.start(QuiclimeHandler.kt:198) ~[e4mc-4.0.1+1.19.4-fabric.jar:?] at vg.skye.e4mc_minecraft.QuiclimeHandler$startAsync$1.invoke(QuiclimeHandler.kt:176) ~[e4mc-4.0.1+1.19.4-fabric.jar:?] at vg.skye.e4mc_minecraft.QuiclimeHandler$startAsync$1.invoke(QuiclimeHandler.kt:175) ~[e4mc-4.0.1+1.19.4-fabric.jar:?] at kotlin.concurrent.ThreadsKt$thread$thread$1.run(Thread.kt:30) ~[org_jetbrains_kotlin_kotlin-stdlib-1.9.23-29bb1b816a312d60.jar:?] Caused by: java.lang.ExceptionInInitializerError at io.netty.incubator.codec.quic.Quic.<clinit>(Quic.java:43) ~[e4mc-4.0.1+1.19.4-fabric.jar:?] ... 6 more Caused by: java.lang.RuntimeException: java.io.FileNotFoundException: C:\Users\Madis\.e4mc_cache\netty_quiche_windows_x86_64_49.dll (The process cannot access the file because it is being used by another process) at io.netty.incubator.codec.quic.Quiche.loadNativeLibrary(Quiche.java:98) ~[e4mc-4.0.1+1.19.4-fabric.jar:?] at io.netty.incubator.codec.quic.Quiche.<clinit>(Quiche.java:61) ~[e4mc-4.0.1+1.19.4-fabric.jar:?] at io.netty.incubator.codec.quic.Quic.<clinit>(Quic.java:43) ~[e4mc-4.0.1+1.19.4-fabric.jar:?] ... 6 more Caused by: java.io.FileNotFoundException: C:\Users\Madis\.e4mc_cache\netty_quiche_windows_x86_64_49.dll (The process cannot access the file because it is being used by another process) at java.base/java.io.FileOutputStream.open0(Native Method) ~[?:?] at java.base/java.io.FileOutputStream.open(Unknown Source) ~[?:?] at java.base/java.io.FileOutputStream.<init>(Unknown Source) ~[?:?] at java.base/java.io.FileOutputStream.<init>(Unknown Source) ~[?:?] at io.netty.incubator.codec.quic.Quiche.loadNativeLibrary(Quiche.java:92) ~[e4mc-4.0.1+1.19.4-fabric.jar:?] at io.netty.incubator.codec.quic.Quiche.<clinit>(Quiche.java:61) ~[e4mc-4.0.1+1.19.4-fabric.jar:?] at io.netty.incubator.codec.quic.Quic.<clinit>(Quic.java:43) ~[e4mc-4.0.1+1.19.4-fabric.jar:?] ... 6 more ``` Not sure if it is even fixable, but it's a bug, so tracked regardless.
Sign in to join this conversation.
No description provided.