Create

Create

86M Downloads

java.lang.NullPointerException: Cannot invoke "com.simibubi.create.content.trains.graph.TrackEdge.getTrackMaterial()" because "point.edge" is null

uberswe opened this issue ยท 4 comments

commented

Describe the Bug

When trying to start a server after a normal shutdown we got a null pointer exception that prevented a startup

Reproduction Steps

It's a multiplayer server and I am not sure exactly what train caused this issue.

Expected Result

The server should start without a null pointer exception

Screenshots and Videos

No response

Crash Report or Log

https://gist.github.com/uberswe/1a19ac8a3e7f361708299f5560bd313f

Operating System

Ubuntu 22.04.3 LTS

Mod Version

0.5.1f

Minecraft Version

1.19.2

Forge Version

43.2.14

Other Mods

alloyed-1.19.2-v1.5a.jar
appleskin-forge-mc1.19-2.4.2.jar
architectury-6.5.85-forge.jar
artifacts-1.19.2-5.0.4.jar
badpackets-forge-0.2.3.jar
balm-forge-1.19.2-4.6.0.jar
BetterAdvancements-1.19.2-0.2.2.142.jar
BetterCompatibilityChecker-1.0.10-build.50+mc1.19.2.jar
caelus-forge-1.19.2-3.0.0.6.jar
cfm-7.0.0-pre35-1.19.2.jar
chefs-delight-1.0.2-forge-1.19.2.jar
chipped-forge-1.19.2-2.1.5.jar
Chunky-1.3.38.jar
clickadv-1.19.2-3.5.jar
cloth-config-8.3.103-forge.jar
Clumps-forge-1.19.2-9.0.0+14.jar
collective-1.19.2-6.80.jar
comforts-forge-6.0.6+1.19.2.jar
connectivity-1.19.2-4.6.jar
Controlling-forge-1.19.2-10.0+7.jar
CosmeticArmorReworked-1.19.2-v1a.jar
create-confectionery1.19.2_v1.0.9.jar
createaddition-1.19.2-1.1.1.jar
createcafe-1.2.3-1.19.2.jar
createdeco-1.3.3-1.19.2.jar
createoreexcavation-1.19-1.2.2.jar
create_crystal_clear-0.2.1-1.19.2.jar
create_enchantment_industry-1.19.2-for-create-0.5.1.f-1.2.7.d.jar
create_jetpack-forge-3.2.3.jar
create_misc_and_things_ 1.19.2_4.0A.jar
create_ore_excavation_plus-0.2.2-1.19.2.jar
CreativeCore_FORGE_v2.9.4_mc1.19.2.jar
creatorstatus-0.1.1-1.19.2.jar
Croptopia-1.19.2-FORGE-2.2.2.jar
CTM-1.19.2-1.1.6+8.jar
ctov-3.2.6c.jar
cupboard-1.19.2-2.1.jar
curios-forge-1.19.2-5.1.4.2.jar
dcintegration-forge-3.0.3-1.19.2.jar
Decorative Blocks-forge-1.19.2-3.0.0.jar
elytraslot-forge-6.1.1+1.19.2.jar
entityculling-forge-1.6.1-mc1.19.2.jar
FarmersDelight-1.19.2-1.2.3.jar
FastLeafDecay-30.jar
ferritecore-5.0.3-forge.jar
FramedBlocks-6.8.6.jar
framedcompactdrawers-1.19-5.2.1.jar
ftb-chunks-forge-1902.4.2-build.302.jar
ftb-library-forge-1902.4.1-build.236.jar
ftb-quests-forge-1902.5.6-build.304.jar
ftb-ranks-forge-1902.1.16-build.98.jar
ftb-teams-forge-1902.2.14-build.123.jar
ftbbackups2-forge-1.19.2-1.0.23.jar
gravestone-1.19.2-1.0.1.jar
hammers_1.19.2-1.9.jar
item-filters-forge-1902.2.9-build.51.jar
Jade-1.19.1-forge-8.9.1.jar
jei-1.19.2-forge-11.6.0.1018.jar
JustEnoughAdvancements-1.19-4.0.2.jar
JustEnoughProfessions-forge-1.19.2-2.0.2.jar
JustEnoughResources-1.19.2-1.2.2.236.jar
kotlinforforge-3.12.0-all.jar
kubejs-create-forge-1902.2.4-build.29.jar
kubejs-forge-1902.6.2-build.39.jar
LibX-1.19.2-4.2.8.jar
lootr-1.19-0.4.24.64.jar
moonlight-1.19.2-2.3.4-forge.jar
moreoverlays-1.21.9-mc1.19.2.jar
MouseTweaks-forge-mc1.19-2.23.jar
NoChatReports-FORGE-1.19.2-v1.5.1.jar
observable-3.3.1.jar
Patchouli-1.19.2-77.jar
Placebo-1.19.2-7.3.3.jar
polylib-forge-1900.0.2-build.73.jar
polymorph-forge-0.46.5+1.19.2.jar
refinedstorage-1.11.6.jar
refinedstorageaddons-0.9.0.jar
resourcefullib-forge-1.19.2-1.1.24.jar
rhino-forge-1902.2.2-build.280.jar
shutupexperimentalsettings-1.0.5.jar
simpleshops-1.2.2.jar
sliceanddice-forge-2.3.2.jar
smoothboot(reloaded)-mc1.19.2-0.0.2.jar
spark-1.10.37-forge.jar
starlight-1.1.1+forge.cf5b10b.jar
Steam_Rails-1.5.3+forge-mc1.19.2.jar
StorageDrawers-1.19-11.1.2.jar
supplementaries-1.19.2-2.4.5.jar
Terralith_1.19.3_v2.3.12.jar
ToastControl-1.19.2-7.0.0.jar
TravelersBackpack-1.19.2-8.2.37.jar
voicechat-forge-1.19.2-2.4.28.jar
waystones-forge-1.19.2-11.4.1.jar
YungsApi-1.19.2-Forge-3.8.9.jar
YungsBetterDesertTemples-1.19.2-Forge-2.2.2.jar
YungsBetterDungeons-1.19.2-Forge-3.2.2.jar
YungsBetterMineshafts-1.19.2-Forge-3.2.0.jar
YungsBetterNetherFortresses-1.19.2-Forge-1.0.6.jar
YungsBetterOceanMonuments-1.19.2-Forge-2.1.1.jar
YungsBetterStrongholds-1.19.2-Forge-3.2.0.jar
YungsBetterWitchHuts-1.19.2-Forge-2.1.0.jar

Additional Context

To get around the issue and to get the server started I added a try catch here

return leadingBogey().type.isOnIncompatibleTrack(this, true)

public boolean isOnIncompatibleTrack() {
    try {
        return leadingBogey().type.isOnIncompatibleTrack(this, true)
                || trailingBogey().type.isOnIncompatibleTrack(this, false);
    } catch (NullPointerException e) {
        return false;
    }
}
commented

This same issue just happened to me and i cannot seem to fix it. i am using the DeceasedCraft modpack and now nothing works cuz the server is broken from this error

I had to compile my own version of Create for the server as described at the bottom of my error report but it's not an easy fix.

commented

I'll be closing the issue since its not a create caused crash

commented

#5124 this should be fixed already

commented

Actually this is a issue with steam n rails thats already been fixed for next release, this normally shouldn't ever occur but yeah Layers-of-Railways/Railway@13f152a