Minecraft
  1. Minecraft
  2. MC-99661

Summoning a LeashKnot with a passenger entity crashes

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: Minecraft 1.9, Minecraft 1.9.1 Pre-Release 3, Minecraft 1.9.2, Minecraft 16w15a, Minecraft 16w15b, Minecraft 1.9.3 Pre-Release 2, Minecraft 1.9.3 Pre-Release 3, Minecraft 1.9.4, Minecraft 16w20a, Minecraft 16w21a, Minecraft 16w21b, Minecraft 1.10 Pre-Release 1, Minecraft 1.10 Pre-Release 2, Minecraft 1.10, Minecraft 1.10.1, Minecraft 1.10.2, Minecraft 16w33a, Minecraft 16w39b, Minecraft 16w39c, Minecraft 16w40a
    • Fix Version/s: Minecraft 16w41a
    • Security Level: Minecraft - Public (Viewable by everyone)
    • Labels:
      None
    • Confirmation Status:
      Confirmed

      Description

      The following is the command in question:

      /summon leash_knot ~ ~ ~ {Passengers:[{id:Zombie}]}
      

      DO NOT USE ON VALUED WORLD

      After running this command once, the game will crash. When you re-enter the world and run the same command, the game will crash again but also delete your world (the level.dat file)

      Unfortunately this happened to me on a valuable world and so I lost that world. It was also stupid of me not to make any back-ups, but it was only one of the first nights I was working on it, and I shouldn't have to rely on making back-ups.

      I believe the problem is when the LeashKnot naturally despawns, the passengers 'pop-off' and cause issues. In both cases, the timing of the crash after spawning seems to be consistent with the lifetime of the LeashKnot.


      java.lang.NullPointerException: Ticking entity
      	at sa.A(SourceFile:1287)
      	at sa.p(SourceFile:1834)
      	at rr.aw(SourceFile:1498)
      	at sa.aw(SourceFile:1840)
      	at aht.a(SourceFile:1513)
      	at lp.a(SourceFile:719)
      	at aht.g(SourceFile:1493)
      	at aht.a(SourceFile:1559)
      	at lp.a(SourceFile:719)
      	at aht.g(SourceFile:1493)
      	at aht.k(SourceFile:1383)
      	at lp.k(SourceFile:552)
      

      Code analysis by [Helper] Marcono1234 can be found in this comment.

      1. crash-2016-03-16_20.55.34-server.txt
        4 kB
        Dwittyy
      2. crash-2016-08-18_12.25.06-server.txt
        4 kB
        [Helper] SunCat
      3. crash-2016-10-11_20.30.54-server.txt
        4 kB
        [Helper] SunCat

        Issue Links

          Activity

          Hide
          [Helper] null added a comment -

          Confirmed for 1.10-pre1.

          Show
          [Helper] null added a comment - Confirmed for 1.10-pre1 .
          Hide
          [Helper] null added a comment -

          Confirmed for 1.10-pre2.

          Show
          [Helper] null added a comment - Confirmed for 1.10-pre2 .
          Hide
          [Helper] null added a comment -

          Confirmed for 1.10.

          Show
          [Helper] null added a comment - Confirmed for 1.10 .
          Hide
          [Helper] null added a comment -

          Confirmed for 1.10.1.

          Show
          [Helper] null added a comment - Confirmed for 1.10.1 .
          Hide
          [Helper] SunCat added a comment -

          I still get the crash in 16w40a

          Show
          [Helper] SunCat added a comment - I still get the crash in 16w40a

            People

            • Assignee:
              [Mojang] Agnes Larsson
              Reporter:
              Dwittyy
            • Votes:
              1 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                CHK: