Skip to content

NullPointerException because "this.wrapped" is null (Fabric 1.21.1) #90

@suerion

Description

@suerion

Describe the bug
Allways get on Server an NPE

java.lang.NullPointerException: Cannot invoke "it.unimi.dsi.fastutil.objects.ReferenceArrayList.get(int)" because "this.wrapped" is null

[22:02:04] [Server thread/INFO]: [STDERR]: java.lang.NullPointerException: Cannot invoke "it.unimi.dsi.fastutil.objects.ReferenceArrayList.get(int)" because "this.wrapped" is null
[22:02:04] [Server thread/INFO]: [STDERR]: 	at knot//it.unimi.dsi.fastutil.objects.Reference2LongOpenHashMap$MapIterator.nextEntry(Reference2LongOpenHashMap.java:711)
[22:02:04] [Server thread/INFO]: [STDERR]: 	at knot//it.unimi.dsi.fastutil.objects.Reference2LongOpenHashMap$EntryIterator.next(Reference2LongOpenHashMap.java:803)
[22:02:04] [Server thread/INFO]: [STDERR]: 	at knot//it.unimi.dsi.fastutil.objects.Reference2LongOpenHashMap$EntryIterator.next(Reference2LongOpenHashMap.java:798)
[22:02:04] [Server thread/INFO]: [STDERR]: 	at knot//com.ishland.vmp.common.playerwatching.NearbyEntityTracking.tick(NearbyEntityTracking.java:155)
[22:02:04] [Server thread/INFO]: [STDERR]: 	at knot//net.minecraft.class_3898.method_18727(class_3898.java:11347)
[22:02:04] [Server thread/INFO]: [STDERR]: 	at knot//net.minecraft.class_3215.method_12127(class_3215.java:311)
[22:02:04] [Server thread/INFO]: [STDERR]: 	at knot//net.minecraft.class_3218.method_18765(class_3218.java:350)
[22:02:04] [Server thread/INFO]: [STDERR]: 	at knot//net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:1021)
[22:02:04] [Server thread/INFO]: [STDERR]: 	at knot//net.minecraft.class_3176.method_3813(class_3176.java:299)
[22:02:04] [Server thread/INFO]: [STDERR]: 	at knot//net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:912)
[22:02:04] [Server thread/INFO]: [STDERR]: 	at knot//net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:697)
[22:02:04] [Server thread/INFO]: [STDERR]: 	at knot//net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:281)
[22:02:04] [Server thread/INFO]: [STDERR]: 	at java.base/java.lang.Thread.run(Thread.java:1583)

To Reproduce
Steps to reproduce the behavior:

  1. Add VMP on Server
  2. Get error on Console

Runtime info (please complete the following information):

  • OS: Ubuntu 24
  • Minecraft version: 1.21.1
  • Mod version: 0.2.0+beta.7.170 devbuild for 1.21.1

Crash reports / logs
https://mclo.gs/Pmna2fi

Checklist

  • I am using the official version of the mod.
  • I tried the latest development version but the issue persists.
  • I searched for similar open issues and could not find an existing bug report on this.

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions