[Forge 1.16.5] Random NPE from geckolib.
MagnusHJensen opened this issue ยท 1 comments
There wans't anything particular going on, I did have a entity in the background utilizing Geckolib.
It crashed right after hitting F3+T to reload the resourcepack.
Crash Report
---- Minecraft Crash Report ----
// Don't do that.
Time: 23.10.2021 00.15
Description: Rendering entity in world
java.lang.NullPointerException: Rendering entity in world
at software.bernie.shadowed.eliotlash.molang.MolangParser.getVariable(MolangParser.java:87) ~[geckolib-forge-1.16.5-3.0.35_mapped_parchment_2021.10.03-1.16.5.jar:3.0.35] {re:classloading}
at software.bernie.shadowed.eliotlash.molang.MolangParser.setValue(MolangParser.java:73) ~[geckolib-forge-1.16.5-3.0.35_mapped_parchment_2021.10.03-1.16.5.jar:3.0.35] {re:classloading}
at software.bernie.geckolib3.model.AnimatedGeoModel.setMolangQueries(AnimatedGeoModel.java:127) ~[geckolib-forge-1.16.5-3.0.35_mapped_parchment_2021.10.03-1.16.5.jar:3.0.35] {re:classloading}
at software.bernie.geckolib3.core.processor.AnimationProcessor.preAnimationSetup(AnimationProcessor.java:296) ~[geckolib-forge-1.16.5-3.0.35_mapped_parchment_2021.10.03-1.16.5.jar:3.0.35] {re:classloading}
at software.bernie.geckolib3.model.AnimatedGeoModel.setLivingAnimations(AnimatedGeoModel.java:74) ~[geckolib-forge-1.16.5-3.0.35_mapped_parchment_2021.10.03-1.16.5.jar:3.0.35] {re:classloading}
at software.bernie.geckolib3.model.AnimatedGeoModel.setLivingAnimations(AnimatedGeoModel.java:32) ~[geckolib-forge-1.16.5-3.0.35_mapped_parchment_2021.10.03-1.16.5.jar:3.0.35] {re:classloading}
at software.bernie.geckolib3.renderers.geo.GeoEntityRenderer.render(GeoEntityRenderer.java:136) ~[geckolib-forge-1.16.5-3.0.35_mapped_parchment_2021.10.03-1.16.5.jar:3.0.35] {re:classloading}
at software.bernie.geckolib3.renderers.geo.GeoEntityRenderer.render(GeoEntityRenderer.java:41) ~[geckolib-forge-1.16.5-3.0.35_mapped_parchment_2021.10.03-1.16.5.jar:3.0.35] {re:classloading}
at net.minecraft.client.renderer.entity.EntityRendererManager.render(EntityRendererManager.java:252) ~[forge-1.16.5-36.1.0_mapped_parchment_2021.10.03-1.16.5-recomp.jar:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
at net.minecraft.client.renderer.WorldRenderer.renderEntity(WorldRenderer.java:1224) ~[forge-1.16.5-36.1.0_mapped_parchment_2021.10.03-1.16.5-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A}
at net.minecraft.client.renderer.WorldRenderer.renderLevel(WorldRenderer.java:1032) ~[forge-1.16.5-36.1.0_mapped_parchment_2021.10.03-1.16.5-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A}
at net.minecraft.client.renderer.GameRenderer.renderLevel(GameRenderer.java:620) ~[forge-1.16.5-36.1.0_mapped_parchment_2021.10.03-1.16.5-recomp.jar:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
at net.minecraft.client.renderer.GameRenderer.render(GameRenderer.java:437) ~[forge-1.16.5-36.1.0_mapped_parchment_2021.10.03-1.16.5-recomp.jar:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
at net.minecraft.client.Minecraft.runTick(Minecraft.java:1002) ~[forge-1.16.5-36.1.0_mapped_parchment_2021.10.03-1.16.5-recomp.jar:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
at net.minecraft.client.Minecraft.run(Minecraft.java:612) ~[forge-1.16.5-36.1.0_mapped_parchment_2021.10.03-1.16.5-recomp.jar:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
at net.minecraft.client.main.Main.main(Main.java:184) ~[forge-1.16.5-36.1.0_mapped_parchment_2021.10.03-1.16.5-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A}
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] {}
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?] {}
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] {}
at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?] {}
at net.minecraftforge.userdev.FMLUserdevClientLaunchProvider.lambda$launchService$0(FMLUserdevClientLaunchProvider.java:52) ~[forge-1.16.5-36.1.0_mapped_parchment_2021.10.03-1.16.5-recomp.jar:?] {}
at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-8.0.9.jar:?] {}
at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [modlauncher-8.0.9.jar:?] {}
at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [modlauncher-8.0.9.jar:?] {}
at cpw.mods.modlauncher.Launcher.run(Launcher.java:82) [modlauncher-8.0.9.jar:?] {}
at cpw.mods.modlauncher.Launcher.main(Launcher.java:66) [modlauncher-8.0.9.jar:?] {}
at net.minecraftforge.userdev.LaunchTesting.main(LaunchTesting.java:105) [forge-1.16.5-36.1.0_mapped_parchment_2021.10.03-1.16.5-recomp.jar:?] {}
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Thread: Render thread
Stacktrace:
at software.bernie.shadowed.eliotlash.molang.MolangParser.getVariable(MolangParser.java:87) ~[geckolib3:3.0.35] {re:classloading}
at software.bernie.shadowed.eliotlash.molang.MolangParser.setValue(MolangParser.java:73) ~[geckolib3:3.0.35] {re:classloading}
at software.bernie.geckolib3.model.AnimatedGeoModel.setMolangQueries(AnimatedGeoModel.java:127) ~[geckolib3:3.0.35] {re:classloading}
at software.bernie.geckolib3.core.processor.AnimationProcessor.preAnimationSetup(AnimationProcessor.java:296) ~[geckolib3:3.0.35] {re:classloading}
at software.bernie.geckolib3.model.AnimatedGeoModel.setLivingAnimations(AnimatedGeoModel.java:74) ~[geckolib3:3.0.35] {re:classloading}
at software.bernie.geckolib3.model.AnimatedGeoModel.setLivingAnimations(AnimatedGeoModel.java:32) ~[geckolib3:3.0.35] {re:classloading}
at software.bernie.geckolib3.renderers.geo.GeoEntityRenderer.render(GeoEntityRenderer.java:136) ~[geckolib3:3.0.35] {re:classloading}
at software.bernie.geckolib3.renderers.geo.GeoEntityRenderer.render(GeoEntityRenderer.java:41) ~[geckolib3:3.0.35] {re:classloading}
-- Entity being rendered --
Details:
Entity Type: swem:horse_poop (com.alaharranhonor.swem.entities.PoopEntity)
Entity ID: 123
Entity Name: entity.swem.horse_poop
Entity's Exact location: -206.00, 70.00, 576.00
Entity's Block location: World: (-206,70,576), Chunk: (at 2,4,0 in -13,36; contains blocks -208,0,576 to -193,255,591), Region: (-1,1; contains chunks -32,32 to -1,63, blocks -512,0,512 to -1,255,1023)
Entity's Momentum: 0.00, 0.00, 0.00
Entity's Passengers: []
Entity's Vehicle: ~~ERROR~~ NullPointerException: null
-- Renderer details --
Details:
Assigned renderer: com.alaharranhonor.swem.entity.render.PoopRender@6f3052e9
Location: 12.50,-2.62,4.84 - World: (12,-3,4), Chunk: (at 12,-1,4 in 0,0; 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)
Rotation: 0.0
Delta: 0.9399988
Stacktrace:
at net.minecraft.client.renderer.entity.EntityRendererManager.render(EntityRendererManager.java:252) ~[forge:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
at net.minecraft.client.renderer.WorldRenderer.renderEntity(WorldRenderer.java:1224) ~[forge:?] {re:classloading,pl:runtimedistcleaner:A}
at net.minecraft.client.renderer.WorldRenderer.renderLevel(WorldRenderer.java:1032) ~[forge:?] {re:classloading,pl:runtimedistcleaner:A}
at net.minecraft.client.renderer.GameRenderer.renderLevel(GameRenderer.java:620) ~[forge:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
-- Affected level --
Details:
All players: 1 total; [ClientPlayerEntity['legendenv2'/119, l='ClientLevel', x=-218.50, y=71.00, z=571.16]]
Chunk stats: Client Chunk Cache: 841, 541
Level dimension: minecraft:overworld
Level spawn location: World: (-48,66,208), Chunk: (at 0,4,0 in -3,13; contains blocks -48,0,208 to -33,255,223), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511)
Level time: 169975 game time, 57870 day time
Server brand: forge
Server type: Integrated singleplayer server
Stacktrace:
at net.minecraft.client.world.ClientWorld.fillReportDetails(ClientWorld.java:462) ~[forge-1.16.5-36.1.0_mapped_parchment_2021.10.03-1.16.5-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A}
at net.minecraft.client.Minecraft.fillReport(Minecraft.java:2091) ~[forge-1.16.5-36.1.0_mapped_parchment_2021.10.03-1.16.5-recomp.jar:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
at net.minecraft.client.Minecraft.run(Minecraft.java:628) ~[forge-1.16.5-36.1.0_mapped_parchment_2021.10.03-1.16.5-recomp.jar:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
at net.minecraft.client.main.Main.main(Main.java:184) ~[forge-1.16.5-36.1.0_mapped_parchment_2021.10.03-1.16.5-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A}
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] {}
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?] {}
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] {}
at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?] {}
at net.minecraftforge.userdev.FMLUserdevClientLaunchProvider.lambda$launchService$0(FMLUserdevClientLaunchProvider.java:52) ~[forge-1.16.5-36.1.0_mapped_parchment_2021.10.03-1.16.5-recomp.jar:?] {}
at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-8.0.9.jar:?] {}
at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [modlauncher-8.0.9.jar:?] {}
at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [modlauncher-8.0.9.jar:?] {}
at cpw.mods.modlauncher.Launcher.run(Launcher.java:82) [modlauncher-8.0.9.jar:?] {}
at cpw.mods.modlauncher.Launcher.main(Launcher.java:66) [modlauncher-8.0.9.jar:?] {}
at net.minecraftforge.userdev.LaunchTesting.main(LaunchTesting.java:105) [forge-1.16.5-36.1.0_mapped_parchment_2021.10.03-1.16.5-recomp.jar:?] {}
-- System Details --
Details:
Minecraft Version: 1.16.5
Minecraft Version ID: 1.16.5
Operating System: Windows 10 (amd64) version 10.0
Java Version: 14.0.1, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode, sharing), Oracle Corporation
Memory: 1201797080 bytes (1146 MB) / 2147483648 bytes (2048 MB) up to 8589934592 bytes (8192 MB)
CPUs: 12
JVM Flags: 3 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xms2G -Xmx8G
ModLauncher: 8.0.9+86+master.3cf110c
ModLauncher launch target: fmluserdevclient
ModLauncher naming: mcp
ModLauncher services:
/mixin-0.8.2.jar mixin PLUGINSERVICE
/eventbus-4.0.0.jar eventbus PLUGINSERVICE
/forge-1.16.5-36.1.0_mapped_parchment_2021.10.03-1.16.5-launcher.jar object_holder_definalize PLUGINSERVICE
/forge-1.16.5-36.1.0_mapped_parchment_2021.10.03-1.16.5-launcher.jar runtime_enum_extender PLUGINSERVICE
/forge-1.16.5-36.1.0_mapped_parchment_2021.10.03-1.16.5-launcher.jar capability_inject_definalize PLUGINSERVICE
/accesstransformers-3.0.1.jar accesstransformer PLUGINSERVICE
/forge-1.16.5-36.1.0_mapped_parchment_2021.10.03-1.16.5-launcher.jar runtimedistcleaner PLUGINSERVICE
/mixin-0.8.2.jar mixin TRANSFORMATIONSERVICE
/forge-1.16.5-36.1.0_mapped_parchment_2021.10.03-1.16.5-launcher.jar fml TRANSFORMATIONSERVICE
FML: 36.1
Forge: net.minecraftforge:36.1.0
FML Language Providers:
[email protected]
minecraft@1
Mod List:
client-extra.jar |Minecraft |minecraft |1.16.5 |DONE |a1:d4:5e:04:4f:d3:d6:e0:7b:37:97:cf:77:b0:de:ad:4a:47:ce:8c:96:49:5f:0a:cf:8c:ae:b2:6d:4b:8a:3f
forge-1.16.5-36.1.0_mapped_parchment_2021.10.03-1.|Forge |forge |36.1.0 |DONE |NOSIGNATURE
geckolib-forge-1.16.5-3.0.35_mapped_parchment_2021|GeckoLib |geckolib3 |3.0.35 |DONE |NOSIGNATURE
main |Star Worm Equestrian Mod |swem |NONE |DONE |NOSIGNATURE
Crash Report UUID: 439ad873-24cc-4576-84d4-ef2ce09c451a
Launched Version: MOD_DEV
Backend library: LWJGL version 3.2.2 build 10
Backend API: NVIDIA GeForce RTX 2060/PCIe/SSE2 GL version 4.6.0 NVIDIA 472.12, NVIDIA Corporation
GL Caps: Using framebuffer using OpenGL 3.0
Using VBOs: Yes
Is Modded: Definitely; Client brand changed to 'forge'
Type: Client (map_client.txt)
Graphics mode: fancy
Resource Packs: vanilla, mod_resources
Current Language: English (US)
CPU: 12x AMD Ryzen 5 2600X Six-Core Processor