1.18.2 - Crash during feature placement - java.lang.NullPointerException: Null part for null
trienow opened this issue ยท 2 comments
When initially generating a world with lost cities (with the attached config) the game crashes.
Attempts to pinpoint
Config 1
I noticed that the provided configs work just fine, but my edited config does not.
With this config, the server crashes a couple of seconds after I join, the server goes down.
- Config: https://pastebin.com/fE274Ru9 (A modified copy of cavern.json)
- Crash: crash-2022-05-29_20.04.38-server.txt
- Note that the seed in the crash report is incorrect. I'm using the seed
8984587677161112628
. I don't know why it outputs the number it does.
- Note that the seed in the crash report is incorrect. I'm using the seed
- debug.log: https://pastebin.com/Vx1Rq8h7
- Interesting are the
Tried to load a DUMMY block entity @ BlockPos{x=136, y=71, z=-115} but found not block entity block Block{minecraft:air} at location
messages while generating the world. These go away, when I set the city-chance to a very low number or zero.
- Interesting are the
Setting the setting It seemed to have worked, but using the following config, a crash still occurs.railwaysCanEnd
back to false
prevents the crash
Config 2
This config is identical to the first config, with the following differences:
railwaysCanEnd
isfalse
- The explosion settings have been copied from the
cavern.json
profile - The
cityChance
has been decreased by ten.
Info:
- Seed:
8984587677161112628
- Config: https://pastebin.com/ZWvuHnsk
- Crash: crash-2022-05-29_21.31.27-server.txt
- debug.log: https://pastebin.com/nFnMHfDp
The call stack looks similar, though now I'm not sure what setting is causing it...
Versions
Entity | Version |
---|---|
Minecraft | 1.18.2 |
Forge | 40.1.22 & 40.1.25 (the newest available, which another mod requires) |
Lost Cities | 1.18-5.1.0 & 1.18-5.1.1 |
If any more information is needed, I am happy to provide it.
I changed quite a bit because it always seemed like it was working. My new suspicion is the setting buildingMinCellars
which I increased from 0
to 1
.
A full diff of the settings I changed, is here: https://pastebin.com/ZqzwvNGm