Skip to content

ChestPreview 109 not work in 1.21.1 #43

@TieuMiu

Description

@TieuMiu

Terms

  • I'm using the very latest version of ChestPreview and its dependencies.
  • I am sure this is a bug and it is not caused by a misconfiguration or by another plugin.
  • I already searched on this Github page to check if the same issue was already reported.
  • I already searched on the plugin wiki to know if a solution is already known.
  • I already searched on the forums to check if anyone already has a solution for this.

Discord tag (optional)

tieumiutsu

What happened?

Why does version 109 declare to support 1.21.1 but when added to the server it cannot be used?

Steps to reproduce the issue

[120531 ERROR].txt

Server version

No response

ChestPreview Version

ChestPreview_1.0.9

ProtocolLib Version

LATEST

LoneLibs Version

LATEST

FULL server log

No response

Error (optional)

[12:27:09 ERROR]: Error occurred while enabling ChestPreview v1.0.9 (Is it up to date?)
java.lang.RuntimeException: java.nio.file.NoSuchFileException: D:\Server%20MC\servers\Test\plugins\.paper-remapped\ChestPreview_1.0.9.jar
        at ChestPreview_1.0.9.jar/chestpreview.m.d.a(SourceFile:69) ~[ChestPreview_1.0.9.jar:?]
        at ChestPreview_1.0.9.jar/chestpreview.m.e.a(SourceFile:52) ~[ChestPreview_1.0.9.jar:?]
        at ChestPreview_1.0.9.jar/dev.lone.chestpreview.Main.onEnable(SourceFile:43) ~[ChestPreview_1.0.9.jar:?]
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:288) ~[paper-mojangapi-1.21.1-R0.1-SNAPSHOT.jar:?]
        at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.enablePlugin(PaperPluginInstanceManager.java:202) ~[paper-1.21.1.jar:1.21.1-133-3cb8529]
        at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.enablePlugin(PaperPluginManagerImpl.java:109) ~[paper-1.21.1.jar:1.21.1-133-3cb8529]
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:520) ~[paper-mojangapi-1.21.1-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.craftbukkit.CraftServer.enablePlugin(CraftServer.java:641) ~[paper-1.21.1.jar:1.21.1-133-3cb8529]
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:590) ~[paper-1.21.1.jar:1.21.1-133-3cb8529]
        at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:753) ~[paper-1.21.1.jar:1.21.1-133-3cb8529]
        at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:515) ~[paper-1.21.1.jar:1.21.1-133-3cb8529]
        at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:329) ~[paper-1.21.1.jar:1.21.1-133-3cb8529]
        at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1214) ~[paper-1.21.1.jar:1.21.1-133-3cb8529]
        at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:329) ~[paper-1.21.1.jar:1.21.1-133-3cb8529]
        at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]
Caused by: java.nio.file.NoSuchFileException: D:\Server%20MC\servers\Test\plugins\.paper-remapped\ChestPreview_1.0.9.jar
        at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:85) ~[?:?]
        at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103) ~[?:?]
        at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108) ~[?:?]
        at java.base/sun.nio.fs.WindowsFileAttributeViews$Basic.readAttributes(WindowsFileAttributeViews.java:53) ~[?:?]
        at java.base/sun.nio.fs.WindowsFileAttributeViews$Basic.readAttributes(WindowsFileAttributeViews.java:38) ~[?:?]
        at java.base/sun.nio.fs.WindowsFileSystemProvider.readAttributes(WindowsFileSystemProvider.java:197) ~[?:?]
        at java.base/java.nio.file.Files.readAttributes(Files.java:1853) ~[?:?]
        at java.base/java.util.zip.ZipFile$Source.get(ZipFile.java:1445) ~[?:?]
        at java.base/java.util.zip.ZipFile$CleanableResource.<init>(ZipFile.java:724) ~[?:?]
        at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:251) ~[?:?]
        at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:180) ~[?:?]
        at java.base/java.util.jar.JarFile.<init>(JarFile.java:345) ~[?:?]
        at java.base/java.util.jar.JarFile.<init>(JarFile.java:316) ~[?:?]
        at java.base/java.util.jar.JarFile.<init>(JarFile.java:282) ~[?:?]
        at ChestPreview_1.0.9.jar/chestpreview.m.d.a(SourceFile:47) ~[ChestPreview_1.0.9.jar:?]
        ... 14 more
[12:27:09 INFO]: [ChestPreview] Disabling ChestPreview v1.0.9

Problematic items yml configuration file (optional)

Other files, you can drag and drop them here to upload. (optional)

No response

Screenshots/Videos (you can drag and drop files or paste links)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions