Inventory-Rollback-Plus icon indicating copy to clipboard operation
Inventory-Rollback-Plus copied to clipboard

Support: Unable to save item stacks.

Open borekKSH opened this issue 1 year ago • 19 comments

[19:57:33 WARN]: [InventoryRollbackPlus] Plugin InventoryRollbackPlus v1.6.17 generated an exception while executing task 325264 java.lang.IllegalStateException: Unable to save item stacks. at InventoryRollbackPlus-1.6.17.jar/me.danjono.inventoryrollback.inventory.SaveInventory.toBase64(SaveInventory.java:173) ~[InventoryRollbackPlus-1.6.17.jar:?] at InventoryRollbackPlus-1.6.17.jar/me.danjono.inventoryrollback.data.MySQL.setEnderChest(MySQL.java:244) ~[InventoryRollbackPlus-1.6.17.jar:?] at InventoryRollbackPlus-1.6.17.jar/me.danjono.inventoryrollback.data.PlayerData.setEnderChest(PlayerData.java:163) ~[InventoryRollbackPlus-1.6.17.jar:?] at InventoryRollbackPlus-1.6.17.jar/me.danjono.inventoryrollback.inventory.SaveInventory.lambda$createSave$1(SaveInventory.java:117) ~[InventoryRollbackPlus-1.6.17.jar:?] at org.bukkit.craftbukkit.scheduler.CraftTask.run(CraftTask.java:101) ~[paper-1.21.jar:1.21-50-20889d0] at org.bukkit.craftbukkit.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57) ~[paper-1.21.jar:1.21-50-20889d0] at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[paper-1.21.jar:?] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?] at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?] Caused by: java.lang.NullPointerException: null value in entry: using-converts-to=null at com.google.common.collect.CollectPreconditions.checkEntryNotNull(CollectPreconditions.java:33) ~[guava-32.1.2-jre.jar:?] at com.google.common.collect.ImmutableMapEntry.(ImmutableMapEntry.java:54) ~[guava-32.1.2-jre.jar:?] at com.google.common.collect.ImmutableMap.entryOf(ImmutableMap.java:341) ~[guava-32.1.2-jre.jar:?] at com.google.common.collect.ImmutableMap$Builder.put(ImmutableMap.java:450) ~[guava-32.1.2-jre.jar:?] at com.google.common.collect.ImmutableMap$Builder.put(ImmutableMap.java:465) ~[guava-32.1.2-jre.jar:?] at com.google.common.collect.ImmutableMap$Builder.putAll(ImmutableMap.java:494) ~[guava-32.1.2-jre.jar:?] at com.google.common.collect.ImmutableMap$Builder.putAll(ImmutableMap.java:477) ~[guava-32.1.2-jre.jar:?] at org.bukkit.util.io.Wrapper.newWrapper(Wrapper.java:16) ~[paper-api-1.21-R0.1-SNAPSHOT.jar:?] at org.bukkit.util.io.BukkitObjectOutputStream.replaceObject(BukkitObjectOutputStream.java:48) ~[paper-api-1.21-R0.1-SNAPSHOT.jar:?] at java.base/java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1160) ~[?:?] at java.base/java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1394) ~[?:?] at java.base/java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1190) ~[?:?] at java.base/java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1585) ~[?:?] at java.base/java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1542) ~[?:?] at java.base/java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1451) ~[?:?] at java.base/java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1194) ~[?:?] at java.base/java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1585) ~[?:?] at java.base/java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1542) ~[?:?] at java.base/java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1451) ~[?:?] at java.base/java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1194) ~[?:?] at java.base/java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1394) ~[?:?] at java.base/java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1190) ~[?:?] at java.base/java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1585) ~[?:?] at java.base/java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1542) ~[?:?] at java.base/java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1451) ~[?:?] at java.base/java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1194) ~[?:?] at java.base/java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1585) ~[?:?] at java.base/java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1542) ~[?:?] at java.base/java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1451) ~[?:?] at java.base/java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1194) ~[?:?] at java.base/java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:358) ~[?:?] at InventoryRollbackPlus-1.6.17.jar/me.danjono.inventoryrollback.inventory.SaveInventory.toBase64(SaveInventory.java:167) ~[InventoryRollbackPlus-1.6.17.jar:?] ... 9 more IT is normal?

borekKSH avatar Jul 23 '24 19:07 borekKSH

Which item?

TechnicallyCoded avatar Jul 23 '24 20:07 TechnicallyCoded

I don't know it displays every time a player leaves the server.

borekKSH avatar Jul 23 '24 21:07 borekKSH

I need that information please or I can't fix it

TechnicallyCoded avatar Jul 24 '24 10:07 TechnicallyCoded

what to send you to find?

borekKSH avatar Jul 24 '24 15:07 borekKSH

The player's data file please. Based on their UUID.

TechnicallyCoded avatar Jul 24 '24 18:07 TechnicallyCoded

Can it be from /world/playerdata?

borekKSH avatar Jul 24 '24 18:07 borekKSH

Yes that's the folder

TechnicallyCoded avatar Jul 24 '24 22:07 TechnicallyCoded

dataplayers.zip

borekKSH avatar Jul 25 '24 09:07 borekKSH

Ya, except I need to know who it was... That's the data of every player, I just need the problematic one

TechnicallyCoded avatar Jul 25 '24 09:07 TechnicallyCoded

5ea6284e-436d-4340-b649-c3b668f66291

borekKSH avatar Jul 25 '24 11:07 borekKSH

Ok I can reproduce your problem using the player data file you sent. Now I need to find why.

TechnicallyCoded avatar Jul 25 '24 12:07 TechnicallyCoded

sure, if you need anything else, let me know ;p

borekKSH avatar Jul 25 '24 17:07 borekKSH

I forwarded the bug over to spigot since it has to do with handling items in general and not with the plugin specifically. I'll let you know if/when I get a reply.

TechnicallyCoded avatar Jul 25 '24 18:07 TechnicallyCoded

super thanks lovely

borekKSH avatar Jul 25 '24 18:07 borekKSH

Update: the issue was supposedly fixed in spigot (I'll be checking that). We now still need to wait for Paper to update from upstream for this to be correctly resolved.

TechnicallyCoded avatar Jul 26 '24 10:07 TechnicallyCoded

oki thank you for the information

borekKSH avatar Jul 26 '24 20:07 borekKSH

I'm having the same issue! Please try and fix it it broke the plugin and spams console :(

BadAreBones avatar Sep 18 '24 22:09 BadAreBones

Please try and read the above issue before posting. Not an issue with the plugin, not fixable on my part. You can also provide additional information such as the your server version (screenshot /version) and IRP version (/irp version) such as to make helping you possible..

TechnicallyCoded avatar Sep 18 '24 23:09 TechnicallyCoded

@borekKSH Has this issue been resolved in newer versions? If so, we can close this.

TechnicallyCoded avatar Dec 15 '24 17:12 TechnicallyCoded

No reply

TechnicallyCoded avatar Mar 14 '25 10:03 TechnicallyCoded