{"action":"created","issue":{"url":"https://api.github.com/repos/Thutmose/Pokecube/issues/88","repository_url":"https://api.github.com/repos/Thutmose/Pokecube","labels_url":"https://api.github.com/repos/Thutmose/Pokecube/issues/88/labels{/name}","comments_url":"https://api.github.com/repos/Thutmose/Pokecube/issues/88/comments","events_url":"https://api.github.com/repos/Thutmose/Pokecube/issues/88/events","html_url":"https://github.com/Thutmose/Pokecube/issues/88","id":163304193,"number":88,"title":"Ticking Entity 1.9.4 Server Crash","user":{"login":"doctorkreger","id":5498196,"avatar_url":"https://avatars.githubusercontent.com/u/5498196?v=3","gravatar_id":"","url":"https://api.github.com/users/doctorkreger","html_url":"https://github.com/doctorkreger","followers_url":"https://api.github.com/users/doctorkreger/followers","following_url":"https://api.github.com/users/doctorkreger/following{/other_user}","gists_url":"https://api.github.com/users/doctorkreger/gists{/gist_id}","starred_url":"https://api.github.com/users/doctorkreger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doctorkreger/subscriptions","organizations_url":"https://api.github.com/users/doctorkreger/orgs","repos_url":"https://api.github.com/users/doctorkreger/repos","events_url":"https://api.github.com/users/doctorkreger/events{/privacy}","received_events_url":"https://api.github.com/users/doctorkreger/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Thutmose/Pokecube/labels/Fixed%20-%20Pending%20Release","name":"Fixed - Pending Release","color":"0e8a16"},{"url":"https://api.github.com/repos/Thutmose/Pokecube/labels/Major%20Bug","name":"Major Bug","color":"d93f0b"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-07-01T02:00:04Z","updated_at":"2016-07-01T04:36:08Z","closed_at":"2016-07-01T04:36:08Z","body":"#### Issue Description:\r\n---- Minecraft Crash Report ----\r\n\r\nWARNING: coremods are present:\r\n  AppleCore (AppleCore-mc1.9.4-1.3.4.jar)\r\n  NWRTweak (redstonepaste-mc1.9.4-1.7.4.jar)\r\n  EnderCorePlugin (EnderCore-1.9.4-0.4.0.26-alpha.jar)\r\nContact their authors BEFORE contacting forge\r\n\r\n// I'm sorry, Dave.\r\n\r\nTime: 6/30/16 9:46 PM\r\nDescription: Ticking entity\r\n\r\njava.lang.NullPointerException: Ticking entity\r\n\tat net.minecraft.entity.EntityLiving.func_70625_a(EntityLiving.java:809)\r\n\tat pokecube.adventures.ai.trainers.EntityAITrainer.func_75246_d(EntityAITrainer.java:198)\r\n\tat net.minecraft.entity.ai.EntityAITasks.func_75774_a(SourceFile:129)\r\n\tat net.minecraft.entity.EntityLiving.func_70626_be(EntityLiving.java:766)\r\n\tat net.minecraft.entity.EntityLivingBase.func_70636_d(EntityLivingBase.java:2146)\r\n\tat net.minecraft.entity.EntityLiving.func_70636_d(EntityLiving.java:570)\r\n\tat net.minecraft.entity.EntityAgeable.func_70636_d(EntityAgeable.java:155)\r\n\tat pokecube.adventures.entity.helper.EntityHasPokemobs.func_70636_d(EntityHasPokemobs.java:106)\r\n\tat pokecube.adventures.entity.trainers.EntityTrainer.func_70636_d(EntityTrainer.java:343)\r\n\tat net.minecraft.entity.EntityLivingBase.func_70071_h_(EntityLivingBase.java:1976)\r\n\tat net.minecraft.entity.EntityLiving.func_70071_h_(EntityLiving.java:299)\r\n\tat pokecube.adventures.entity.trainers.EntityTrainer.func_70071_h_(EntityTrainer.java:405)\r\n\tat net.minecraft.world.World.func_72866_a(World.java:1951)\r\n\tat net.minecraft.world.WorldServer.func_72866_a(WorldServer.java:837)\r\n\tat net.minecraft.world.World.func_72870_g(World.java:1920)\r\n\tat net.minecraft.world.World.func_72939_s(World.java:1743)\r\n\tat net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:618)\r\n\tat net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:707)\r\n\tat net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:385)\r\n\tat net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:611)\r\n\tat net.minecraft.server.MinecraftServer.run(MinecraftServer.java:469)\r\n\tat java.lang.Thread.run(Unknown Source)\r\n\r\n\r\nA detailed walkthrough of the error, its code path and all known details is as follows:\r\n---------------------------------------------------------------------------------------\r\n\r\n-- Head --\r\nThread: Server thread\r\nStacktrace:\r\n\tat net.minecraft.entity.EntityLiving.func_70625_a(EntityLiving.java:809)\r\n\tat pokecube.adventures.ai.trainers.EntityAITrainer.func_75246_d(EntityAITrainer.java:198)\r\n\tat net.minecraft.entity.ai.EntityAITasks.func_75774_a(SourceFile:129)\r\n\tat net.minecraft.entity.EntityLiving.func_70626_be(EntityLiving.java:766)\r\n\tat net.minecraft.entity.EntityLivingBase.func_70636_d(EntityLivingBase.java:2146)\r\n\tat net.minecraft.entity.EntityLiving.func_70636_d(EntityLiving.java:570)\r\n\tat net.minecraft.entity.EntityAgeable.func_70636_d(EntityAgeable.java:155)\r\n\tat pokecube.adventures.entity.helper.EntityHasPokemobs.func_70636_d(EntityHasPokemobs.java:106)\r\n\tat pokecube.adventures.entity.trainers.EntityTrainer.func_70636_d(EntityTrainer.java:343)\r\n\tat net.minecraft.entity.EntityLivingBase.func_70071_h_(EntityLivingBase.java:1976)\r\n\tat net.minecraft.entity.EntityLiving.func_70071_h_(EntityLiving.java:299)\r\n\tat pokecube.adventures.entity.trainers.EntityTrainer.func_70071_h_(EntityTrainer.java:405)\r\n\tat net.minecraft.world.World.func_72866_a(World.java:1951)\r\n\tat net.minecraft.world.WorldServer.func_72866_a(WorldServer.java:837)\r\n\tat net.minecraft.world.World.func_72870_g(World.java:1920)\r\n\r\n-- Entity being ticked --\r\nDetails:\r\n\tEntity Type: pokecube_adventures.pokecube:trainer (pokecube.adventures.entity.trainers.EntityTrainer)\r\n\tEntity ID: 25899\r\n\tEntity Name: Bird Keeper Jason\r\n\tEntity's Exact location: 636.50, 90.00, 29.50\r\n\tEntity's Block location: World: (636,90,29), Chunk: (at 12,5,13 in 39,1; contains blocks 624,0,16 to 639,255,31), Region: (1,0; contains chunks 32,0 to 63,31, blocks 512,0,0 to 1023,255,511)\r\n\tEntity's Momentum: 0.00, -0.08, 0.00\r\n\tEntity's Passengers: []\r\n\tEntity's Vehicle: ~~ERROR~~ NullPointerException: null\r\nStacktrace:\r\n\tat net.minecraft.world.World.func_72939_s(World.java:1743)\r\n\tat net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:618)\r\n\r\n-- Affected level --\r\nDetails:\r\n\tLevel name: world\r\n\tAll players: 3 total; [EntityPlayerMP['jacobwk'/221, l='world', x=195.41, y=78.00, z=282.88], EntityPlayerMP['LadySinger'/635, l='world', x=278.05, y=54.50, z=375.39], EntityPlayerMP['RedDoomYak'/255, l='world', x=638.54, y=90.00, z=24.83]]\r\n\tChunk stats: ServerChunkCache: 2391 Drop: 0\r\n\tLevel seed: 1977900120\r\n\tLevel generator: ID 06 - BIOMESOP, ver 0. Features enabled: true\r\n\tLevel generator options: \r\n\tLevel spawn location: World: (196,82,228), Chunk: (at 4,5,4 in 12,14; contains blocks 192,0,224 to 207,255,239), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)\r\n\tLevel time: 11742102 game time, 105319 day time\r\n\tLevel dimension: 0\r\n\tLevel storage version: 0x04ABD - Anvil\r\n\tLevel weather: Rain time: 34307 (now: false), thunder time: 28127 (now: false)\r\n\tLevel game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false\r\nStacktrace:\r\n\tat net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:707)\r\n\tat net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:385)\r\n\tat net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:611)\r\n\tat net.minecraft.server.MinecraftServer.run(MinecraftServer.java:469)\r\n\tat java.lang.Thread.run(Unknown Source)\r\n\r\n-- System Details --\r\nDetails:\r\n\tMinecraft Version: 1.9.4\r\n\tOperating System: Windows 7 (amd64) version 6.1\r\n\tJava Version: 1.8.0_91, Oracle Corporation\r\n\tJava VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation\r\n\tMemory: 3009608760 bytes (2870 MB) / 4160749568 bytes (3968 MB) up to 4160749568 bytes (3968 MB)\r\n\tJVM Flags: 2 total; -Xmx4096M -Xms4096M\r\n\tIntCache: cache: 0, tcache: 0, allocated: 3, tallocated: 104\r\n\tFML: MCP 9.28 Powered by Forge 12.17.0.1976 60 mods loaded, 60 mods active\r\n\tStates: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored\r\n\tUCHIJAAAA\tmcp{9.19} [Minecraft Coder Pack] (minecraft.jar) \r\n\tUCHIJAAAA\tFML{8.0.99.99} [Forge Mod Loader] (forge-1.9.4.3.jar) \r\n\tUCHIJAAAA\tForge{12.17.0.1976} [Minecraft Forge] (forge-1.9.4.3.jar) \r\n\tUCHIJAAAA\tactuallyadditions{1.9.4-r45} [Actually Additions] (ActuallyAdditions-1.9.4-r45.jar) \r\n\tUCHIJAAAA\talt{1.05} [Additional Loot Tables] (AdditionalLootTables_1.9.4-1.05.jar) \r\n\tUCHIJAAAA\tadobeblocks{6.0.0.13} [Adobe Blocks 2] (AdobeBlocks-6.0.0.13.jar) \r\n\tUCHIJAAAA\tadobeblocksvc{3.2-fork} [Adobe Blocks Version Checker] (AdobeBlocks-6.0.0.13.jar) \r\n\tUCHIJAAAA\tJEI{3.6.7.216} [Just Enough Items] (jei_1.9.4-3.6.7.216.jar) \r\n\tUCHIJAAAA\tAppleCore{1.3.4} [AppleCore] (AppleCore-mc1.9.4-1.3.4.jar) \r\n\tUCHIJAAAA\tbasemetals{2.3.2} [Base Metals] (BaseMetals_1.9.4-2.3.2.6.jar) \r\n\tUCHIJAAAA\tBaubles{1.2.1.0} [Baubles] (Baubles-1.9.4-1.2.1.0 (1).jar) \r\n\tUCHIJAAAA\tBiomesOPlenty{4.1.0.2033} [Biomes O' Plenty] (BiomesOPlenty-1.9.4-4.1.0.2033-universal.jar) \r\n\tUCHIJAAAA\tBloodMagic{1.9.4-2.0.1-40} [Blood Magic: Alchemical Wizardry] (BloodMagic-1.9.4-2.0.1-40.jar) \r\n\tUCHIJAAAA\tBotania{r1.8-312} [Botania] (Botania-unofficial.r1.8-312.jar) \r\n\tUCHIJAAAA\tChameleon{1.9-2.1.4} [Chameleon] (Chameleon-1.9-2.1.4.jar) \r\n\tUCHIJAAAA\tclaycraft{2.0} [Claycraft] (Claycraftmod v2.0 - MC1.9.4 Forge.jar) \r\n\tUCHIJAAAA\tnt{1.0} [Climbing Claw] (ClimbingClawV1.0[1.9.4].jar) \r\n\tUCHIJAAAA\tcookingforblockheads{3.1.26} [Cooking for Blockheads] (CookingForBlockheads-mc1.9.4-3.1.26.jar) \r\n\tUCHIJAAAA\tMineTweaker3{3.0.9} [MineTweaker 3] (CraftTweaker-1.9-3.0.9.jar) \r\n\tUCHIJAAAA\tendercore{1.9.4-0.4.0.26-alpha} [EnderCore] (EnderCore-1.9.4-0.4.0.26-alpha.jar) \r\n\tUCHIJAAAA\tEnderIO{1.9.4-3.0.0.46_alpha} [Ender IO] (EnderIO-1.9.4-3.0.0.46_alpha.jar) \r\n\tUCHIJAAAA\tIronChest{6.0.146.788} [Iron Chest] (ironchest-1.9.4-6.0.146.788.jar) \r\n\tUCHIJAAAA\tmoreanvils{6.0.1.10} [More Anvils] (MoreAnvils-6.0.1.10.jar) \r\n\tUCHIJAAAA\txreliquary{1.9.4-1.3.2.390} [Reliquary] (Reliquary-1.9.4-1.3.2.390.jar) \r\n\tUCHIJAAAA\tfluidity{6.0.0.6} [Fluidity] (Fluidity-6.0.0.6.jar) \r\n\tUCHIJAAAA\tforestry{5.0.23.170} [Forestry] (forestry_1.9.4-5.0.23.170.jar) \r\n\tUCHIJAAAA\tsubstratum{1.5.0.1} [Substratum] (Substratum-1.9.4-1.5.0.1.jar) \r\n\tUCHIJAAAA\tfoundry{2.0.0.0-beta5} [Foundry] (Foundry-1.9.4-2.0.0.0-beta5.jar) \r\n\tUCHIJAAAA\tfyrestone{0.6.4.1} [Fyrestone] (fyrestone-0.6.4.1.jar) \r\n\tUCHIJAAAA\tgrapplemod{1.9.4-v7} [Grappling hook mod] (grapplemod-1.9.4-v7.jar) \r\n\tUCHIJAAAA\thempfarmer{1.9.4-1968-1.51} [HempFarmer] (hempfarmer-1.9.4-1968-1.51.jar) \r\n\tUCHIJAAAA\thopperducts{1.4.7} [Hopper Ducts] (hopperducts-mc1.9.4-1.4.7 (1).jar) \r\n\tUCHIJAAAA\tinventorysorter{0.9.1+41} [Simple Inventory sorting] (inventorysorter-1.9.4-0.9.1+41.jar) \r\n\tUCHIJAAAA\tmantle{1.9.4-0.10.2.jenkins149} [Mantle] (Mantle-1.9.4-0.10.2.jar) \r\n\tUCHIJAAAA\tmodernmetals{0.11.0} [Modern Metals] (ModernMetals-0.11.0.jar) \r\n\tUCHIJAAAA\tmoreanvilsvc{3.2} [More Anvils Version Checker] (MoreAnvils-6.0.1.10.jar) \r\n\tUCHIJAAAA\tyurtmod{5.01} [Nomadic Tents] (NomadicTents[1.9.4]-5.01.jar) \r\n\tUCHIJAAAA\torespawn{1.0.3} [Ore Spawn] (OreSpawn_1.9.4-1.0.3.jar) \r\n\tUCHIJAAAA\tharvestcraft{1.9.4-pre} [Pam's HarvestCraft] (Pam's HarvestCraft 1.9.4c.jar) \r\n\tUCHIJAAAA\tthutcore{3.1.6} [ThutCore] (thutcore-1.9.4-3.1.6.jar) \r\n\tUCHIJAAAA\tNBTEditpqb{1.8.9-1.0} [In-game NBTEdit - Pokecube Edition] (Pokecube Core-3.4.5.jar) \r\n\tUCHIJAAAA\tpokecube{3.4.5} [Pokécube Core] (Pokecube Core-3.4.5.jar) \r\n\tUCHIJAAAA\tpokecube_ml{0.1.0} [Pokecube Model Loader] (Pokecube Core-3.4.5.jar) \r\n\tUCHIJAAAA\tpokecube_mobs{2.1.4} [Pokécube Mobs] (Pokecube Mobs-2.1.4.jar) \r\n\tUCHIJAAAA\tpokecube_adventures{3.4.6} [Pokécube Revival] (Pokecube Revival-3.4.6.jar) \r\n\tUCHIJAAAA\tpokecube_compat{1.0} [Pokecube Compat] (Pokecube Revival-3.4.6.jar) \r\n\tUCHIJAAAA\tredstonepaste{1.7.4} [Redstone Paste] (redstonepaste-mc1.9.4-1.7.4.jar) \r\n\tUCHIJAAAA\tRoguelike{1.5.3} [Roguelike Dungeons] (RoguelikeDungeons-1.9.4-1.5.3.jar) \r\n\tUCHIJAAAA\troots{0.007} [Roots] (roots-0.007.jar) \r\n\tUCHIJAAAA\tAS_Ruins{16.1} [Ruins Spawning System] (Ruins-1.9.4.jar) \r\n\tUCHIJAAAA\tSaltMod{1.8.c} [Salty Mod] (SaltyMod-1.9.4-1.8.c_beta-3.jar) \r\n\tUCHIJAAAA\tsimplycaterpillar{6.0.1.19} [Simply Caterpillar] (SimplyCaterpillar-Forge-6.0.1.19.jar) \r\n\tUCHIJAAAA\tslabcraftmod{5.0} [Slabcraft] (Slabcraftmod v5.0 - MC1.9.4 Forge.jar) \r\n\tUCHIJAAAA\tstaircraftmod{5.0} [Staircraft] (Staircraftmod v5.0 - MC1.9.4 Forge.jar) \r\n\tUCHIJAAAA\tstoragenetwork{1.12.0} [Storage Network] (StorageNetwork-1.9.4-1.12.0.jar) \r\n\tUCHIJAAAA\ttconstruct{1.9.4-2.3.3.jenkins263} [Tinkers' Construct] (TConstruct-1.9.4-2.3.3.jar) \r\n\tUCHIJAAAA\tthuttech{3.0.3} [Thut's Tech] (thuttech-3.0.3.jar) \r\n\tUCHIJAAAA\ttorcharrowsmod{1.9.4-2} [TorchArrowsMod] (torcharrows-1.9.4-2.jar) \r\n\tUCHIJAAAA\tAS_UpdateCheck{1.1.7} [AtomicStryker Update Check Mod] (UpdateCheckerMod-1.9.4.jar) \r\n\tUCHIJAAAA\twallcraftmod{5.0} [Wallcraft] (Wallcraftmod v5.0 - MC1.9.4 Forge.jar) \r\n\tLoaded coremods (and transformers): \r\nAppleCore (AppleCore-mc1.9.4-1.3.4.jar)\r\n  squeek.applecore.asm.TransformerModuleHandler\r\nNWRTweak (redstonepaste-mc1.9.4-1.7.4.jar)\r\n  net.fybertech.nwr.NWRTransformer\r\nEnderCorePlugin (EnderCore-1.9.4-0.4.0.26-alpha.jar)\r\n  com.enderio.core.common.transform.EnderCoreTransformer\r\n\tPulsar/tconstruct loaded Pulses: \r\n\t\t- TinkerCommons (Enabled/Forced)\r\n\t\t- TinkerWorld (Enabled/Not Forced)\r\n\t\t- TinkerTools (Enabled/Not Forced)\r\n\t\t- TinkerSmeltery (Enabled/Not Forced)\r\n\t\t- TinkerGadgets (Enabled/Not Forced)\r\n\t\t- TinkerOredict (Enabled/Forced)\r\n\t\t- TinkerIntegration (Enabled/Forced)\r\n\t\t- TinkerFluids (Enabled/Forced)\r\n\t\t- TinkerMaterials (Enabled/Forced)\r\n\r\n\tEnderIO: No known problems detected.\r\n\tProfiler Position: N/A (disabled)\r\n\tPlayer Count: 3 / 20; [EntityPlayerMP['jacobwk'/221, l='world', x=195.41, y=78.00, z=282.88], EntityPlayerMP['RedDoomYak'/255, l='world', x=638.54, y=90.00, z=24.83], EntityPlayerMP['LadySinger'/635, l='world', x=278.05, y=54.50, z=375.39]]\r\n\tIs Modded: Definitely; Server brand changed to 'fml,forge'\r\n\tType: Dedicated Server (map_server.txt)\r\n\r\n\r\n#### What happens:\r\nAfter a victorious trainer battle, player attacked the trainer with his monster which immediately crashed the server.  Reliably reproduceable.  Maybe connected to the auto-defend feature of trainers when attacked?\r\n\r\n#### What you expected to happen:\r\nDifferent handling of the event (error message of invalid target/ engagement if valid) without crashing server.\r\n\r\n\r\n#### Steps to reproduce:\r\n\r\n1.Battle Trainer\r\n2.Win\r\n3.Use command key to attack trainer with active monster.\r\n...\r\n\r\n____\r\n#### Affected Versions (Do *not* use \"latest\"):\r\n\r\n- Pokecube Core:3.4.5\r\n- Pokecube Revival (if applicable):3.4.6\r\n- Pokecube Mobs (if applicable):2.1.4\r\n- Minecraft: 1.9.4\r\n- Forge:1.9.4-x.1976\r\n"},"comment":{"url":"https://api.github.com/repos/Thutmose/Pokecube/issues/comments/229852013","html_url":"https://github.com/Thutmose/Pokecube/issues/88#issuecomment-229852013","issue_url":"https://api.github.com/repos/Thutmose/Pokecube/issues/88","id":229852013,"user":{"login":"Thutmose","id":2363472,"avatar_url":"https://avatars.githubusercontent.com/u/2363472?v=3","gravatar_id":"","url":"https://api.github.com/users/Thutmose","html_url":"https://github.com/Thutmose","followers_url":"https://api.github.com/users/Thutmose/followers","following_url":"https://api.github.com/users/Thutmose/following{/other_user}","gists_url":"https://api.github.com/users/Thutmose/gists{/gist_id}","starred_url":"https://api.github.com/users/Thutmose/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Thutmose/subscriptions","organizations_url":"https://api.github.com/users/Thutmose/orgs","repos_url":"https://api.github.com/users/Thutmose/repos","events_url":"https://api.github.com/users/Thutmose/events{/privacy}","received_events_url":"https://api.github.com/users/Thutmose/received_events","type":"User","site_admin":false},"created_at":"2016-07-01T04:36:08Z","updated_at":"2016-07-01T04:36:08Z","body":"This should be fixed in Pokecube Revival 3.4.7/4.1.7 which I just uploaded to curse."}}
{"actor":{"display_login":"Thutmose"}}