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

Player Data Save Failure #9414

Closed
3 tasks done
nanana90 opened this issue Jan 11, 2025 · 2 comments
Closed
3 tasks done

Player Data Save Failure #9414

nanana90 opened this issue Jan 11, 2025 · 2 comments
Labels
bug report Reports of bugs/inconsistencies

Comments

@nanana90
Copy link

nanana90 commented Jan 11, 2025

Description of Issue

An issue occurs when saving player data for the player BundleDog, resulting in a failure caused by a java.lang.IllegalStateException. The error originates from missing entity ID data in NBT, leading to crashes and potentially corrupting player data. This problem seems to manifest during player save and inventory operations.

Version Information

https://pasteboard.co/sZjhpHYL4c6L.png

Minecraft Server: Paper 1.20.6-148-20f5165
Plugins: CMI, DiscordSRV, 2FAGuard, lightEconomy, etc.

Errors

[10:38:57 WARN]: Failed to save player data for BundleDog
net.minecraft.ReportedException: Saving entity NBT
    at net.minecraft.world.entity.Entity.saveWithoutId(Entity.java:2563) ~[paper-1.20.6.jar:1.20.6-148-20f5165]
    ...
Caused by: java.lang.IllegalStateException: Missing id for entity in: {Invisible:0b,Marker:0b,NoBasePlate:0b,ShowArms:0b,Small:0b}
    at com.mojang.serialization.DataResult$Error.getOrThrow(DataResult.java:275) ~[datafixerupper-7.0.14.jar:?]
    at net.minecraft.world.item.ItemStack.save(ItemStack.java:609) ~[paper-1.20.6.jar:1.20.6-148-20f5165]
    ...


[10:41:01 WARN]: java.lang.reflect.InvocationTargetException
    ...
Caused by: java.lang.IllegalStateException: Missing id for entity in: {Invisible:0b,Marker:0b,NoBasePlate:0b,ShowArms:0b,Small:0b}
    at com.mojang.serialization.DataResult$Error.getOrThrow(DataResult.java:275)
    at net.minecraft.world.item.ItemStack.save(ItemStack.java:609)
    ...

Relevant Config Sections

No response

Relevant Plugins

No response

Agreements

  • My server is supported by CMI.
  • My version of CMI at the time of this report is up to date.
  • I have searched the github and asked around before making this report.
@nanana90 nanana90 added the bug report Reports of bugs/inconsistencies label Jan 11, 2025
@Zrips
Copy link
Owner

Zrips commented Jan 17, 2025

Does this happen for online or offline players? And what exact inventory operations are we talking about here?

@nanana90
Copy link
Author

Hi Zrips,

we can close the issue. Your plugin is not the annoying plugin... But thanks for your help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug report Reports of bugs/inconsistencies
Projects
None yet
Development

No branches or pull requests

2 participants