java.util.concurrent.ExecutionException: java.lang.NullPointerException: The property 'targetBlock' was not provided!

spongepowered.org | 7 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

    Players Can't Break Blocks In Sponge Forge Server - Server Discussion - Sponge Forums

    spongepowered.org | 7 months ago
    java.util.concurrent.ExecutionException: java.lang.NullPointerException: The property 'targetBlock' was not provided!

    Root Cause Analysis

    1. java.lang.NullPointerException

      The property 'targetBlock' was not provided!

      at org.spongepowered.api.event.impl.InteractBlockEvent$Primary$Impl.<init>()
    2. org.spongepowered.api
      SpongeEventFactory.createInteractBlockEventPrimary
      1. org.spongepowered.api.event.impl.InteractBlockEvent$Primary$Impl.<init>(Unknown Source)[?:?]
      2. org.spongepowered.api.event.impl.InteractBlockEvent$Primary$Factory.apply(Unknown Source)[?:?]
      3. org.spongepowered.api.event.impl.InteractBlockEvent$Primary$Factory.apply(Unknown Source)[?:?]
      4. org.spongepowered.api.event.SpongeEventFactoryUtils.createEventImpl(SpongeEventFactoryUtils.java:82)[SpongeEventFactoryUtils.class:1.8.9-1694-3.1.0-BETA-1086]
      5. org.spongepowered.api.event.SpongeEventFactory.createInteractBlockEventPrimary(SpongeEventFactory.java:725)[SpongeEventFactory.class:1.8.9-1694-3.1.0-BETA-1086]
      5 frames
    3. MC Forge
      PlayerInteractEvent.createSpongeEvent
      1. net.minecraftforge.event.entity.player.PlayerInteractEvent.createSpongeEvent(PlayerInteractEvent.java:114)[PlayerInteractEvent.class:?]
      1 frame
    4. org.spongepowered.mod
      SpongeModEventManager.post
      1. org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:166)[SpongeModEventManager.class:1.8.9-1694-3.1.0-BETA-1086]
      1 frame
    5. MC Forge
      ForgeEventFactory.onPlayerInteract
      1. net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:70)[EventBus.class:?]
      2. net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:58)[EventBus.class:?]
      3. net.minecraftforge.event.ForgeEventFactory.onPlayerInteract(ForgeEventFactory.java:130)[ForgeEventFactory.class:?]
      3 frames
    6. MC Server
      ItemInWorldManager.func_180784_a
      1. net.minecraft.server.management.ItemInWorldManager.func_180784_a(ItemInWorldManager.java:135)[lg.class:?]
      1 frame
    7. Minecraft
      C07PacketPlayerDigging.func_148833_a
      1. net.minecraft.network.NetHandlerPlayServer.func_147345_a(NetHandlerPlayServer.java:525)[lm.class:?]
      2. net.minecraft.network.play.client.C07PacketPlayerDigging.func_148833_a(SourceFile:40)[ir.class:?]
      3. net.minecraft.network.play.client.C07PacketPlayerDigging.func_148833_a(SourceFile:10)[ir.class:?]
      3 frames
    8. org.spongepowered.common
      PacketUtil.onProcessPacket
      1. org.spongepowered.common.network.PacketUtil.onProcessPacket(PacketUtil.java:106)[PacketUtil.class:1.8.9-1694-3.1.0-BETA-1086]
      1 frame
    9. Minecraft
      PacketThreadUtil$1.run
      1. net.minecraft.network.PacketThreadUtil$1.onProcessPacket(SourceFile:51)[fh$1.class:?]
      2. net.minecraft.network.PacketThreadUtil$1.run(SourceFile:13)[fh$1.class:?]
      2 frames
    10. Java RT
      FutureTask.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)[?:1.8.0_73]
      2. java.util.concurrent.FutureTask.run(Unknown Source)[?:1.8.0_73]
      2 frames
    11. net.minecraft.util
      Util.func_181617_a
      1. net.minecraft.util.Util.func_181617_a(SourceFile:44)[g.class:?]
      1 frame
    12. MC Server
      MinecraftServer.run
      1. net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:660)[MinecraftServer.class:?]
      2. net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:344)[ko.class:?]
      3. net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:605)[MinecraftServer.class:?]
      4. net.minecraft.server.MinecraftServer.run(MinecraftServer.java:481)[MinecraftServer.class:?]
      4 frames
    13. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)[?:1.8.0_73]
      1 frame