org.spongepowered.api.data.persistence.InvalidDataException: Could not deserialize something correctly, likely due to bad type data.

GitHub | cartman-2000 | 9 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    rollback/restore broken in Sponge API 5.0.

    GitHub | 9 months ago | cartman-2000
    org.spongepowered.api.data.persistence.InvalidDataException: Could not deserialize something correctly, likely due to bad type data.

    Root Cause Analysis

    1. org.spongepowered.api.data.persistence.InvalidDataException

      Could not deserialize something correctly, likely due to bad type data.

      at org.spongepowered.api.data.persistence.AbstractDataBuilder.build()
    2. org.spongepowered.api
      AbstractDataBuilder.build
      1. org.spongepowered.api.data.persistence.AbstractDataBuilder.build(AbstractDataBuilder.java:88)
      1 frame
    3. com.helion3.prism
      ApplierCommand.lambda$null$0
      1. com.helion3.prism.api.records.BlockResult.restore(BlockResult.java:135)
      2. com.helion3.prism.commands.ApplierCommand.lambda$null$0(ApplierCommand.java:88)
      2 frames
    4. Java RT
      CompletableFuture.thenAccept
      1. java.util.concurrent.CompletableFuture.uniAccept(Unknown Source)
      2. java.util.concurrent.CompletableFuture.uniAcceptStage(Unknown Source)
      3. java.util.concurrent.CompletableFuture.thenAccept(Unknown Source)
      3 frames
    5. com.helion3.prism
      ApplierCommand.lambda$null$1
      1. com.helion3.prism.commands.ApplierCommand.lambda$null$1(ApplierCommand.java:75)
      1 frame
    6. Java RT
      CompletableFuture.thenAccept
      1. java.util.concurrent.CompletableFuture.uniAccept(Unknown Source)
      2. java.util.concurrent.CompletableFuture.uniAcceptStage(Unknown Source)
      3. java.util.concurrent.CompletableFuture.thenAccept(Unknown Source)
      3 frames
    7. com.helion3.prism
      ApplierCommand.lambda$getCommand$2
      1. com.helion3.prism.commands.ApplierCommand.lambda$getCommand$2(ApplierCommand.java:68)
      1 frame
    8. org.spongepowered.api
      SimpleDispatcher.process
      1. org.spongepowered.api.command.args.ChildCommandElementExecutor.execute(ChildCommandElementExecutor.java:179)
      2. org.spongepowered.api.command.spec.CommandSpec.process(CommandSpec.java:332)
      3. org.spongepowered.api.command.dispatcher.SimpleDispatcher.process(SimpleDispatcher.java:333)
      3 frames
    9. org.spongepowered.common
      SpongeCommandManager.process
      1. org.spongepowered.common.command.SpongeCommandManager.process(SpongeCommandManager.java:264)
      1 frame
    10. net.minecraft.command
      ServerCommandManager.func_71556_a
      1. net.minecraft.command.ServerCommandManager.func_71556_a(SourceFile:82)
      1 frame
    11. Minecraft
      CPacketChatMessage.func_148833_a
      1. net.minecraft.network.NetHandlerPlayServer.func_147361_d(NetHandlerPlayServer.java:913)
      2. net.minecraft.network.NetHandlerPlayServer.func_147354_a(NetHandlerPlayServer.java:892)
      3. net.minecraft.network.play.client.CPacketChatMessage.func_148833_a(SourceFile:37)
      4. net.minecraft.network.play.client.CPacketChatMessage.func_148833_a(SourceFile:9)
      4 frames
    12. org.spongepowered.common
      PacketUtil.onProcessPacket
      1. org.spongepowered.common.network.PacketUtil.onProcessPacket(PacketUtil.java:119)
      1 frame
    13. Minecraft
      PacketThreadUtil$1.run
      1. net.minecraft.network.PacketThreadUtil$1.redirect$onProcessPacket$0(SourceFile:39)
      2. net.minecraft.network.PacketThreadUtil$1.run(SourceFile:13)
      2 frames
    14. Java RT
      FutureTask.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
      2. java.util.concurrent.FutureTask.run(Unknown Source)
      2 frames
    15. net.minecraft.util
      Util.func_181617_a
      1. net.minecraft.util.Util.func_181617_a(SourceFile:45)
      1 frame
    16. MC Server
      MinecraftServer.run
      1. net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:668)
      2. net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:387)
      3. net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:613)
      4. net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471)
      4 frames
    17. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame