Immersive Railroading

Immersive Railroading

3M Downloads

The game crashed whilst ticking entity

zoh48gz04 opened this issue ยท 3 comments

commented

Hi,

after some time playing with this mod I always get a NullPointerException when joining the server.

Crashlog:

`---- Minecraft Crash Report ----
// My bad.

Time: 10.07.21 14:02
Description: Ticking entity

java.lang.NullPointerException: Ticking entity
at cam72cam.immersiverailroading.entity.EntityMoveableRollingStock.onTick(EntityMoveableRollingStock.java:216) ~[?:1.16.4-forge-1.8.0] {re:classloading}
at cam72cam.immersiverailroading.entity.EntityCoupleableRollingStock.onTick(EntityCoupleableRollingStock.java:154) ~[?:1.16.4-forge-1.8.0] {re:classloading}
at cam72cam.immersiverailroading.entity.FreightTank.onTick(FreightTank.java:138) ~[?:1.16.4-forge-1.8.0] {re:classloading}
at cam72cam.immersiverailroading.entity.Locomotive.onTick(Locomotive.java:161) ~[?:1.16.4-forge-1.8.0] {re:classloading}
at cam72cam.immersiverailroading.entity.HandCar.onTick(HandCar.java:34) ~[?:1.16.4-forge-1.8.0] {re:classloading}
at cam72cam.mod.entity.ModdedEntity.func_70071_h_(ModdedEntity.java:204) ~[?:1.0.1] {re:classloading}
at net.minecraft.client.world.ClientWorld.func_217418_a(ClientWorld.java:252) ~[?:?] {re:classloading,xf:OptiFine:default,xf:fml:xaerominimap:xaero_clientworldclass,xf:fml:xaeroworldmap:xaero_wm_clientworldclass}
at net.minecraft.client.world.ClientWorld$$Lambda$6223/1990898147.accept(Unknown Source) ~[?:?] {}
at net.minecraft.world.World.func_217390_a(World.java:554) ~[?:?] {re:classloading,pl:accesstransformer:B,re:mixin,pl:accesstransformer:B}
at net.minecraft.client.world.ClientWorld.func_217419_d(ClientWorld.java:210) ~[?:?] {re:classloading,xf:OptiFine:default,xf:fml:xaerominimap:xaero_clientworldclass,xf:fml:xaeroworldmap:xaero_wm_clientworldclass}
at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1483) ~[?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:immersiveengineering.mixins.json:accessors.client.MinecraftAccess,pl:mixin:A,pl:runtimedistcleaner:A}
at net.minecraft.client.Minecraft.func_195542_b(Minecraft.java:953) [?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:immersiveengineering.mixins.json:accessors.client.MinecraftAccess,pl:mixin:A,pl:runtimedistcleaner:A}
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:607) [?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:immersiveengineering.mixins.json:accessors.client.MinecraftAccess,pl:mixin:A,pl:runtimedistcleaner:A}
at net.minecraft.client.main.Main.main(Main.java:184) [?:?] {re:classloading,pl:runtimedistcleaner:A}
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_51] {}
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_51] {}
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_51] {}
at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_51] {}
at net.minecraftforge.fml.loading.FMLClientLaunchProvider.lambda$launchService$0(FMLClientLaunchProvider.java:51) [forge-1.16.5-36.1.0.jar:36.1] {}
at net.minecraftforge.fml.loading.FMLClientLaunchProvider$$Lambda$458/5248993.call(Unknown Source) [forge-1.16.5-36.1.0.jar:36.1] {}
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:?] {}

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

-- Head --
Thread: Render thread
Stacktrace:
at cam72cam.immersiverailroading.entity.EntityMoveableRollingStock.onTick(EntityMoveableRollingStock.java:216) ~[?:1.16.4-forge-1.8.0] {re:classloading}
at cam72cam.immersiverailroading.entity.EntityCoupleableRollingStock.onTick(EntityCoupleableRollingStock.java:154) ~[?:1.16.4-forge-1.8.0] {re:classloading}
at cam72cam.immersiverailroading.entity.FreightTank.onTick(FreightTank.java:138) ~[?:1.16.4-forge-1.8.0] {re:classloading}
at cam72cam.immersiverailroading.entity.Locomotive.onTick(Locomotive.java:161) ~[?:1.16.4-forge-1.8.0] {re:classloading}
at cam72cam.immersiverailroading.entity.HandCar.onTick(HandCar.java:34) ~[?:1.16.4-forge-1.8.0] {re:classloading}
at cam72cam.mod.entity.ModdedEntity.func_70071_h_(ModdedEntity.java:204) ~[?:1.0.1] {re:classloading}
at net.minecraft.client.world.ClientWorld.func_217418_a(ClientWorld.java:252) ~[?:?] {re:classloading,xf:OptiFine:default,xf:fml:xaerominimap:xaero_clientworldclass,xf:fml:xaeroworldmap:xaero_wm_clientworldclass}
at net.minecraft.client.world.ClientWorld$$Lambda$6223/1990898147.accept(Unknown Source) ~[?:?] {}
-- Entity being ticked --
Details:
Entity Type: immersiverailroading:handcar (cam72cam.mod.entity.ModdedEntity)
Entity ID: 47
Entity Name: entity.immersiverailroading.handcar
Entity's Exact location: 347.10, 70.37, -437.40
Entity's Block location: World: (347,70,-438), Chunk: (at 11,4,10 in 21,-28; contains blocks 336,0,-448 to 351,255,-433), Region: (0,-1; contains chunks 0,-32 to 31,-1, blocks 0,0,-512 to 511,255,-1)
Entity's Momentum: 0.00, 0.00, 0.00
Entity's Passengers: []
Entity's Vehicle: ERROR NullPointerException: null
Stacktrace:
at net.minecraft.world.World.func_217390_a(World.java:554) ~[?:?] {re:classloading,pl:accesstransformer:B,re:mixin,pl:accesstransformer:B}
at net.minecraft.client.world.ClientWorld.func_217419_d(ClientWorld.java:210) ~[?:?] {re:classloading,xf:OptiFine:default,xf:fml:xaerominimap:xaero_clientworldclass,xf:fml:xaeroworldmap:xaero_wm_clientworldclass}

-- Affected level --
Details:
All players: 1 total; [ClientPlayerEntity['$MyName'/527, l='ClientLevel', x=107.64, y=68.13, z=-439.04]]
Chunk stats: Client Chunk Cache: 1369, 1013
Level dimension: minecraft:overworld
Level spawn location: World: (-224,69,-240), Chunk: (at 0,4,0 in -14,-15; contains blocks -224,0,-240 to -209,255,-225), Region: (-1,-1; contains chunks -32,-32 to -1,-1, blocks -512,0,-512 to -1,255,-1)
Level time: 1889591 game time, 6000 day time
Server brand: forge
Server type: Non-integrated multiplayer server
Stacktrace:
at net.minecraft.client.world.ClientWorld.func_72914_a(ClientWorld.java:617) ~[?:?] {re:classloading,xf:OptiFine:default,xf:fml:xaerominimap:xaero_clientworldclass,xf:fml:xaeroworldmap:xaero_wm_clientworldclass}
at net.minecraft.client.Minecraft.func_71396_d(Minecraft.java:2029) [?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:immersiveengineering.mixins.json:accessors.client.MinecraftAccess,pl:mixin:A,pl:runtimedistcleaner:A}
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:623) [?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:immersiveengineering.mixins.json:accessors.client.MinecraftAccess,pl:mixin:A,pl:runtimedistcleaner:A}
at net.minecraft.client.main.Main.main(Main.java:184) [?:?] {re:classloading,pl:runtimedistcleaner:A}
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_51] {}
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_51] {}
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_51] {}
at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_51] {}
at net.minecraftforge.fml.loading.FMLClientLaunchProvider.lambda$launchService$0(FMLClientLaunchProvider.java:51) [forge-1.16.5-36.1.0.jar:36.1] {}
at net.minecraftforge.fml.loading.FMLClientLaunchProvider$$Lambda$458/5248993.call(Unknown Source) [forge-1.16.5-36.1.0.jar:36.1] {}
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:?] {}

-- System Details --
Details:
Minecraft Version: 1.16.5
Minecraft Version ID: 1.16.5
Operating System: Windows 10 (amd64) version 10.0
Java Version: 1.8.0_51, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 1104735824 bytes (1053 MB) / 2147483648 bytes (2048 MB) up to 2147483648 bytes (2048 MB)
CPUs: 12
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
ModLauncher: 8.0.9+86+master.3cf110c
ModLauncher launch target: fmlclient
ModLauncher naming: srg
ModLauncher services:
/mixin-0.8.2.jar mixin PLUGINSERVICE
/eventbus-4.0.0.jar eventbus PLUGINSERVICE
/forge-1.16.5-36.1.0.jar object_holder_definalize PLUGINSERVICE
/forge-1.16.5-36.1.0.jar runtime_enum_extender PLUGINSERVICE
/accesstransformers-3.0.1.jar accesstransformer PLUGINSERVICE
/forge-1.16.5-36.1.0.jar capability_inject_definalize PLUGINSERVICE
/forge-1.16.5-36.1.0.jar runtimedistcleaner PLUGINSERVICE
/mixin-0.8.2.jar mixin TRANSFORMATIONSERVICE
/OptiFine_1.16.5_HD_U_G8.jar OptiFine TRANSFORMATIONSERVICE
/forge-1.16.5-36.1.0.jar fml TRANSFORMATIONSERVICE
FML: 36.1
Forge: net.minecraftforge:36.1.0
FML Language Providers:
[email protected]
minecraft@1
Mod List:
forge-1.16.5-36.1.0-client.jar |Minecraft |minecraft |1.16.5 |DONE |NOSIGNATURE
TrackAPI-1.16.4-forge-1.2.1.jar |TrackAPI |trackapi |1.2 |DONE |NOSIGNATURE
forge-1.16.5-36.1.0-universal.jar |Forge |forge |36.1.0 |DONE |22:af:21:d8:19:82:7f:93:94:fe:2b:ac:b7:e4:41:57:68:39:87:b1:a7:5c:c6:44:f9:25:74:21:14:f5:0d:90
ImmersiveEngineering-1.16.5-5.0.2-137.jar |Immersive Engineering |immersiveengineering |1.16.5-5.0.2-137 |DONE |44:39:94:cf:1d:8c:be:3c:7f:a9:ee:f4:1e:63:a5:ac:61:f9:c2:87:d5:5b:d9:d6:8c:b5:3e:96:5d:8e:3f:b7
Xaeros_Minimap_21.12.5_Forge_1.16.5.jar |Xaero's Minimap |xaerominimap |21.12.5 |DONE |NOSIGNATURE
ImmersiveRailroading-1.16.4-forge-1.8.0.1.jar |Immersive Railroading |immersiverailroading |1.16.4-forge-1.8.0 |DONE |NOSIGNATURE
XaerosWorldMap_1.14.5_Forge_1.16.5.jar |Xaero's World Map |xaeroworldmap |1.14.5 |DONE |NOSIGNATURE
UniversalModCore-1.16.4-forge-1.0.1.jar |Universal Mod Core |universalmodcore |1.0.1 |DONE |NOSIGNATURE
Crash Report UUID: 97360a2a-3838-43e4-b276-6b4c908c0a6d
Launched Version: 1.16.5-forge-36.1.0
Backend library: LWJGL version 3.2.2 build 10
Backend API: NVIDIA GeForce RTX 3080 Ti/PCIe/SSE2 GL version 4.6.0 NVIDIA 466.63, 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:
Current Language: English (US)
CPU: 12x Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz
OptiFine Version: OptiFine_1.16.5_HD_U_G8
OptiFine Build: 20210515-161946
Render Distance Chunks: 25
Mipmaps: 4
Anisotropic Filtering: 16
Antialiasing: 0
Multitexture: true
Shaders: (internal)
OpenGlVersion: 4.6.0 NVIDIA 466.63
OpenGlRenderer: NVIDIA GeForce RTX 3080 Ti/PCIe/SSE2
OpenGlVendor: NVIDIA Corporation
CpuCount: 12`

A friend of mine on the same server removed the handcar mentioned above, after that I could join again.

commented

This should be fixed in the next release. If certain stock did not load or a resource pack was removed, problems like this could occur.

commented

that is quite strange

commented

I have this issue frequently as well, sudden crash with no log, or ticking entity.