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

ClassNotFoundException: net.jpountz.lz4.LZ4JavaSafeCompressor #520

Open
cwillsey06 opened this issue Feb 9, 2025 · 0 comments
Open

ClassNotFoundException: net.jpountz.lz4.LZ4JavaSafeCompressor #520

cwillsey06 opened this issue Feb 9, 2025 · 0 comments

Comments

@cwillsey06
Copy link

cwillsey06 commented Feb 9, 2025

Whatever is dependent on LZ4 can't find the LZ4JavaSafeCompressor class.
I'm not really great with Java so I don't know how else to say that.

Repro. is to do anything that requires this class, such as opening a world, pasting chunks, etc.

Environment:

  • OS: Void Linux x86_64
  • Java version: OpenJRE 21.0.6
  • MCA Selector 2.4.2
  • Minecraft version: 1.21.4

Log

20:49:19.543 [processPool-thread-1] ERROR net.querz.mcaselector.io.job.ProcessDataJob: unhandled exception in ProcessDataJob
java.lang.AssertionError: java.lang.ClassNotFoundException: net.jpountz.lz4.LZ4JavaSafeCompressor
	at net.jpountz.lz4.LZ4Factory.instance(LZ4Factory.java:55) ~[mcaselector-dev.jar:?]
	at net.jpountz.lz4.LZ4Factory.safeInstance(LZ4Factory.java:107) ~[mcaselector-dev.jar:?]
	at net.jpountz.lz4.LZ4Factory.fastestJavaInstance(LZ4Factory.java:143) ~[mcaselector-dev.jar:?]
	at net.jpountz.lz4.LZ4Factory.fastestInstance(LZ4Factory.java:168) ~[mcaselector-dev.jar:?]
	at net.jpountz.lz4.LZ4BlockInputStream.<init>(LZ4BlockInputStream.java:130) ~[mcaselector-dev.jar:?]
	at net.querz.mcaselector.io.mca.Chunk.load(Chunk.java:42) ~[mcaselector-dev.jar:?]
	at net.querz.mcaselector.io.mca.MCAFile.load(MCAFile.java:255) ~[mcaselector-dev.jar:?]
	at net.querz.mcaselector.io.job.RegionImageGenerator$MCAImageProcessJob.execute(RegionImageGenerator.java:177) ~[mcaselector-dev.jar:?]
	at net.querz.mcaselector.io.job.ProcessDataJob.run(ProcessDataJob.java:81) ~[mcaselector-dev.jar:?]
	at net.querz.mcaselector.io.JobHandler$WrapperJob.run(JobHandler.java:231) ~[mcaselector-dev.jar:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?]
	at java.lang.Thread.run(Thread.java:1583) ~[?:?]
Caused by: java.lang.ClassNotFoundException: net.jpountz.lz4.LZ4JavaSafeCompressor
	at jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641) ~[?:?]
	at jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188) ~[?:?]
	at java.lang.ClassLoader.loadClass(ClassLoader.java:526) ~[?:?]
	at net.jpountz.lz4.LZ4Factory.classInstance(LZ4Factory.java:179) ~[mcaselector-dev.jar:?]
	at net.jpountz.lz4.LZ4Factory.<init>(LZ4Factory.java:193) ~[mcaselector-dev.jar:?]
	at net.jpountz.lz4.LZ4Factory.instance(LZ4Factory.java:53) ~[mcaselector-dev.jar:?]
	... 12 more

mcaselector.log

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