1. Guest, as per the stickied thread, this forum has not been in use since 2014. All bugs and feature requests should be posted to JIRA.

Crash Exception ticking entity!

Discussion in 'Bugs & Feature Requests' started by joehot200, May 8, 2013.

  1. joehot200

    Supporter

    Hi, random crash bug, dosent happen on any particular event, no player was teleporting or joining, etc...

    Code (Text):

    01:22:22 [SEVERE] net.minecraft.server.v1_5_R3.ReportedException: Ticking entity
    01:22:22 [SEVERE]      at net.minecraft.server.v1_5_R3.MinecraftServer.r(MinecraftServer.java:566)
    01:22:22 [SEVERE]      at net.minecraft.server.v1_5_R3.DedicatedServer.r(DedicatedServer.java:224)
    01:22:22 [SEVERE]      at net.minecraft.server.v1_5_R3.MinecraftServer.q(MinecraftServer.java:472)
    01:22:22 [SEVERE]      at net.minecraft.server.v1_5_R3.MinecraftServer.run(MinecraftServer.java:404)
    01:22:22 [SEVERE]      at net.minecraft.server.v1_5_R3.ThreadServerApplication.run(SourceFile:573)
    01:22:22 [SEVERE] Caused by: java.lang.NullPointerException
    01:22:22 [SEVERE]      at net.minecraft.server.v1_5_R3.Entity.teleportTo(Entity.java:1781)
    01:22:22 [SEVERE]      at net.minecraft.server.v1_5_R3.Entity.c(Entity.java:1774)
    01:22:22 [SEVERE]      at net.minecraft.server.v1_5_R3.BlockEnderPortal.a(BlockEnderPortal.java:47)
    01:22:22 [SEVERE]      at net.minecraft.server.v1_5_R3.Entity.C(Entity.java:758)
    01:22:22 [SEVERE]      at net.minecraft.server.v1_5_R3.Entity.move(Entity.java:709)
    01:22:22 [SEVERE]      at net.minecraft.server.v1_5_R3.EntityLiving.e(EntityLiving.java:1087)
    01:22:22 [SEVERE]      at net.minecraft.server.v1_5_R3.EntityLiving.c(EntityLiving.java:1339)
    01:22:22 [SEVERE]      at net.minecraft.server.v1_5_R3.EntityAgeable.c(EntityAgeable.java:72)
    01:22:22 [SEVERE]      at net.minecraft.server.v1_5_R3.EntityAnimal.c(SourceFile:30)
    01:22:22 [SEVERE]      at net.minecraft.server.v1_5_R3.EntityLiving.l_(EntityLiving.java:528)
    01:22:22 [SEVERE]      at net.minecraft.server.v1_5_R3.World.entityJoinedWorld(World.java:1456)
    01:22:22 [SEVERE]      at net.minecraft.server.v1_5_R3.WorldServer.entityJoinedWorld(WorldServer.java:646)
    01:22:22 [SEVERE]      at net.minecraft.server.v1_5_R3.World.playerJoinedWorld(World.java:1432)
    01:22:22 [SEVERE]      at net.minecraft.server.v1_5_R3.World.tickEntities(World.java:1304)
    01:22:22 [SEVERE]      at net.minecraft.server.v1_5_R3.WorldServer.tickEntities(WorldServer.java:512)
    01:22:22 [SEVERE]      at net.minecraft.server.v1_5_R3.MinecraftServer.r(MinecraftServer.java:562)
    01:22:22 [SEVERE]      ... 4 more
    01:22:22 [SEVERE] Encountered an unexpected exception ReportedException
    net.minecraft.server.v1_5_R3.ReportedException: Ticking entity
            at net.minecraft.server.v1_5_R3.MinecraftServer.r(MinecraftServer.java:566)
            at net.minecraft.server.v1_5_R3.DedicatedServer.r(DedicatedServer.java:224)
            at net.minecraft.server.v1_5_R3.MinecraftServer.q(MinecraftServer.java:472)
            at net.minecraft.server.v1_5_R3.MinecraftServer.run(MinecraftServer.java:404)
            at net.minecraft.server.v1_5_R3.ThreadServerApplication.run(SourceFile:573)
    Caused by: java.lang.NullPointerException
            at net.minecraft.server.v1_5_R3.Entity.teleportTo(Entity.java:1781)
            at net.minecraft.server.v1_5_R3.Entity.c(Entity.java:1774)
            at net.minecraft.server.v1_5_R3.BlockEnderPortal.a(BlockEnderPortal.java:47)
            at net.minecraft.server.v1_5_R3.Entity.C(Entity.java:758)
            at net.minecraft.server.v1_5_R3.Entity.move(Entity.java:709)
            at net.minecraft.server.v1_5_R3.EntityLiving.e(EntityLiving.java:1087)
            at net.minecraft.server.v1_5_R3.EntityLiving.c(EntityLiving.java:1339)
            at net.minecraft.server.v1_5_R3.EntityAgeable.c(EntityAgeable.java:72)
            at net.minecraft.server.v1_5_R3.EntityAnimal.c(SourceFile:30)
            at net.minecraft.server.v1_5_R3.EntityLiving.l_(EntityLiving.java:528)
            at net.minecraft.server.v1_5_R3.World.entityJoinedWorld(World.java:1456)
            at net.minecraft.server.v1_5_R3.WorldServer.entityJoinedWorld(WorldServer.java:646)
            at net.minecraft.server.v1_5_R3.World.playerJoinedWorld(World.java:1432)
            at net.minecraft.server.v1_5_R3.World.tickEntities(World.java:1304)
            at net.minecraft.server.v1_5_R3.WorldServer.tickEntities(WorldServer.java:512)
            at net.minecraft.server.v1_5_R3.MinecraftServer.r(MinecraftServer.java:562)
            ... 4 more
     
    (pastebin here)

    I know its a problem with ticking entities - but how to solve?

    Thanks for any help.
     
  2. Have you tried getting rid of your "poorly coded" plugin?
     
  3. joehot200

    Supporter

    I have.
     
  4. joehot200

    Supporter

  5. My server gets this issue all the time, it's not related to plugins as far as I can tell. *Something* is happening around your End Portals. Log in and quickly teleport out of the chunk then select the area with worldedit with the //pos1 and //pos2 commands and remove the area. It's the only way I've been able to solve it. Even then it comes back every once and awhile.

    Look in your crash report for the exact coords it's having an issue with.

    You can use the OnServerJoin event in the Macros mod to quickly get the TP done before the server crashes. Then you can use worldedit as follows:
    Code (Text):
    //pos1 x,y,z
    //pos2 x,y,z
    //outset 5
    //set air
     
     
  6. joehot200

    Supporter

    chrisk123999 So what exactly is causing the problem? i could probably code a plugin to solve it.
     
    • Funny Funny x 1
  7. No clue. It might be something Spigot related what plugins you run?
     
  8. No crash logs? :3
     
    • Agree Agree x 1
  9. He just didn't post it, but I've posted this issue before nobody could figure it out then.
     
    • Like Like x 1
  10. joehot200

    Supporter

    I deleted the end world and reset the bukkit.yml. The server now takes about 7 hours to crash instead of 10 minutes - Much better, though would still like a permament soloution D:
     
  11. Why would you do that? It's the portal that is the issue.
    What plugins do you have running? I'd like to if we can figure out if it's a plugin issue.
    Also you should have a crash report in your crash reports folder.
     
  12. joehot200

    Supporter

    I figured it may be the part of where the player ends up after going through the portal.
     
  13. Dmck2b

    Services Staff

    I had an extremely similar issue on my server, I traced the issue back to being my End portals not actually functioning and a mob trying to go through it as I ran into issues when I was actually trying to get my portals back working, and a silverfish chased me and fell into the portal, causing the crash.

    What type of server do you run? If its creative with item spawning, consider blocking the placement of ender portal frames/portal blocks. If its survival, check if your end is functioning right.
     
  14. joehot200

    Supporter

    What if i coded a plugin where a player was teleported to the end if they were within 1 block distance of a end portal?
     
    • Funny Funny x 1
  15. What if you'd stop calling your Java mess "coding"?
     
    • Old Old x 1
  16. Dmck2b

    Services Staff

    Doing a quick check, if you want to do that you will either want to add a customised spawn to the end or protect the areas around it, as reloading/teleporting to the end does not clear the spawn platform of obstructions like the portal block does.
     
    • Informative Informative x 1
  17. joehot200

    Supporter

    The code you saw i did 7 months ago....
     
  18. At least you didn't post a stupid picture again.
     
    • Optimistic Optimistic x 1