Project MMO

Project MMO

10M Downloads

Crash with Dynamic Trees (1.18.2 Version 4.0.1)

maxim0p opened this issue ยท 0 comments

commented

The crash happens when trying to break a tree from Dynamic Trees

---- Minecraft Crash Report ----
// This doesn't make any sense!

Time: 11/29/22, 9:16 PM
Description: Unexpected error

java.lang.NullPointerException: Cannot invoke "net.minecraft.world.level.BlockGetter.m_8055_(net.minecraft.core.BlockPos)" because "level" is null
	at com.ferreusveritas.dynamictrees.block.branch.BasicBranchBlock.getHardness(BasicBranchBlock.java:214) ~[DynamicTrees-1.18.2-0.11.0-Beta4.jar%2353!/:1.18.2-0.11.0-Beta4] {re:classloading}
	at com.ferreusveritas.dynamictrees.block.BlockWithDynamicHardness$DynamicHardnessBlockState.m_60800_(BlockWithDynamicHardness.java:59) ~[DynamicTrees-1.18.2-0.11.0-Beta4.jar%2353!/:1.18.2-0.11.0-Beta4] {re:classloading}
	at harmonised.pmmo.features.autovalues.AutoBlock.processReqs(AutoBlock.java:30) ~[pmmo-1.18.2-4.0.1.jar%2355!/:1.18.2-4.0.1] {re:classloading}
	at harmonised.pmmo.features.autovalues.AutoValues.getRequirements(AutoValues.java:50) ~[pmmo-1.18.2-4.0.1.jar%2355!/:1.18.2-4.0.1] {re:classloading}
	at harmonised.pmmo.core.Core.isActionPermitted_BypassPredicates(Core.java:203) ~[pmmo-1.18.2-4.0.1.jar%2355!/:1.18.2-4.0.1] {re:classloading}
	at harmonised.pmmo.core.Core.isBlockActionPermitted(Core.java:196) ~[pmmo-1.18.2-4.0.1.jar%2355!/:1.18.2-4.0.1] {re:classloading}
	at harmonised.pmmo.events.impl.BreakSpeedHandler.handle(BreakSpeedHandler.java:54) ~[pmmo-1.18.2-4.0.1.jar%2355!/:1.18.2-4.0.1] {re:classloading}
	at harmonised.pmmo.events.EventHandler.onBreakSpeed(EventHandler.java:148) ~[pmmo-1.18.2-4.0.1.jar%2355!/:1.18.2-4.0.1] {re:classloading}
	at net.minecraftforge.eventbus.ASMEventHandler_40_EventHandler_onBreakSpeed_BreakSpeed.invoke(.dynamic) ~[?:?] {}
	at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:85) ~[eventbus-5.0.3.jar%232!/:?] {}
	at net.minecraftforge.eventbus.EventBus.post(EventBus.java:302) ~[eventbus-5.0.3.jar%232!/:?] {}
	at net.minecraftforge.eventbus.EventBus.post(EventBus.java:283) ~[eventbus-5.0.3.jar%232!/:?] {}
	at net.minecraftforge.event.ForgeEventFactory.getBreakSpeed(ForgeEventFactory.java:183) ~[forge-1.18.2-40.1.85-universal.jar%2361!/:?] {re:classloading}
	at net.minecraft.world.entity.player.Player.getDigSpeed(Player.java:724) ~[client-1.18.2-20220404.173914-srg.jar%2356!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:pmmo.mixins.json:PlayerMixin,pl:mixin:A}
	at net.minecraft.world.level.block.state.BlockBehaviour.m_5880_(BlockBehaviour.java:353) ~[client-1.18.2-20220404.173914-srg.jar%2356!/:?] {re:classloading,re:mixin}
	at com.ferreusveritas.dynamictrees.block.branch.TrunkShellBlock.lambda$getDestroyProgress$1(TrunkShellBlock.java:106) ~[DynamicTrees-1.18.2-0.11.0-Beta4.jar%2353!/:1.18.2-0.11.0-Beta4] {re:classloading}
	at com.ferreusveritas.dynamictrees.util.Null.applyIfNonnull(Null.java:51) ~[DynamicTrees-1.18.2-0.11.0-Beta4.jar%2353!/:1.18.2-0.11.0-Beta4] {re:classloading}
	at com.ferreusveritas.dynamictrees.block.branch.TrunkShellBlock.m_5880_(TrunkShellBlock.java:106) ~[DynamicTrees-1.18.2-0.11.0-Beta4.jar%2353!/:1.18.2-0.11.0-Beta4] {re:classloading}
	at net.minecraft.world.level.block.state.BlockBehaviour$BlockStateBase.m_60625_(BlockBehaviour.java:556) ~[client-1.18.2-20220404.173914-srg.jar%2356!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:passablefoliage.mixins.json:MixinBlockState,pl:mixin:A}
	at net.minecraft.client.multiplayer.MultiPlayerGameMode.m_105269_(MultiPlayerGameMode.java:161) ~[client-1.18.2-20220404.173914-srg.jar%2356!/:?] {re:classloading,pl:runtimedistcleaner:A}
	at net.minecraft.client.Minecraft.m_202354_(Minecraft.java:1510) ~[client-1.18.2-20220404.173914-srg.jar%2356!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
	at net.minecraft.client.Minecraft.m_91279_(Minecraft.java:1849) ~[client-1.18.2-20220404.173914-srg.jar%2356!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
	at net.minecraft.client.Minecraft.m_91398_(Minecraft.java:1670) ~[client-1.18.2-20220404.173914-srg.jar%2356!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
	at net.minecraft.client.Minecraft.m_91383_(Minecraft.java:1021) ~[client-1.18.2-20220404.173914-srg.jar%2356!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
	at net.minecraft.client.Minecraft.m_91374_(Minecraft.java:665) ~[client-1.18.2-20220404.173914-srg.jar%2356!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
	at net.minecraft.client.main.Main.main(Main.java:205) ~[client-1.18.2-20220404.173914-srg.jar%2356!/:?] {re:classloading,pl:runtimedistcleaner:A}
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] {}
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?] {}
	at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] {}
	at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?] {}
	at net.minecraftforge.fml.loading.targets.CommonClientLaunchHandler.lambda$launchService$0(CommonClientLaunchHandler.java:31) ~[fmlloader-1.18.2-40.1.85.jar%2317!/:?] {}
	at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-9.1.3.jar%235!/:?] {}
	at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) [modlauncher-9.1.3.jar%235!/:?] {}
	at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) [modlauncher-9.1.3.jar%235!/:?] {}
	at cpw.mods.modlauncher.Launcher.run(Launcher.java:106) [modlauncher-9.1.3.jar%235!/:?] {}
	at cpw.mods.modlauncher.Launcher.main(Launcher.java:77) [modlauncher-9.1.3.jar%235!/:?] {}
	at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) [modlauncher-9.1.3.jar%235!/:?] {}
	at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) [modlauncher-9.1.3.jar%235!/:?] {}
	at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:149) [bootstraplauncher-1.0.0.jar:?] {}


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

-- Head --
Thread: Render thread
Stacktrace:
	at com.ferreusveritas.dynamictrees.block.branch.BasicBranchBlock.getHardness(BasicBranchBlock.java:214) ~[DynamicTrees-1.18.2-0.11.0-Beta4.jar%2353!/:1.18.2-0.11.0-Beta4] {re:classloading}
	at com.ferreusveritas.dynamictrees.block.BlockWithDynamicHardness$DynamicHardnessBlockState.m_60800_(BlockWithDynamicHardness.java:59) ~[DynamicTrees-1.18.2-0.11.0-Beta4.jar%2353!/:1.18.2-0.11.0-Beta4] {re:classloading}
	at harmonised.pmmo.features.autovalues.AutoBlock.processReqs(AutoBlock.java:30) ~[pmmo-1.18.2-4.0.1.jar%2355!/:1.18.2-4.0.1] {re:classloading}
	at harmonised.pmmo.features.autovalues.AutoValues.getRequirements(AutoValues.java:50) ~[pmmo-1.18.2-4.0.1.jar%2355!/:1.18.2-4.0.1] {re:classloading}
	at harmonised.pmmo.core.Core.isActionPermitted_BypassPredicates(Core.java:203) ~[pmmo-1.18.2-4.0.1.jar%2355!/:1.18.2-4.0.1] {re:classloading}
	at harmonised.pmmo.core.Core.isBlockActionPermitted(Core.java:196) ~[pmmo-1.18.2-4.0.1.jar%2355!/:1.18.2-4.0.1] {re:classloading}
	at harmonised.pmmo.events.impl.BreakSpeedHandler.handle(BreakSpeedHandler.java:54) ~[pmmo-1.18.2-4.0.1.jar%2355!/:1.18.2-4.0.1] {re:classloading}
	at harmonised.pmmo.events.EventHandler.onBreakSpeed(EventHandler.java:148) ~[pmmo-1.18.2-4.0.1.jar%2355!/:1.18.2-4.0.1] {re:classloading}
	at net.minecraftforge.eventbus.ASMEventHandler_40_EventHandler_onBreakSpeed_BreakSpeed.invoke(.dynamic) ~[?:?] {}
	at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:85) ~[eventbus-5.0.3.jar%232!/:?] {}
	at net.minecraftforge.eventbus.EventBus.post(EventBus.java:302) ~[eventbus-5.0.3.jar%232!/:?] {}
	at net.minecraftforge.eventbus.EventBus.post(EventBus.java:283) ~[eventbus-5.0.3.jar%232!/:?] {}
	at net.minecraftforge.event.ForgeEventFactory.getBreakSpeed(ForgeEventFactory.java:183) ~[forge-1.18.2-40.1.85-universal.jar%2361!/:?] {re:classloading}
	at net.minecraft.world.entity.player.Player.getDigSpeed(Player.java:724) ~[client-1.18.2-20220404.173914-srg.jar%2356!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:pmmo.mixins.json:PlayerMixin,pl:mixin:A}
	at net.minecraft.world.level.block.state.BlockBehaviour.m_5880_(BlockBehaviour.java:353) ~[client-1.18.2-20220404.173914-srg.jar%2356!/:?] {re:classloading,re:mixin}
	at com.ferreusveritas.dynamictrees.block.branch.TrunkShellBlock.lambda$getDestroyProgress$1(TrunkShellBlock.java:106) ~[DynamicTrees-1.18.2-0.11.0-Beta4.jar%2353!/:1.18.2-0.11.0-Beta4] {re:classloading}
	at com.ferreusveritas.dynamictrees.util.Null.applyIfNonnull(Null.java:51) ~[DynamicTrees-1.18.2-0.11.0-Beta4.jar%2353!/:1.18.2-0.11.0-Beta4] {re:classloading}
	at com.ferreusveritas.dynamictrees.block.branch.TrunkShellBlock.m_5880_(TrunkShellBlock.java:106) ~[DynamicTrees-1.18.2-0.11.0-Beta4.jar%2353!/:1.18.2-0.11.0-Beta4] {re:classloading}
	at net.minecraft.world.level.block.state.BlockBehaviour$BlockStateBase.m_60625_(BlockBehaviour.java:556) ~[client-1.18.2-20220404.173914-srg.jar%2356!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:passablefoliage.mixins.json:MixinBlockState,pl:mixin:A}
	at net.minecraft.client.multiplayer.MultiPlayerGameMode.m_105269_(MultiPlayerGameMode.java:161) ~[client-1.18.2-20220404.173914-srg.jar%2356!/:?] {re:classloading,pl:runtimedistcleaner:A}
	at net.minecraft.client.Minecraft.m_202354_(Minecraft.java:1510) ~[client-1.18.2-20220404.173914-srg.jar%2356!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
	at net.minecraft.client.Minecraft.m_91279_(Minecraft.java:1849) ~[client-1.18.2-20220404.173914-srg.jar%2356!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
-- Affected level --
Details:
	All players: 1 total; [LocalPlayer['maximOP'/151, l='ClientLevel', x=8.82, y=70.00, z=5.56]]
	Chunk stats: 961, 505
	Level dimension: minecraft:overworld
	Level spawn location: World: (0,73,0), Section: (at 0,9,0 in 0,4,0; chunk contains blocks 0,-64,0 to 15,319,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,-64,0 to 511,319,511)
	Level time: 165 game time, 165 day time
	Server brand: forge
	Server type: Integrated singleplayer server
Stacktrace:
	at net.minecraft.client.multiplayer.ClientLevel.m_6026_(ClientLevel.java:407) ~[client-1.18.2-20220404.173914-srg.jar%2356!/:?] {re:classloading,pl:runtimedistcleaner:A}
	at net.minecraft.client.Minecraft.m_91354_(Minecraft.java:2262) ~[client-1.18.2-20220404.173914-srg.jar%2356!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
	at net.minecraft.client.Minecraft.m_91374_(Minecraft.java:687) ~[client-1.18.2-20220404.173914-srg.jar%2356!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
	at net.minecraft.client.main.Main.main(Main.java:205) ~[client-1.18.2-20220404.173914-srg.jar%2356!/:?] {re:classloading,pl:runtimedistcleaner:A}
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] {}
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?] {}
	at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] {}
	at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?] {}
	at net.minecraftforge.fml.loading.targets.CommonClientLaunchHandler.lambda$launchService$0(CommonClientLaunchHandler.java:31) ~[fmlloader-1.18.2-40.1.85.jar%2317!/:?] {}
	at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-9.1.3.jar%235!/:?] {}
	at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) [modlauncher-9.1.3.jar%235!/:?] {}
	at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) [modlauncher-9.1.3.jar%235!/:?] {}
	at cpw.mods.modlauncher.Launcher.run(Launcher.java:106) [modlauncher-9.1.3.jar%235!/:?] {}
	at cpw.mods.modlauncher.Launcher.main(Launcher.java:77) [modlauncher-9.1.3.jar%235!/:?] {}
	at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) [modlauncher-9.1.3.jar%235!/:?] {}
	at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) [modlauncher-9.1.3.jar%235!/:?] {}
	at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:149) [bootstraplauncher-1.0.0.jar:?] {}


-- Last reload --
Details:
	Reload number: 1
	Reload reason: initial
	Finished: Yes
	Packs: Default, Mod Resources, EF_anmation_1.18_v1.1.zip

-- System Details --
Details:
	Minecraft Version: 1.18.2
	Minecraft Version ID: 1.18.2
	Operating System: Windows 10 (amd64) version 10.0
	Java Version: 17.0.1, Microsoft
	Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Microsoft
	Memory: 481505800 bytes (459 MiB) / 1520435200 bytes (1450 MiB) up to 4294967296 bytes (4096 MiB)
	CPUs: 12
	Processor Vendor: AuthenticAMD
	Processor Name: AMD Ryzen 5 3600X 6-Core Processor             
	Identifier: AuthenticAMD Family 23 Model 113 Stepping 0
	Microarchitecture: Zen 2
	Frequency (GHz): 3.80
	Number of physical packages: 1
	Number of physical CPUs: 6
	Number of logical CPUs: 12
	Graphics card #0 name: NVIDIA GeForce RTX 2070 SUPER
	Graphics card #0 vendor: NVIDIA (0x10de)
	Graphics card #0 VRAM (MB): 4095.00
	Graphics card #0 deviceId: 0x1e84
	Graphics card #0 versionInfo: DriverVersion=31.0.15.1694
	Memory slot #0 capacity (MB): 8192.00
	Memory slot #0 clockSpeed (GHz): 2.13
	Memory slot #0 type: DDR4
	Memory slot #1 capacity (MB): 8192.00
	Memory slot #1 clockSpeed (GHz): 2.13
	Memory slot #1 type: DDR4
	Virtual memory max (MB): 40141.34
	Virtual memory used (MB): 21610.02
	Swap memory total (MB): 23827.52
	Swap memory used (MB): 772.90
	JVM Flags: 4 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx4096m -Xms256m
	Launched Version: forge-40.1.85
	Backend library: LWJGL version 3.2.2 SNAPSHOT
	Backend API: NVIDIA GeForce RTX 2070 SUPER/PCIe/SSE2 GL version 3.2.0 NVIDIA 516.94, NVIDIA Corporation
	Window size: 1920x1027
	GL Caps: Using framebuffer using OpenGL 3.2
	GL debug messages: 
	Using VBOs: Yes
	Is Modded: Definitely; Client brand changed to 'forge'; Server brand changed to 'forge'
	Type: Integrated Server (map_client.txt)
	Graphics mode: fancy
	Resource Packs: vanilla, mod_resources, Supplementaries Generated Pack, file/EF_anmation_1.18_v1.1.zip
	Current Language: English (US)
	CPU: 12x AMD Ryzen 5 3600X 6-Core Processor 
	Server Running: true
	Player Count: 1 / 8; [ServerPlayer['maximOP'/151, l='ServerLevel[New World]', x=8.82, y=70.00, z=5.56]]
	Data Packs: vanilla, mod:forge, mod:dynamictrees (incompatible), mod:passablefoliage, mod:pmmo (incompatible)
	World Generation: Stable
	ModLauncher: 9.1.3+9.1.3+main.9b69c82a
	ModLauncher launch target: forgeclient
	ModLauncher naming: srg
	ModLauncher services: 
		 mixin PLUGINSERVICE 
		 eventbus PLUGINSERVICE 
		 slf4jfixer PLUGINSERVICE 
		 object_holder_definalize PLUGINSERVICE 
		 runtime_enum_extender PLUGINSERVICE 
		 capability_token_subclass PLUGINSERVICE 
		 accesstransformer PLUGINSERVICE 
		 runtimedistcleaner PLUGINSERVICE 
		 mixin TRANSFORMATIONSERVICE 
		 fml TRANSFORMATIONSERVICE 
	FML Language Providers: 
		[email protected]
		lowcodefml@null
		javafml@null
	Mod List: 
		client-1.18.2-20220404.173914-srg.jar             |Minecraft                     |minecraft                     |1.18.2              |DONE      |Manifest: 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.18.2-40.1.85-universal.jar                |Forge                         |forge                         |40.1.85             |DONE      |Manifest: 84:ce:76:e8:45:35:e4:0e:63:86:df:47:59:80:0f:67:6c:c1:5f:6e:5f:4d:b3:54:47:1a:9f:7f:ed:5e:f2:90
		DynamicTrees-1.18.2-0.11.0-Beta4.jar              |Dynamic Trees                 |dynamictrees                  |1.18.2-0.11.0-Beta4 |DONE      |Manifest: NOSIGNATURE
		PassableFoliage-1.18.2-forge-4.0.4.jar            |Passable Foliage              |passablefoliage               |4.0.4               |DONE      |Manifest: NOSIGNATURE
		pmmo-1.18.2-4.0.1.jar                             |Project MMO                   |pmmo                          |1.18.2-4.0.1        |DONE      |Manifest: NOSIGNATURE
	Crash Report UUID: d9a687ae-6b9c-4b3c-8522-65dc29038cb4
	FML: 40.1
	Forge: net.minecraftforge:40.1.85