Thut's Elevators

Thut's Elevators

4M Downloads

dissonnect player on join[forge-1.15.2-31.2.9]

SDUBZ opened this issue ยท 4 comments

commented

Issue Description:

java.lang.NullPointerException
at thut.api.OwnableCaps.attachMobs(OwnableCaps.java:281)

What happens:

player gets kickeed from joining the server

What you expected to happen:

the palyer could join no problem

Steps to reproduce:

1.use the mods listed here
mods.txt

2.load a virtual server and have a player try to connect
3. get the problem mentioned above
...

logs:
debug.log
latest.log


Affected Versions (Do not use "latest"): Replace with a list of all mods you have in.

  • Thutcore: thutcore-1.15.2-7.2.1
  • Minecraft: 1.15.2
  • Forge:31.2.9
commented

this is also affecting singleplayer world too
latest.log

commented

hmm, one of your mods appears to be doing something it shouldn't be.

The particular error is thrown by this line of code:

https://github.com/Thuts-Mods/ThutCore/blob/1.15.2/src/main/java/thut/api/OwnableCaps.java#L281

This means either p is null, or the output of getCapability(ThutCaps.OWNABLE_CAP) is null.

Neither of these are allowed states for those values.

Can you see if you can find which mod is required for this to occur? ie, in single player, remove half the mods (except the elevators/thutcore), see if it still occurs, if so, add back the half you removed, and remove half of the ones you did not, repeat until the crash doesn't occur (or if it occurs with only thutcore and the elevator mods, link the new logs with just those two)

commented

might be related to but unsure need to test more AlexModGuy/Citadel#9

commented

the stuff mentioned in that issue is definitely is what could be causing this issue