Uploaded image for project: 'Spigot'
  1. Spigot
  2. SPIGOT-6831

Papa Llama Drama (Ticking entity, trader_llama pathfinding) Crashed Minecraft Server (java.lang.IllegalArgumentException: bound must be positive)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • None
    • Operating System: Linux (amd64) version 5.4.0-74-generic (Ubuntu)
      Java Version: 17.0.1

      See full details in crash log.

    • This server is running CraftBukkit version 3339-Spigot-3c40a6c-581df18 (MC: 1.18) (Implementing API version 1.18-R0.1-SNAPSHOT)
    • Yes

      Issue: Server crashes with error "java.lang.IllegalArgumentException: bound must be positive
          at java.base/java.util.Random.nextInt(Random.java:322)
          at net.minecraft.world.entity.animal.horse.EntityLlama.b(SourceFile:411) ..." (see attached crash logs.

      Not sure if this is an error in the Minecraft codebase, or Spigot. 

      Seems to happen within seconds of a player getting in range of a fenced-in trader llama farm on our server.

      Was not able to reproduce on a new world (yet, still trying)

       

      3 Crash logs attached, along with a log file.

       

       

        1. 2021-12-02-3.log
          199 kB
          Justin Gehring
        2. crash-2021-12-02_03.28.40-server.txt
          41 kB
          Justin Gehring
        3. crash-2021-12-02_18.39.24-server.txt
          50 kB
          Justin Gehring
        4. crash-2021-12-02_22.32.12-server.txt
          41 kB
          Justin Gehring
        5. crash-2021-12-03_03.14.01-server.txt
          82 kB
          Justin Gehring
        6. crash-2021-12-03_05.07.58-server.txt
          40 kB
          Justin Gehring

            Unassigned Unassigned
            jjdb210 Justin Gehring
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: