IntellectualSites / IntellectualSites/PlotSquared

NullPointerException after startup done

Open
#3,865 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Requires Testing
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
Anything else?

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.