IntellectualSites / IntellectualSites/PlotSquared
NullPointerException after startup done
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 653
- Forks
- 975
- Avg merge
- 2m
- Merged PRs (30d)
- 6
Description
Server Implementation
Paper
Server Version
1.19.2
Describe the bug
After the server is done starting and PlotSquared starts doing stuff it starts spamming this
java.lang.NullPointerException: Cannot invoke "com.sk89q.worldedit.world.block.BlockState.equals(Object)" because "now" is null
Now according to the source code of PlotSquared https://github.com/IntellectualSites/PlotSquared/blob/v6/Core/src/main/java/com/plotsquared/core/generator/HybridUtils.java#L238 it is not supposed to be null but for some reason it is null for me. The spam is so intensive that the server doesn't respond to anything so I can't even generate a debugpaste.
To Reproduce
Not sure. It happend after I updated PlotSquared, FAWE, FAVS and paper today.
Expected behaviour
To not spam this error and cause a server crash
Screenshots / Videos
No response
Error log (if applicable)
https://paste.gg/p/anonymous/6749fc273f254bb49656bc3144a5340f
Plot Debugpaste
Server does not respond so can't generate a debugpaste
PlotSquared Version
PlotSquared 6.10.3
Checklist
- I have included a Plot debugpaste.
- I am using the newest build from https://www.spigotmc.org/resources/77506/ and the issue still persists.
Anything else?
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with Core/src/main/java/com/plotsquared/core/generator/HybridUtils.java around line 238 and inspect the linked error log. Compare the reported PlotSquared 6.10.3, Paper 1.19.2, FAWE, and FAVS versions, then determine a reproducible startup sequence. Done means identifying the null-producing condition and preventing the startup error spam or documenting the required compatibility fix.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100