1.21.6 PARTIAL_RESULT_MESSAGE_ACCESSOR null
Rothes opened this issue ยท 1 comments
- This issue is not solved in a development build
Describe the bug
java.lang.NullPointerException: Cannot invoke "com.comphenix.protocol.reflect.accessors.MethodAccessor.invoke(Object, Object[])" because "com.comphenix.protocol.wrappers.codecs.WrappedDataResult.PARTIAL_RESULT_MESSAGE_ACCESSOR" is null
at ProtocolLib.jar/com.comphenix.protocol.wrappers.codecs.WrappedDataResult.getOrThrow(WrappedDataResult.java:48) ~[ProtocolLib.jar:?]
at ProtocolLib.jar/com.comphenix.protocol.wrappers.WrappedChatComponent.deserialize(WrappedChatComponent.java:114) ~[ProtocolLib.jar:?]
at ProtocolLib.jar/com.comphenix.protocol.wrappers.WrappedChatComponent.fromJson(WrappedChatComponent.java:158) ~[ProtocolLib.jar:?]
at ProtocolStringReplacer-bukkit-3.2.2.jar/io.github.rothes.protocolstringreplacer.api.user.PsrUser.sendFilteredMessage(PsrUser.java:309) ~[ProtocolStringReplacer-bukkit-3.2.2.jar:?]
at ProtocolStringReplacer-bukkit-3.2.2.jar/io.github.rothes.protocolstringreplacer.util.MessageUtils.sendCaptureInfo(MessageUtils.java:62) ~[ProtocolStringReplacer-bukkit-3.2.2.jar:?]
at ProtocolStringReplacer-bukkit-3.2.2.jar/io.github.rothes.protocolstringreplacer.command.subcommands.Capture.lambda$listCommand$0(Capture.java:147) ~[ProtocolStringReplacer-bukkit-3.2.2.jar:?]
Version info
ProtocolLib dev build 753
paper-1.21.6.jar:1.21.6-46-35b2c6e
Same happens for the serialize method:
"com.comphenix.protocol.reflect.accessors.MethodAccessor.invoke(Object, Object[])" because "com.comphenix.protocol.wrappers.codecs.WrappedDataResult.PARTIAL_RESULT_MESSAGE_ACCESSOR" is null at ProtocolLib (21).jar/com.comphenix.protocol.wrappers.codecs.WrappedDataResult.getOrThrow(WrappedDataResult.java:48) ~[ProtocolLib (21).jar:?] at ProtocolLib (21).jar/com.comphenix.protocol.wrappers.WrappedChatComponent.serialize(WrappedChatComponent.java:101) ~[ProtocolLib (21).jar:?] at ProtocolLib (21).jar/com.comphenix.protocol.wrappers.WrappedChatComponent.getJson(WrappedChatComponent.java:219) ~[ProtocolLib (21).jar:?]