crash report
BrokenDawn627 opened this issue · 11 comments
java.lang.NullPointerException: Cannot invoke "String.isEmpty()" because "$$0" is null at net.minecraft.class_2519.method_23256(class_2519.java:71) at net.minecraft.class_2487.method_10582(class_2487.java:231) at com.github.clevernucleus.opc.impl.PlayerCacheImpl.toNbt(PlayerCacheImpl.java:150) at net.minecraft.class_31.handler$edn000$onUpdateProperties(class_31.java:697) at net.minecraft.class_31.method_158(class_31.java) at net.minecraft.class_31.method_163(class_31.java:231) at net.minecraft.class_32$class_5143.method_27426(class_32.java:340) at net.minecraft.server.MinecraftServer.method_3723(MinecraftServer.java:568) at net.minecraft.server.MinecraftServer.method_39218(MinecraftServer.java:585) at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:848) at net.minecraft.class_1132.method_3748(class_1132.java:99) at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:684) at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:270) at java.base/java.lang.Thread.run(Thread.java:833)
Hi there,
Could you please provide the entire crash report/log? This alone makes it difficult to diagnose the circumstances allowing the crash to happen.
Thanks.
Thank you, I'll look into it. I should note that this kind of situational issue is difficult for me to debug, so it may take more time than usual.
I'll also just add that AttributeFix shouldn't really be used with Data Attributes, as they do the same thing and can conflict with each other.
I have experienced the same issue and i have detail to provide.
When i disabled online version of my server. crack version connect to the server and after that i experienced the issue. Once that i seen on the issue
com.github.clevernucleus.opc.impl.PlayerCacheImpl.toNbt(PlayerCacheImpl.java:150) I looked at the code PlayerCacheImpl.java and i seen that it's relative of player uuid. Opc get wrong when trying to read uuid from names list of line 149 of playerCacheImpl.java
@bawdeveloppement You're correct; I can fix this by inserting another test and returning default value instead of null in these cases. It is only a matter of implementing fix now. Thank you for your input!
More information, this happenned when I activated minecraft cracked version