SkyblockerMod / Skyblocker

Hypixel Skyblock fabric Mod for latest minecraft version
https://hysky.de
GNU Lesser General Public License v3.0
165 stars 79 forks source link

Garden Visitor Helper not work and game crashed. #577

Closed AC19970 closed 6 months ago

AC19970 commented 6 months ago

Minecraft Version

1.20.4

Skyblocker Version

skyblocker-1.18.1+1.20.4.jar

Reproduction Steps

When I enter the garden and open the visitor's menu, the game crashes with the error documented in the log.

Crash Report file and latest.log

---- Minecraft Crash Report ----
// You should try our sister game, Minceraft!

Time: 2024-02-27 10:50:06
Description: Rendering screen

java.lang.NullPointerException: Cannot invoke "java.util.Map.values()" because the return value of "io.github.moulberry.repo.NEUItems.getItems()" is null
    at de.hysky.skyblocker.skyblock.garden.VisitorHelper.getCachedItem(VisitorHelper.java:152)
    at de.hysky.skyblocker.skyblock.garden.VisitorHelper.drawItemEntryWithHover(VisitorHelper.java:141)
    at de.hysky.skyblocker.skyblock.garden.VisitorHelper.drawScreenItems(VisitorHelper.java:132)
    at de.hysky.skyblocker.skyblock.garden.VisitorHelper.renderScreen(VisitorHelper.java:53)
    at de.hysky.skyblocker.skyblock.garden.VisitorHelper.lambda$init$0(VisitorHelper.java:46)
    at net.fabricmc.fabric.impl.client.screen.ScreenEventFactory.lambda$createAfterRenderEvent$4(ScreenEventFactory.java:48)
    at net.minecraft.class_757.wrapOperation$zlg000$fabric-screen-api-v1$onRenderScreen(class_757.java:2112)
    at net.minecraft.class_757.method_3192(class_757.java:931)
    at net.minecraft.class_310.method_1523(class_310.java:1327)
    at net.minecraft.class_310.method_1514(class_310.java:888)
    at net.minecraft.client.main.Main.main(Main.java:265)
    at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:470)
    at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
    at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)

Additional context

No response

AzureAaron commented 6 months ago

Do you have the full log file?

AC19970 commented 6 months ago

Below is the full crash report, I've removed the username and device information. I encountered the crash after updating skyblocker from 1.18.0 to 1.18.1. Before and after the update, I did not change any Minecraft and Skyblocker settings or add or remove mods.

---- Minecraft Crash Report ---- // Why did you do that?

Time: 2024-02-28 02:34:41 Description: Rendering screen

java.lang.NullPointerException: Cannot invoke "java.util.Map.values()" because the return value of "io.github.moulberry.repo.NEUItems.getItems()" is null at de.hysky.skyblocker.skyblock.garden.VisitorHelper.getCachedItem(VisitorHelper.java:152) at de.hysky.skyblocker.skyblock.garden.VisitorHelper.drawItemEntryWithHover(VisitorHelper.java:141) at de.hysky.skyblocker.skyblock.garden.VisitorHelper.drawScreenItems(VisitorHelper.java:132) at de.hysky.skyblocker.skyblock.garden.VisitorHelper.renderScreen(VisitorHelper.java:53) at de.hysky.skyblocker.skyblock.garden.VisitorHelper.lambda$init$0(VisitorHelper.java:46) at net.fabricmc.fabric.impl.client.screen.ScreenEventFactory.lambda$createAfterRenderEvent$4(ScreenEventFactory.java:48) at net.minecraft.class_757.wrapOperation$zlg000$fabric-screen-api-v1$onRenderScreen(class_757.java:2112) at net.minecraft.class_757.method_3192(class_757.java:931) at net.minecraft.class_310.method_1523(class_310.java:1327) at net.minecraft.class_310.method_1514(class_310.java:888) at net.minecraft.client.main.Main.main(Main.java:265) at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:470) at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)

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

-- Head -- Thread: Render thread Stacktrace: at de.hysky.skyblocker.skyblock.garden.VisitorHelper.getCachedItem(VisitorHelper.java:152) at de.hysky.skyblocker.skyblock.garden.VisitorHelper.drawItemEntryWithHover(VisitorHelper.java:141) at de.hysky.skyblocker.skyblock.garden.VisitorHelper.drawScreenItems(VisitorHelper.java:132) at de.hysky.skyblocker.skyblock.garden.VisitorHelper.renderScreen(VisitorHelper.java:53) at de.hysky.skyblocker.skyblock.garden.VisitorHelper.lambda$init$0(VisitorHelper.java:46) at net.fabricmc.fabric.impl.client.screen.ScreenEventFactory.lambda$createAfterRenderEvent$4(ScreenEventFactory.java:48) at net.minecraft.class_757.wrapOperation$zlg000$fabric-screen-api-v1$onRenderScreen(class_757.java:2112)

-- Screen render details -- Details: Screen name: net.minecraft.class_476 Mouse location: Scaled: (240, 125). Absolute: ** Screen size: Scaled: **. Absolute: **. Scale factor of ** Stacktrace: at net.minecraft.class_757.method_3192(class_757.java:931) at net.minecraft.class_310.method_1523(class_310.java:1327) at net.minecraft.class_310.method_1514(class_310.java:888) at net.minecraft.client.main.Main.main(Main.java:265) at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:470) at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)

-- Uptime -- Details: JVM uptime: 241.397s Wall uptime: 229.290s High-res time: 224.047s Client ticks: 4270 ticks / 213.500s Stacktrace: at net.minecraft.class_310.method_1587(class_310.java:2564) at net.minecraft.class_310.method_54580(class_310.java:995) at net.minecraft.class_310.method_1514(class_310.java:908) at net.minecraft.client.main.Main.main(Main.java:265) at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:470) at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)

-- Affected level -- Details: All players: 11 total; [class_746['**'/47129, l='ClientLevel', x=9.25, y=71.00, z=-12.37], class_745['§cGrandma Wolf'/47134, l='ClientLevel', x=5.50, y=72.00, z=-14.50], class_745['Weaponsmith '/47135, l='ClientLevel', x=7.50, y=72.00, z=-12.50], class_745['Pete '/47136, l='ClientLevel', x=9.50, y=71.00, z=-10.50], class_745['Agama8888'/47130, l='ClientLevel', x=10.05, y=82.78, z=-12.09], class_745['Hornum '/47133, l='ClientLevel', x=5.50, y=72.00, z=-17.50], class_745['epe914xk57'/47138, l='ClientLevel', x=-27.50, y=71.00, z=-11.50], class_745['32up1c4a6r'/47139, l='ClientLevel', x=-25.50, y=71.00, z=-11.50], class_745['0205204hd9'/47145, l='ClientLevel', x=2.50, y=71.00, z=-7.50], class_745['n3zrpjtgjb'/47148, l='ClientLevel', x=-21.50, y=71.00, z=-12.50], class_745['so3l929wlz'/47149, l='ClientLevel', x=-23.50, y=71.00, z=-12.50]] Chunk stats: 16384, 225 Level dimension: minecraft:overworld Level spawn location: World: (-6,71,17), Section: (at 10,7,1 in -1,4,1; chunk contains blocks -16,0,16 to -1,255,31), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511) Level time: 134 game time, 17619 day time Server brand: Hypixel BungeeCord (2024.2.26.1) <- vanilla Server type: Non-integrated multiplayer server Tracked entity count: 99

-- Last reload -- Details: Reload number: 1 Reload reason: initial Finished: Yes Packs: vanilla, fabric, fabric-api, fabric-api-base, fabric-api-lookup-api-v1, fabric-biome-api-v1, fabric-block-api-v1, fabric-block-view-api-v2, fabric-blockrenderlayer-v1, fabric-client-tags-api-v1, fabric-command-api-v1, fabric-command-api-v2, fabric-commands-v0, fabric-containers-v0, fabric-content-registries-v0, fabric-convention-tags-v1, fabric-crash-report-info-v1, fabric-data-attachment-api-v1, fabric-data-generation-api-v1, fabric-dimensions-v1, fabric-entity-events-v1, fabric-events-interaction-v0, fabric-events-lifecycle-v0, fabric-game-rule-api-v1, fabric-item-api-v1, fabric-item-group-api-v1, fabric-key-binding-api-v1, fabric-keybindings-v0, fabric-lifecycle-events-v1, fabric-loot-api-v2, fabric-message-api-v1, fabric-mining-level-api-v1, fabric-model-loading-api-v1, fabric-models-v0, fabric-networking-api-v1, fabric-object-builder-api-v1, fabric-particles-v1, fabric-recipe-api-v1, fabric-registry-sync-v0, fabric-renderer-api-v1, fabric-renderer-indigo, fabric-renderer-registries-v1, fabric-rendering-data-attachment-v1, fabric-rendering-fluids-v1, fabric-rendering-v0, fabric-rendering-v1, fabric-resource-conditions-api-v1, fabric-resource-loader-v0, fabric-screen-api-v1, fabric-screen-handler-api-v1, fabric-sound-api-v1, fabric-transfer-api-v1, fabric-transitive-access-wideners-v1, fabricloader, iris, jei, journeymap, mcwbridges, org_apache_commons_commons-math3, skyblocker, sodium, yet_another_config_lib_v3

-- System Details -- Details: Minecraft Version: 1.20.4 Minecraft Version ID: 1.20.4 Operating System: ** Java Version: ** Java VM Version: ** Memory: ** CPUs: ** Processor Vendor: ** Processor Name: ** Identifier: ** Microarchitecture: ** Frequency (GHz): ** Number of physical packages: ** Number of physical CPUs: ** Number of logical CPUs: ** Graphics card #0 name: ** Graphics card #0 vendor: ** Graphics card #0 VRAM (MB): ** Graphics card #0 deviceId: ** Graphics card #0 versionInfo: DriverVersion=** Graphics card #1 name: ** Graphics card #1 vendor: ** Graphics card #1 VRAM (MB): ** Graphics card #1 deviceId: ** Graphics card #1 versionInfo: DriverVersion=** Memory slot #0 capacity (MB): ** Memory slot #0 clockSpeed (GHz): ** Memory slot #0 type: ** Memory slot #1 capacity (MB): ** Memory slot #1 clockSpeed (GHz): ** Memory slot #1 type: ** Virtual memory max (MB): ** Virtual memory used (MB): ** Swap memory total (MB): ** Swap memory used (MB): ** 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-api: Fabric API 0.95.4+1.20.4 fabric-api-base: Fabric API Base 0.4.36+78d798af4f fabric-api-lookup-api-v1: Fabric API Lookup API (v1) 1.6.48+82b1bb3e4f fabric-biome-api-v1: Fabric Biome API (v1) 13.0.16+78d798af4f fabric-block-api-v1: Fabric Block API (v1) 1.0.16+3e2216cb4f fabric-block-view-api-v2: Fabric BlockView API (v2) 1.0.4+78d798af4f fabric-blockrenderlayer-v1: Fabric BlockRenderLayer Registration (v1) 1.1.46+78d798af4f fabric-client-tags-api-v1: Fabric Client Tags 1.1.7+78d798af4f fabric-command-api-v1: Fabric Command API (v1) 1.2.41+f71b366f4f fabric-command-api-v2: Fabric Command API (v2) 2.2.20+78d798af4f fabric-commands-v0: Fabric Commands (v0) 0.2.58+df3654b34f fabric-containers-v0: Fabric Containers (v0) 0.1.86+df3654b34f fabric-content-registries-v0: Fabric Content Registries (v0) 5.0.12+78d798af4f fabric-convention-tags-v1: Fabric Convention Tags 1.5.10+78d798af4f fabric-crash-report-info-v1: Fabric Crash Report Info (v1) 0.2.23+78d798af4f fabric-data-attachment-api-v1: Fabric Data Attachment API (v1) 1.0.2+25e1b4764f fabric-data-generation-api-v1: Fabric Data Generation API (v1) 13.2.1+5c0133444f fabric-dimensions-v1: Fabric Dimensions API (v1) 2.1.61+78d798af4f fabric-entity-events-v1: Fabric Entity Events (v1) 1.6.0+44c0f8c64f fabric-events-interaction-v0: Fabric Events Interaction (v0) 0.7.1+389931eb4f fabric-events-lifecycle-v0: Fabric Events Lifecycle (v0) 0.2.73+df3654b34f fabric-game-rule-api-v1: Fabric Game Rule API (v1) 1.0.46+78d798af4f fabric-item-api-v1: Fabric Item API (v1) 2.2.0+d6f2b0844f fabric-item-group-api-v1: Fabric Item Group API (v1) 4.0.23+78d798af4f fabric-key-binding-api-v1: Fabric Key Binding API (v1) 1.0.41+78d798af4f fabric-keybindings-v0: Fabric Key Bindings (v0) 0.2.39+df3654b34f fabric-lifecycle-events-v1: Fabric Lifecycle Events (v1) 2.2.31+eabbae364f fabric-loot-api-v2: Fabric Loot API (v2) 2.1.7+78d798af4f fabric-message-api-v1: Fabric Message API (v1) 6.0.5+78d798af4f fabric-mining-level-api-v1: Fabric Mining Level API (v1) 2.1.62+78d798af4f fabric-model-loading-api-v1: Fabric Model Loading API (v1) 1.0.8+78d798af4f fabric-models-v0: Fabric Models (v0) 0.4.7+9386d8a74f fabric-networking-api-v1: Fabric Networking API (v1) 3.1.7+2e5ac5484f fabric-object-builder-api-v1: Fabric Object Builder API (v1) 13.0.11+06274a474f fabric-particles-v1: Fabric Particles (v1) 1.1.7+78d798af4f fabric-recipe-api-v1: Fabric Recipe API (v1) 2.0.20+78d798af4f fabric-registry-sync-v0: Fabric Registry Sync (v0) 4.0.18+78d798af4f fabric-renderer-api-v1: Fabric Renderer API (v1) 3.2.4+78d798af4f fabric-renderer-indigo: Fabric Renderer - Indigo 1.5.4+78d798af4f fabric-renderer-registries-v1: Fabric Renderer Registries (v1) 3.2.52+df3654b34f fabric-rendering-data-attachment-v1: Fabric Rendering Data Attachment (v1) 0.3.42+73761d2e4f fabric-rendering-fluids-v1: Fabric Rendering Fluids (v1) 3.0.33+78d798af4f fabric-rendering-v0: Fabric Rendering (v0) 1.1.55+df3654b34f fabric-rendering-v1: Fabric Rendering (v1) 3.1.0+0d29db764f fabric-resource-conditions-api-v1: Fabric Resource Conditions API (v1) 2.3.14+78d798af4f fabric-resource-loader-v0: Fabric Resource Loader (v0) 0.11.18+b66dcf784f fabric-screen-api-v1: Fabric Screen API (v1) 2.0.17+78d798af4f fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.3.55+78d798af4f fabric-sound-api-v1: Fabric Sound API (v1) 1.0.17+78d798af4f fabric-transfer-api-v1: Fabric Transfer API (v1) 4.0.9+e84342304f fabric-transitive-access-wideners-v1: Fabric Transitive Access Wideners (v1) 5.0.14+78d798af4f fabricloader: Fabric Loader 0.15.3 mixinextras: MixinExtras 0.3.2 iris: Iris 1.6.13 io_github_douira_glsl-transformer: glsl-transformer 2.0.0-pre13 org_anarres_jcpp: jcpp 1.4.14 org_antlr_antlr4-runtime: antlr4-runtime 4.11.1 java: OpenJDK 64-Bit Server VM 17 jei: Just Enough Items 17.3.0.48 journeymap: Journeymap 5.9.20 journeymap-api-fabric: JourneyMap API 1.20.2-1.9-fabric-SNAPSHOT mcwbridges: Macaw's Bridges 2.1.0 minecraft: Minecraft 1.20.4 skyblocker: Skyblocker 1.18.1+1.20.4 com_logisticscraft_occlusionculling: occlusionculling 0.0.7-SNAPSHOT meteordevelopment_discord-ipc: discord-ipc 1.1 moe_nea_neurepoparser: neurepoparser 1.4.0 org_apache_commons_commons-math3: commons-math3 3.6.1 org_eclipse_jgit_org_eclipse_jgit: org.eclipse.jgit 6.8.0.202311291450-r yet_another_config_lib_v3: YetAnotherConfigLib 3.3.2+1.20.4 com_twelvemonkeys_common_common-image: common-image 3.10.0 com_twelvemonkeys_common_common-io: common-io 3.10.0 com_twelvemonkeys_common_common-lang: common-lang 3.10.0 com_twelvemonkeys_imageio_imageio-core: imageio-core 3.10.0 com_twelvemonkeys_imageio_imageio-metadata: imageio-metadata 3.10.0 com_twelvemonkeys_imageio_imageio-webp: imageio-webp 3.10.0 org_quiltmc_parsers_gson: gson 0.2.1 org_quiltmc_parsers_json: json 0.2.1 sodium: Sodium 0.5.4 Loaded Shaderpack: (off) Launched Version: fabric-loader-0.15.3-1.20.4 Launcher name: minecraft-launcher Backend library: LWJGL version 3.3.2-snapshot Backend API: ** Window size: ** GL Caps: Using framebuffer using OpenGL 3.2 GL debug messages: Using VBOs: Yes Is Modded: Definitely; Client brand changed to 'fabric' Universe: ** Type: Client (map_client.txt) Graphics mode: fancy Render Distance: 14/14 chunks Resource Packs: vanilla, fabric Current Language: ** Locale: ** CPU: **

kevinthegreat1 commented 6 months ago

We need the full latest.log. You can upload it to mclo.gs which automatically strips username.

kevinthegreat1 commented 6 months ago

Also, you can try if #579 fixes your issue.