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

YamipaPlugin v1.3.2 generated an exception java.lang.NullPointerException: constructor #142

Open
reamianv opened this issue Oct 27, 2024 · 2 comments

Comments

@reamianv
Copy link

[11:07:04] [Server thread/WARN]: [YamipaPlugin] Task #24098 for YamipaPlugin v1.3.2 generated an exception
java.lang.NullPointerException: constructor
at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:907) ~[guava-31.1-jre.jar:?]
at com.comphenix.protocol.reflect.accessors.MethodHandleHelper.getConstructorAccessor(MethodHandleHelper.java:70) ~[ProtocolLib.jar:?]
at com.comphenix.protocol.reflect.accessors.Accessors.getConstructorAccessor(Accessors.java:167) ~[ProtocolLib.jar:?]
at com.comphenix.protocol.reflect.accessors.Accessors.getConstructorAccessor(Accessors.java:145) ~[ProtocolLib.jar:?]
at com.comphenix.protocol.wrappers.LegacyDataWatcher.newHandle(LegacyDataWatcher.java:113) ~[ProtocolLib.jar:?]
at com.comphenix.protocol.wrappers.LegacyDataWatcher.(LegacyDataWatcher.java:108) ~[ProtocolLib.jar:?]
at com.comphenix.protocol.wrappers.LegacyDataWatcher.(LegacyDataWatcher.java:85) ~[ProtocolLib.jar:?]
at com.comphenix.protocol.wrappers.WrappedDataWatcher.(WrappedDataWatcher.java:86) ~[ProtocolLib.jar:?]
at io.josemmo.bukkit.plugin.packets.EntityMetadataPacket.(EntityMetadataPacket.java:19) ~[YamipaPlugin-1.3.2.jar:?]
at io.josemmo.bukkit.plugin.renderer.FakeItemFrame.getRenderPackets(FakeItemFrame.java:156) ~[YamipaPlugin-1.3.2.jar:?]
at io.josemmo.bukkit.plugin.renderer.FakeImage.spawnOnceLoaded(FakeImage.java:454) ~[YamipaPlugin-1.3.2.jar:?]
at io.josemmo.bukkit.plugin.renderer.FakeImage.spawn(FakeImage.java:417) ~[YamipaPlugin-1.3.2.jar:?]
at io.josemmo.bukkit.plugin.renderer.ImageRenderer.onPlayerLocationChange(ImageRenderer.java:419) ~[YamipaPlugin-1.3.2.jar:?]
at io.josemmo.bukkit.plugin.renderer.ImageRenderer.lambda$onPlayerTeleport$3(ImageRenderer.java:456) ~[YamipaPlugin-1.3.2.jar:?]
at org.bukkit.craftbukkit.v1_20_R1.scheduler.CraftTask.run(CraftTask.java:101) ~[purpur-1.20.1.jar:git-Purpur-2058]
at org.bukkit.craftbukkit.v1_20_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:480) ~[purpur-1.20.1.jar:git-Purpur-2058]
at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1506) ~[purpur-1.20.1.jar:git-Purpur-2058]
at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:486) ~[purpur-1.20.1.jar:git-Purpur-2058]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1420) ~[purpur-1.20.1.jar:git-Purpur-2058]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1191) ~[purpur-1.20.1.jar:git-Purpur-2058]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:322) ~[purpur-1.20.1.jar:git-Purpur-2058]
at java.lang.Thread.run(Thread.java:833) ~[?:?]

@josemmo
Copy link
Owner

josemmo commented Oct 27, 2024

Hello @reamianv,

Which version of ProtocolLib are you using?

@reamianv
Copy link
Author

reamianv commented Oct 28, 2024

What I tested with ProtocolLib was:

Observed results with Purpur 1.20.1 + Packet Event + protocollib
Yamipa 1.3.2 / ProtocolLib 5.3.0 version.

The image is present, but it isn’t visible, so I downgraded Yamipa back to the previously working ProtocolLib 5.0.0, but the image still does not display. I also created a backup, placed the image in the appropriate location, and received a message saying the image was created, yet it still doesn't show up. I repeated this process with ProtocolLib 5.3.0.

Afterward, I reverted to Yamipa 1.3.2 beta and ProtocolLib 5.0.0.

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

2 participants