@tyfg6yugt opened this Issue on September 12th 2021

Before posting, please make sure that this hasn't already been reported by someone else.

Description

What's wrong?
wurst crashes 4 times a day

Steps To Reproduce

Please make a list of steps to reproduce the problem (ideally from a fresh Wurst installation):

  1. Install wurst
  2. update wurst
  3. if that does not work idk what to do

Screenshots / Videos (Optional)

If applicable, add screenshots, videos or other files to help explain the problem.

Crash Report

Please find your crash report file at "%appdata%/.minecraft/crash-reports", open the file in a text editor and copy-paste its content below.

---- Minecraft Crash Report ----
// I let you down. Sorry :(

Time: 12/09/2021, 4:46 pm
Description: Firing Wurst event

java.lang.NullPointerException: Cannot invoke "net.minecraft.class_2338.method_10263()" because "pos" is null
    at net.wurstclient.hacks.MobSpawnEspHack$ChunkScanner.lambda$compileBuffer$6(MobSpawnEspHack.java:370)
    at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
    at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625)
    at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
    at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
    at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
    at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
    at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
    at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596)
    at net.wurstclient.hacks.MobSpawnEspHack$ChunkScanner.compileBuffer(MobSpawnEspHack.java:372)
    at net.wurstclient.hacks.MobSpawnEspHack.onUpdate(MobSpawnEspHack.java:171)
    at net.wurstclient.events.UpdateListener$UpdateEvent.fire(UpdateListener.java:27)
    at net.wurstclient.event.EventManager.fireImpl(EventManager.java:69)
    at net.wurstclient.event.EventManager.fire(EventManager.java:42)
    at net.minecraft.class_746.handler$zee000$onTick(class_746.java:1345)
    at net.minecraft.class_746.method_5773(class_746.java:210)
    at net.minecraft.class_638.method_18646(class_638.java:179)
    at net.minecraft.class_1937.method_18472(class_1937.java:483)
    at net.minecraft.class_638.method_32124(class_638.java:167)
    at net.minecraft.class_5574.method_31791(class_5574.java:54)
    at net.minecraft.class_638.method_18116(class_638.java:163)
    at net.minecraft.class_310.method_1574(class_310.java:1750)
    at net.minecraft.class_310.method_1523(class_310.java:1081)
    at net.minecraft.class_310.method_1514(class_310.java:728)
    at net.minecraft.client.main.Main.main(Main.java:217)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:567)
    at net.fabricmc.loader.game.MinecraftGameProvider.launch(MinecraftGameProvider.java:234)
    at net.fabricmc.loader.launch.knot.Knot.launch(Knot.java:153)
    at net.fabricmc.loader.launch.knot.KnotClient.main(KnotClient.java:28)

A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Thread: Render thread
Stacktrace:
    at net.wurstclient.hacks.MobSpawnEspHack$ChunkScanner.lambda$compileBuffer$6(MobSpawnEspHack.java:370)
    at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
    at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625)
    at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
    at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
    at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
    at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
    at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
    at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596)
    at net.wurstclient.hacks.MobSpawnEspHack$ChunkScanner.compileBuffer(MobSpawnEspHack.java:372)
    at net.wurstclient.hacks.MobSpawnEspHack.onUpdate(MobSpawnEspHack.java:171)
    at net.wurstclient.events.UpdateListener$UpdateEvent.fire(UpdateListener.java:27)

-- Affected event --
Details:
    Event class: net.wurstclient.events.UpdateListener$UpdateEvent
Stacktrace:
    at net.wurstclient.event.EventManager.fireImpl(EventManager.java:69)
    at net.wurstclient.event.EventManager.fire(EventManager.java:42)
    at net.minecraft.class_746.handler$zee000$onTick(class_746.java:1345)
    at net.minecraft.class_746.method_5773(class_746.java:210)
    at net.minecraft.class_638.method_18646(class_638.java:179)

-- Entity being ticked --
Details:
    Entity Type: minecraft:player (net.minecraft.class_746)
    Entity ID: 78816
    Entity Name: Idjdjdj1397
    Entity's Exact location: -40.35, 73.00, -277.61
    Entity's Block location: World: (-41,73,-278), Section: (at 7,9,10 in -3,4,-18; chunk contains blocks -48,0,-288 to -33,255,-273), Region: (-1,-1; contains chunks -32,-32 to -1,-1, blocks -512,0,-512 to -1,255,-1)
    Entity's Momentum: 0.00, -0.08, 0.00
    Entity's Passengers: []
    Entity's Vehicle: null
Stacktrace:
    at net.minecraft.class_1937.method_18472(class_1937.java:483)
    at net.minecraft.class_638.method_32124(class_638.java:167)
    at net.minecraft.class_5574.method_31791(class_5574.java:54)
    at net.minecraft.class_638.method_18116(class_638.java:163)

-- Affected level --
Details:
    All players: 1 total; [class_746['Idjdjdj1397'/78816, l='ClientLevel', x=-40.35, y=73.00, z=-277.61]]
    Chunk stats: 841, 625
    Level dimension: minecraft:overworld
    Level spawn location: World: (0,64,1), Section: (at 0,0,1 in 0,4,0; chunk contains blocks 0,0,0 to 15,255,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
    Level time: 135668 game time, 882843465 day time
    Server brand: Paper
    Server type: Non-integrated multiplayer server
Stacktrace:
    at net.minecraft.class_638.method_8538(class_638.java:370)
    at net.minecraft.class_310.method_1587(class_310.java:2399)
    at net.minecraft.class_310.method_1514(class_310.java:747)
    at net.minecraft.client.main.Main.main(Main.java:217)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:567)
    at net.fabricmc.loader.game.MinecraftGameProvider.launch(MinecraftGameProvider.java:234)
    at net.fabricmc.loader.launch.knot.Knot.launch(Knot.java:153)
    at net.fabricmc.loader.launch.knot.KnotClient.main(KnotClient.java:28)

-- Last reload --
Details:
    Reload number: 1
    Reload reason: initial
    Finished: Yes
    Packs: Default, Fabric Mods

-- System Details --
Details:
    Minecraft Version: 1.17.1
    Minecraft Version ID: 1.17.1
    Operating System: Windows 10 (amd64) version 10.0
    Java Version: 16.0.1, Microsoft
    Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Microsoft
    Memory: 1042656112 bytes (994 MiB) / 1811939328 bytes (1728 MiB) up to 2147483648 bytes (2048 MiB)
    CPUs: 16
    Processor Vendor: AuthenticAMD
    Processor Name: AMD Ryzen 7 4800H with Radeon Graphics         
    Identifier: AuthenticAMD Family 23 Model 96 Stepping 1
    Microarchitecture: unknown
    Frequency (GHz): 2.89
    Number of physical packages: 1
    Number of physical CPUs: 8
    Number of logical CPUs: 16
    Graphics card <a href='/0'>#0</a> name: AMD Radeon(TM) Graphics
    Graphics card <a href='/0'>#0</a> vendor: Advanced Micro Devices, Inc. (0x1002)
    Graphics card <a href='/0'>#0</a> VRAM (MB): 512.00
    Graphics card <a href='/0'>#0</a> deviceId: 0x1636
    Graphics card <a href='/0'>#0</a> versionInfo: DriverVersion=27.20.11028.5001
    Graphics card <a href='/1'>#1</a> name: NVIDIA GeForce GTX 1650
    Graphics card <a href='/1'>#1</a> vendor: NVIDIA (0x10de)
    Graphics card <a href='/1'>#1</a> VRAM (MB): 4095.00
    Graphics card <a href='/1'>#1</a> deviceId: 0x1f99
    Graphics card <a href='/1'>#1</a> versionInfo: DriverVersion=30.0.14.7196
    Memory slot <a href='/0'>#0</a> capacity (MB): 8192.00
    Memory slot <a href='/0'>#0</a> clockSpeed (GHz): 3.20
    Memory slot <a href='/0'>#0</a> type: DDR4
    Virtual memory max (MB): 29611.65
    Virtual memory used (MB): 16435.61
    Swap memory total (MB): 22062.34
    Swap memory used (MB): 1451.99
    JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
    Fabric Mods: 
        fabric: Fabric API 0.39.2+1.17
        fabric-api-base: Fabric API Base 0.3.0+a02b446318
        fabric-api-lookup-api-v1: Fabric API Lookup API (v1) 1.3.0+2f75c6ce18
        fabric-biome-api-v1: Fabric Biome API (v1) 3.2.0+b06cb95b18
        fabric-blockrenderlayer-v1: Fabric BlockRenderLayer Registration (v1) 1.1.5+a02b446318
        fabric-command-api-v1: Fabric Command API (v1) 1.1.3+5ab9934c18
        fabric-commands-v0: Fabric Commands (v0) 0.2.2+92519afa18
        fabric-containers-v0: Fabric Containers (v0) 0.1.12+a02b446318
        fabric-content-registries-v0: Fabric Content Registries (v0) 0.3.0+211ddf9518
        fabric-crash-report-info-v1: Fabric Crash Report Info (v1) 0.1.5+be9da31018
        fabric-dimensions-v1: Fabric Dimensions API (v1) 2.0.11+6cefd57718
        fabric-entity-events-v1: Fabric Entity Events (v1) 1.2.2+62e33f4118
        fabric-events-interaction-v0: Fabric Events Interaction (v0) 0.4.9+a722d8c018
        fabric-events-lifecycle-v0: Fabric Events Lifecycle (v0) 0.2.1+92519afa18
        fabric-game-rule-api-v1: Fabric Game Rule API (v1) 1.0.7+6cefd57718
        fabric-item-api-v1: Fabric Item API (v1) 1.2.4+a02b446318
        fabric-item-groups-v0: Fabric Item Groups (v0) 0.2.10+b7ab612118
        fabric-key-binding-api-v1: Fabric Key Binding API (v1) 1.0.4+a02b446318
        fabric-keybindings-v0: Fabric Key Bindings (v0) 0.2.2+36b77c3e18
        fabric-lifecycle-events-v1: Fabric Lifecycle Events (v1) 1.4.4+a02b446318
        fabric-loot-tables-v1: Fabric Loot Tables (v1) 1.0.4+a02b446318
        fabric-mining-levels-v0: Fabric Mining Levels (v0) 0.1.3+92519afa18
        fabric-models-v0: Fabric Models (v0) 0.3.0+a02b446318
        fabric-networking-api-v1: Fabric Networking API (v1) 1.0.13+2e8bd82f18
        fabric-networking-blockentity-v0: Fabric Networking Block Entity (v0) 0.2.11+a02b446318
        fabric-networking-v0: Fabric Networking (v0) 0.3.2+92519afa18
        fabric-object-builder-api-v1: Fabric Object Builder API (v1) 1.10.9+b7ab612118
        fabric-object-builders-v0: Fabric Object Builders (v0) 0.7.3+a02b446318
        fabric-particles-v1: Fabric Particles (v1) 0.2.4+a02b446318
        fabric-registry-sync-v0: Fabric Registry Sync (v0) 0.7.10+e2961fee18
        fabric-renderer-api-v1: Fabric Renderer API (v1) 0.4.4+5f02c96918
        fabric-renderer-indigo: Fabric Renderer - Indigo 0.4.8+a02b446318
        fabric-renderer-registries-v1: Fabric Renderer Registries (v1) 3.2.1+b06cb95b18
        fabric-rendering-data-attachment-v1: Fabric Rendering Data Attachment (v1) 0.1.5+a02b446318
        fabric-rendering-fluids-v1: Fabric Rendering Fluids (v1) 0.1.13+a02b446318
        fabric-rendering-v0: Fabric Rendering (v0) 1.1.2+92519afa18
        fabric-rendering-v1: Fabric Rendering (v1) 1.8.0+b06cb95b18
        fabric-resource-loader-v0: Fabric Resource Loader (v0) 0.4.8+a00e834b18
        fabric-screen-api-v1: Fabric Screen API (v1) 1.0.4+155f865c18
        fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.1.8+a02b446318
        fabric-structure-api-v1: Fabric Structure API (v1) 1.1.13+5ab9934c18
        fabric-tag-extensions-v0: Fabric Tag Extensions (v0) 1.2.1+b06cb95b18
        fabric-textures-v0: Fabric Textures (v0) 1.0.6+a02b446318
        fabric-tool-attribute-api-v1: Fabric Tool Attribute API (v1) 1.2.12+b7ab612118
        fabric-transfer-api-v1: Fabric Transfer API (v1) 1.1.2+96bf6a7e18
        fabricloader: Fabric Loader 0.11.6
        java: OpenJDK 64-Bit Server VM 16
        minecraft: Minecraft 1.17.1
        wurst: Wurst Client v7.16-MC1.17.1
    Launched Version: fabric-loader-0.11.6-1.17.1
    Backend library: LWJGL version 3.2.2 build 10
    Backend API: NVIDIA GeForce GTX 1650/PCIe/SSE2 GL version 3.2.0 NVIDIA 471.96, NVIDIA Corporation
    Window size: 1920x1001
    GL Caps: Using framebuffer using OpenGL 3.2
    GL debug messages: 
    Using VBOs: Yes
    Is Modded: Definitely; Client brand changed to 'fabric'
    Type: Client (map_client.txt)
    Graphics mode: fancy
    Resource Packs: Fabric Mods
    Current Language: English (US)
    CPU: 16x AMD Ryzen 7 4800H with Radeon Graphics 

Please note: If the game did not crash, please hold down F3+C for 10 seconds to generate a crash report. Even when a bug doesn't cause the game to crash, this file still contains useful information that can help us to find and fix the problem. Because of this, please always include a crash report.