Chance Cubes

Chance Cubes

46M Downloads

Chance Cube crashes server with running commands

Sir-Will opened this issue ยท 1 comments

commented

ChanceCubes-1.10.2-2.3.3.135

Not sure if this is an issue in chance cubes or minetweaker:

java.lang.NullPointerException: Ticking player
	at minetweaker.mc1102.server.MCServer.isOp(MCServer.java:77)
	at minetweaker.MineTweakerImplementationAPI$4.canExecute(MineTweakerImplementationAPI.java:617)
	at minetweaker.mc1102.server.MCServer$MCCommand.func_184882_a(MCServer.java:130)
	at org.spongepowered.common.command.WrapperCommandSource.<init>(WrapperCommandSource.java:67)
	at org.spongepowered.common.command.WrapperCommandSource.<init>(WrapperCommandSource.java:51)
	at org.spongepowered.common.command.WrapperCommandSource$Located.<init>(WrapperCommandSource.java:130)
	at org.spongepowered.common.command.WrapperCommandSource.of(WrapperCommandSource.java:122)
	at net.minecraft.command.ServerCommandManager.func_71556_a(SourceFile:82)
	at chanceCubes.rewards.type.CommandRewardType.triggerCommand(CommandRewardType.java:49)
	at chanceCubes.rewards.type.CommandRewardType.trigger(CommandRewardType.java:37)
	at chanceCubes.rewards.type.CommandRewardType.trigger(CommandRewardType.java:12)
	at chanceCubes.rewards.type.BaseRewardType.trigger(BaseRewardType.java:19)
	at chanceCubes.rewards.defaultRewards.BasicReward.trigger(BasicReward.java:26)
	at chanceCubes.registry.ChanceCubeRegistry.triggerRandomReward(ChanceCubeRegistry.java:507)
	at chanceCubes.blocks.BlockChanceCube.removedByPlayer(BlockChanceCube.java:69)
	at net.minecraft.server.management.PlayerInteractionManager.removeBlock(PlayerInteractionManager.java:275)
	at net.minecraft.server.management.PlayerInteractionManager.func_180237_b(PlayerInteractionManager.java:333)
	at net.minecraft.server.management.PlayerInteractionManager.func_73075_a(PlayerInteractionManager.java:113)
	at net.minecraft.entity.player.EntityPlayerMP.func_70071_h_(EntityPlayerMP.java:246)
	at org.spongepowered.common.event.tracking.TrackingUtil.tickEntity(TrackingUtil.java:150)
	at net.minecraft.world.WorldServer.redirect$onCallEntityUpdate$zjl000(WorldServer.java:1324)
	at net.minecraft.world.World.func_72866_a(World.java:85)
	at net.minecraft.world.WorldServer.func_72866_a(WorldServer.java:839)
	at net.minecraft.world.World.func_72870_g(World.java:1934)
	at net.minecraft.world.WorldServer.func_184147_l(WorldServer.java:649)
	at net.minecraft.world.World.func_72939_s(World.java:1217)
	at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:714)
	at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:709)
	at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:387)
	at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:613)
	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471)
	at java.lang.Thread.run(Thread.java:745)


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Thread: Server thread
Stacktrace:
	at minetweaker.mc1102.server.MCServer.isOp(MCServer.java:77)
	at minetweaker.MineTweakerImplementationAPI$4.canExecute(MineTweakerImplementationAPI.java:617)
	at minetweaker.mc1102.server.MCServer$MCCommand.func_184882_a(MCServer.java:130)
	at org.spongepowered.common.command.WrapperCommandSource.<init>(WrapperCommandSource.java:67)
	at org.spongepowered.common.command.WrapperCommandSource.<init>(WrapperCommandSource.java:51)
	at org.spongepowered.common.command.WrapperCommandSource$Located.<init>(WrapperCommandSource.java:130)
	at org.spongepowered.common.command.WrapperCommandSource.of(WrapperCommandSource.java:122)
	at net.minecraft.command.ServerCommandManager.func_71556_a(SourceFile:82)
	at chanceCubes.rewards.type.CommandRewardType.triggerCommand(CommandRewardType.java:49)
	at chanceCubes.rewards.type.CommandRewardType.trigger(CommandRewardType.java:37)
	at chanceCubes.rewards.type.CommandRewardType.trigger(CommandRewardType.java:12)
	at chanceCubes.rewards.type.BaseRewardType.trigger(BaseRewardType.java:19)
	at chanceCubes.rewards.defaultRewards.BasicReward.trigger(BasicReward.java:26)
	at chanceCubes.registry.ChanceCubeRegistry.triggerRandomReward(ChanceCubeRegistry.java:507)
	at chanceCubes.blocks.BlockChanceCube.removedByPlayer(BlockChanceCube.java:69)
	at net.minecraft.server.management.PlayerInteractionManager.removeBlock(PlayerInteractionManager.java:275)
	at net.minecraft.server.management.PlayerInteractionManager.func_180237_b(PlayerInteractionManager.java:333)
	at net.minecraft.server.management.PlayerInteractionManager.func_73075_a(PlayerInteractionManager.java:113)
	at net.minecraft.entity.player.EntityPlayerMP.func_70071_h_(EntityPlayerMP.java:246)
	at org.spongepowered.common.event.tracking.TrackingUtil.tickEntity(TrackingUtil.java:150)
	at net.minecraft.world.WorldServer.redirect$onCallEntityUpdate$zjl000(WorldServer.java:1324)
	at net.minecraft.world.World.func_72866_a(World.java:85)
	at net.minecraft.world.WorldServer.func_72866_a(WorldServer.java:839)
	at net.minecraft.world.World.func_72870_g(World.java:1934)

-- Player being ticked --
Details:
	Entity Type: null (net.minecraft.entity.player.EntityPlayerMP)
	Entity ID: 2482
	Entity Name: HikUP22
	Entity's Exact location: 735.32, 57.00, -1792.34
	Entity's Block location: World: (735,57,-1793), Chunk: (at 15,3,15 in 45,-113; contains blocks 720,0,-1808 to 735,255,-1793), Region: (1,-4; contains chunks 32,-128 to 63,-97, blocks 512,0,-2048 to 1023,255,-1537)
	Entity's Momentum: 0.00, -0.08, 0.00
	Entity's Passengers: []
	Entity's Vehicle: ~~ERROR~~ NullPointerException: null
Stacktrace:
	at net.minecraft.world.WorldServer.func_184147_l(WorldServer.java:649)
	at net.minecraft.world.World.func_72939_s(World.java:1217)
	at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:714)
commented

Sorry, but I don't provide support for sponge servers due to the very irratic realiability of their code base. The mod was created to run on forge, Im just not able to help you here.