Skip to content

Random server crash: NullPointerException in AttributeInstanceSet during world tick #627

Description

@MrNickax

Checklist

  • I have searched the existing issues and the documentation
  • I ticked all the boxes without actually reading them
  • I am using latest Leaf build from https://www.leafmc.one/download
  • I tested and couldn't replicate this issue on latest Paper or Purpur build

What behaviour is observed?

The server crashes randomly 2–3 times per day with a java.lang.NullPointerException: Exception ticking world.

The crash appears to happen during entity attribute synchronization, specifically inside AttributeInstanceSet.toArray.

What is the expected behavior?

How to reproduce?

The issue is random and hard to reproduce reliably.

Spark profiler link

https://spark.lucko.me/zDsbAZCRA9

Error log (if applicable)

https://mclo.gs/Kv1ImTs

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    upstreamUpstream related

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions