LordFokas / StargateTech2

http://mod-stargatetech.com
Other
29 stars 10 forks source link

Crash (1.6.4, v0.7.4) #83

Closed Cronosus closed 9 years ago

Cronosus commented 10 years ago

i have this crash on SP, after placing many shield emitters (very many :D) :warning: shield block are limited in config, what about limit for emiters too?

2014-08-15 22:42:01 [INFO] [STDERR] net.minecraft.util.ReportedException: Ticking entity 2014-08-15 22:42:01 [INFO] [STDERR] at net.minecraft.world.World.func_72939_s(World.java:2172) 2014-08-15 22:42:01 [INFO] [STDERR] at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1921) 2014-08-15 22:42:01 [INFO] [STDERR] at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:910) 2014-08-15 22:42:01 [INFO] [STDERR] at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:838) 2014-08-15 22:42:01 [INFO] [STDERR] at net.minecraft.client.main.Main.main(SourceFile:101) 2014-08-15 22:42:01 [INFO] [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2014-08-15 22:42:01 [INFO] [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 2014-08-15 22:42:01 [INFO] [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 2014-08-15 22:42:01 [INFO] [STDERR] at java.lang.reflect.Method.invoke(Unknown Source) 2014-08-15 22:42:01 [INFO] [STDERR] at net.minecraft.launchwrapper.Launch.launch(Launch.java:131) 2014-08-15 22:42:01 [INFO] [STDERR] at net.minecraft.launchwrapper.Launch.main(Launch.java:27) 2014-08-15 22:42:01 [INFO] [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2014-08-15 22:42:01 [INFO] [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 2014-08-15 22:42:01 [INFO] [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 2014-08-15 22:42:01 [INFO] [STDERR] at java.lang.reflect.Method.invoke(Unknown Source) 2014-08-15 22:42:01 [INFO] [STDERR] at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:273) 2014-08-15 22:42:01 [INFO] [STDERR] at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:363) 2014-08-15 22:42:01 [INFO] [STDERR] at org.multimc.EntryPoint.listen(EntryPoint.java:165) 2014-08-15 22:42:01 [INFO] [STDERR] at org.multimc.EntryPoint.main(EntryPoint.java:54) 2014-08-15 22:42:01 [INFO] [STDERR] Caused by: java.lang.NullPointerException 2014-08-15 22:42:01 [INFO] [STDERR] at stargatetech2.enemy.tileentity.TileShield.getOwner(TileShield.java:53) 2014-08-15 22:42:01 [INFO] [STDERR] at stargatetech2.enemy.block.BlockShield.func_71871_a(BlockShield.java:51) 2014-08-15 22:42:01 [INFO] [STDERR] at net.minecraft.world.World.func_72945_a(World.java:1684) 2014-08-15 22:42:01 [INFO] [STDERR] at net.minecraft.entity.Entity.func_70091_d(Entity.java:740) 2014-08-15 22:42:01 [INFO] [STDERR] at net.minecraft.entity.EntityLivingBase.func_70612_e(EntityLivingBase.java:1691) 2014-08-15 22:42:01 [INFO] [STDERR] at net.minecraft.entity.player.EntityPlayer.func_70612_e(EntityPlayer.java:1900) 2014-08-15 22:42:01 [INFO] [STDERR] at net.minecraft.entity.EntityLivingBase.func_70636_d(EntityLivingBase.java:2033) 2014-08-15 22:42:01 [INFO] [STDERR] at net.minecraft.entity.player.EntityPlayer.func_70636_d(EntityPlayer.java:608) 2014-08-15 22:42:01 [INFO] [STDERR] at net.minecraft.client.entity.EntityPlayerSP.func_70636_d(EntityPlayerSP.java:307) 2014-08-15 22:42:01 [INFO] [STDERR] at net.minecraft.entity.EntityLivingBase.func_70071h(EntityLivingBase.java:1826) 2014-08-15 22:42:01 [INFO] [STDERR] at net.minecraft.entity.player.EntityPlayer.func_70071h(EntityPlayer.java:342) 2014-08-15 22:42:01 [INFO] [STDERR] at net.minecraft.client.entity.EntityClientPlayerMP.func_70071h(SourceFile:46) 2014-08-15 22:42:01 [INFO] [STDERR] at net.minecraft.world.World.func_72866_a(World.java:2350) 2014-08-15 22:42:01 [INFO] [STDERR] at net.minecraft.world.World.func_72870_g(World.java:2311) 2014-08-15 22:42:01 [INFO] [STDERR] at net.minecraft.world.World.func_72939_s(World.java:2157) 2014-08-15 22:42:01 [INFO] [STDERR] ... 18 more 2014-08-15 22:42:01 [INFO] [STDOUT] ---- Minecraft Crash Report ---- 2014-08-15 22:42:01 [INFO] [STDOUT] // Ooh. Shiny. 2014-08-15 22:42:01 [INFO] [STDOUT] 2014-08-15 22:42:01 [INFO] [STDOUT] Time: 8/15/14 10:42 PM 2014-08-15 22:42:01 [INFO] [STDOUT] Description: Ticking entity 2014-08-15 22:42:01 [INFO] [STDOUT] 2014-08-15 22:42:01 [INFO] [STDOUT] java.lang.NullPointerException 2014-08-15 22:42:01 [INFO] [STDOUT] at stargatetech2.enemy.tileentity.TileShield.getOwner(TileShield.java:53) 2014-08-15 22:42:01 [INFO] [STDOUT] at stargatetech2.enemy.block.BlockShield.func_71871_a(BlockShield.java:51) 2014-08-15 22:42:01 [INFO] [STDOUT] at net.minecraft.world.World.func_72945_a(World.java:1684) 2014-08-15 22:42:01 [INFO] [STDOUT] at net.minecraft.entity.Entity.func_70091_d(Entity.java:740) 2014-08-15 22:42:01 [INFO] [STDOUT] at net.minecraft.entity.EntityLivingBase.func_70612_e(EntityLivingBase.java:1691) 2014-08-15 22:42:01 [INFO] [STDOUT] at net.minecraft.entity.player.EntityPlayer.func_70612_e(EntityPlayer.java:1900) 2014-08-15 22:42:01 [INFO] [STDOUT] at net.minecraft.entity.EntityLivingBase.func_70636_d(EntityLivingBase.java:2033) 2014-08-15 22:42:01 [INFO] [STDOUT] at net.minecraft.entity.player.EntityPlayer.func_70636_d(EntityPlayer.java:608) 2014-08-15 22:42:01 [INFO] [STDOUT] at net.minecraft.client.entity.EntityPlayerSP.func_70636_d(EntityPlayerSP.java:307) 2014-08-15 22:42:01 [INFO] [STDOUT] at net.minecraft.entity.EntityLivingBase.func_70071h(EntityLivingBase.java:1826) 2014-08-15 22:42:01 [INFO] [STDOUT] at net.minecraft.entity.player.EntityPlayer.func_70071h(EntityPlayer.java:342) 2014-08-15 22:42:01 [INFO] [STDOUT] at net.minecraft.client.entity.EntityClientPlayerMP.func_70071h(SourceFile:46) 2014-08-15 22:42:01 [INFO] [STDOUT] at net.minecraft.world.World.func_72866_a(World.java:2350) 2014-08-15 22:42:01 [INFO] [STDOUT] at net.minecraft.world.World.func_72870_g(World.java:2311) 2014-08-15 22:42:01 [INFO] [STDOUT] at net.minecraft.world.World.func_72939_s(World.java:2157) 2014-08-15 22:42:01 [INFO] [STDOUT] at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1921) 2014-08-15 22:42:01 [INFO] [STDOUT] at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:910) 2014-08-15 22:42:01 [INFO] [STDOUT] at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:838) 2014-08-15 22:42:01 [INFO] [STDOUT] at net.minecraft.client.main.Main.main(SourceFile:101) 2014-08-15 22:42:01 [INFO] [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2014-08-15 22:42:01 [INFO] [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 2014-08-15 22:42:01 [INFO] [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 2014-08-15 22:42:01 [INFO] [STDOUT] at java.lang.reflect.Method.invoke(Unknown Source) 2014-08-15 22:42:01 [INFO] [STDOUT] at net.minecraft.launchwrapper.Launch.launch(Launch.java:131) 2014-08-15 22:42:01 [INFO] [STDOUT] at net.minecraft.launchwrapper.Launch.main(Launch.java:27) 2014-08-15 22:42:01 [INFO] [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2014-08-15 22:42:01 [INFO] [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 2014-08-15 22:42:01 [INFO] [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 2014-08-15 22:42:01 [INFO] [STDOUT] at java.lang.reflect.Method.invoke(Unknown Source) 2014-08-15 22:42:01 [INFO] [STDOUT] at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:273) 2014-08-15 22:42:01 [INFO] [STDOUT] at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:363) 2014-08-15 22:42:01 [INFO] [STDOUT] at org.multimc.EntryPoint.listen(EntryPoint.java:165) 2014-08-15 22:42:01 [INFO] [STDOUT] at org.multimc.EntryPoint.main(EntryPoint.java:54) 2014-08-15 22:42:01 [INFO] [STDOUT] 2014-08-15 22:42:01 [INFO] [STDOUT] 2014-08-15 22:42:01 [INFO] [STDOUT] A detailed walkthrough of the error, its code path and all known details is as follows: 2014-08-15 22:42:01 [INFO] [STDOUT] --------------------------------------------------------------------------------------- 2014-08-15 22:42:01 [INFO] [STDOUT] 2014-08-15 22:42:01 [INFO] [STDOUT] -- Head -- 2014-08-15 22:42:01 [INFO] [STDOUT] Stacktrace: 2014-08-15 22:42:01 [INFO] [STDOUT] at stargatetech2.enemy.tileentity.TileShield.getOwner(TileShield.java:53) 2014-08-15 22:42:01 [INFO] [STDOUT] at stargatetech2.enemy.block.BlockShield.func_71871_a(BlockShield.java:51) 2014-08-15 22:42:01 [INFO] [STDOUT] at net.minecraft.world.World.func_72945_a(World.java:1684) 2014-08-15 22:42:01 [INFO] [STDOUT] at net.minecraft.entity.Entity.func_70091_d(Entity.java:740) 2014-08-15 22:42:01 [INFO] [STDOUT] at net.minecraft.entity.EntityLivingBase.func_70612_e(EntityLivingBase.java:1691) 2014-08-15 22:42:01 [INFO] [STDOUT] at net.minecraft.entity.player.EntityPlayer.func_70612_e(EntityPlayer.java:1900) 2014-08-15 22:42:01 [INFO] [STDOUT] at net.minecraft.entity.EntityLivingBase.func_70636_d(EntityLivingBase.java:2033) 2014-08-15 22:42:01 [INFO] [STDOUT] at net.minecraft.entity.player.EntityPlayer.func_70636_d(EntityPlayer.java:608) 2014-08-15 22:42:01 [INFO] [STDOUT] at net.minecraft.client.entity.EntityPlayerSP.func_70636_d(EntityPlayerSP.java:307) 2014-08-15 22:42:01 [INFO] [STDOUT] at net.minecraft.entity.EntityLivingBase.func_70071h(EntityLivingBase.java:1826) 2014-08-15 22:42:01 [INFO] [STDOUT] at net.minecraft.entity.player.EntityPlayer.func_70071h(EntityPlayer.java:342) 2014-08-15 22:42:01 [INFO] [STDOUT] at net.minecraft.client.entity.EntityClientPlayerMP.func_70071h(SourceFile:46) 2014-08-15 22:42:01 [INFO] [STDOUT] at net.minecraft.world.World.func_72866_a(World.java:2350) 2014-08-15 22:42:01 [INFO] [STDOUT] at net.minecraft.world.World.func_72870_g(World.java:2311) 2014-08-15 22:42:01 [INFO] [STDOUT] 2014-08-15 22:42:01 [INFO] [STDOUT] -- Entity being ticked -- 2014-08-15 22:42:01 [INFO] [STDOUT] Details: 2014-08-15 22:42:01 [INFO] [STDOUT] Entity Type: null (net.minecraft.client.entity.EntityClientPlayerMP) 2014-08-15 22:42:01 [INFO] [STDOUT] Entity ID: 15 2014-08-15 22:42:01 [INFO] [STDOUT] Entity Name: 2014-08-15 22:42:01 [INFO] [STDOUT] Entity's Exact location: -279.85, 7.21, 185.59 2014-08-15 22:42:01 [INFO] [STDOUT] Entity's Block location: World: (-280,7,185), Chunk: (at 8,0,9 in -18,11; contains blocks -288,0,176 to -273,255,191), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511) 2014-08-15 22:42:01 [INFO] [STDOUT] Entity's Momentum: -0.12, 0.00, 0.27 2014-08-15 22:42:01 [INFO] [STDOUT] Stacktrace: 2014-08-15 22:42:01 [INFO] [STDOUT] at net.minecraft.world.World.func_72939_s(World.java:2157) 2014-08-15 22:42:01 [INFO] [STDOUT] 2014-08-15 22:42:01 [INFO] [STDOUT] -- Affected level -- 2014-08-15 22:42:01 [INFO] [STDOUT] Details: 2014-08-15 22:42:01 [INFO] [STDOUT] Level name: MpServer 2014-08-15 22:42:01 [INFO] [STDOUT] All players: 1 total; [EntityClientPlayerMP[''/15, l='MpServer', x=-279.85, y=7.21, z=185.59]] 2014-08-15 22:42:01 [INFO] [STDOUT] Chunk stats: MultiplayerChunkCache: 441 2014-08-15 22:42:01 [INFO] [STDOUT] Level seed: 0 2014-08-15 22:42:01 [INFO] [STDOUT] Level generator: ID 01 - flat, ver 0. Features enabled: false 2014-08-15 22:42:01 [INFO] [STDOUT] Level generator options: 2014-08-15 22:42:01 [INFO] [STDOUT] Level spawn location: World: (-291,4,194), Chunk: (at 13,0,2 in -19,12; contains blocks -304,0,192 to -289,255,207), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511) 2014-08-15 22:42:01 [INFO] [STDOUT] Level time: 275598 game time, 275598 day time 2014-08-15 22:42:01 [INFO] [STDOUT] Level dimension: 0 2014-08-15 22:42:01 [INFO] [STDOUT] Level storage version: 0x00000 - Unknown? 2014-08-15 22:42:01 [INFO] [STDOUT] Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false) 2014-08-15 22:42:01 [INFO] [STDOUT] Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false 2014-08-15 22:42:01 [INFO] [STDOUT] Forced entities: 2 total; [EntityClientPlayerMP[''/15, l='MpServer', x=-279.85, y=7.21, z=185.59], EntityWaypointContainer['unknown'/1491, l='MpServer', x=0.00, y=0.00, z=0.00]] 2014-08-15 22:42:01 [INFO] [STDOUT] Retry entities: 0 total; [] 2014-08-15 22:42:01 [INFO] [STDOUT] Server brand: fml,forge 2014-08-15 22:42:01 [INFO] [STDOUT] Server type: Integrated singleplayer server 2014-08-15 22:42:01 [INFO] [STDOUT] Stacktrace: 2014-08-15 22:42:01 [INFO] [STDOUT] at net.minecraft.client.multiplayer.WorldClient.func_72914_a(WorldClient.java:440) 2014-08-15 22:42:01 [INFO] [STDOUT] at net.minecraft.client.Minecraft.func_71396_d(Minecraft.java:2312) 2014-08-15 22:42:01 [INFO] [STDOUT] at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:856) 2014-08-15 22:42:01 [INFO] [STDOUT] at net.minecraft.client.main.Main.main(SourceFile:101) 2014-08-15 22:42:01 [INFO] [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2014-08-15 22:42:01 [INFO] [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 2014-08-15 22:42:01 [INFO] [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 2014-08-15 22:42:01 [INFO] [STDOUT] at java.lang.reflect.Method.invoke(Unknown Source) 2014-08-15 22:42:01 [INFO] [STDOUT] at net.minecraft.launchwrapper.Launch.launch(Launch.java:131) 2014-08-15 22:42:01 [INFO] [STDOUT] at net.minecraft.launchwrapper.Launch.main(Launch.java:27) 2014-08-15 22:42:01 [INFO] [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2014-08-15 22:42:01 [INFO] [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 2014-08-15 22:42:01 [INFO] [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 2014-08-15 22:42:01 [INFO] [STDOUT] at java.lang.reflect.Method.invoke(Unknown Source) 2014-08-15 22:42:01 [INFO] [STDOUT] at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:273) 2014-08-15 22:42:01 [INFO] [STDOUT] at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:363) 2014-08-15 22:42:01 [INFO] [STDOUT] at org.multimc.EntryPoint.listen(EntryPoint.java:165) 2014-08-15 22:42:01 [INFO] [STDOUT] at org.multimc.EntryPoint.main(EntryPoint.java:54) 2014-08-15 22:42:01 [INFO] [STDOUT]

LordFokas commented 10 years ago

Do you mind sending the whole log file? I need to check some other things, and the way GitHub puts it here doesn't help. It'd also help if you could take a screenshot or film the setup while / before it happens...

Thanks for the report :)

Cronosus commented 10 years ago

ok, i make little video..

Cronosus commented 10 years ago

on destroying one of emitters, all others activating. i dont know how this happen, when i create other shield system, not doing this same bug... in video not crash, but when i destroying emitters many times, crashing again :D https://www.youtube.com/watch?v=Ia7ish6Y9P8

ad. before i create this video, i increase RAM for java in mc.. maybe because this not crash instantly but after many tries

LordFokas commented 10 years ago

this is weird. Thanks for the video, I think I know what to look for. While I'm no longer supporting 1.6 (because I'm porting to 1.7.10) I will investigate this ASAP and I'll have you test in 1.7

I think this is somewhat trivial to fix :)

Cronosus commented 10 years ago

ok, thanks, and as i say before.. what about configurable maximum for emiters on one controller?

i'm waiting for 1.7.10 version :D