Comments (7)
Is this a full error?
from folia.
Is this a full error?
Yes
from folia.
This is caused by some plugin on your server.
Perhaps should add a check that the world is null and have the method behave differently.
// Paper start - more teleport API / async chunk API
@Override
public java.util.concurrent.CompletableFuture<Boolean> teleportAsync(final Location location, final TeleportCause cause, final io.papermc.paper.entity.TeleportFlag... teleportFlags) {
Preconditions.checkArgument(location != null, "location");
location.checkFinite();
Location locationClone = location.clone(); // clone so we don't need to worry about mutations after this call.
// Folia start - region threading
java.util.concurrent.CompletableFuture<Boolean> ret = new java.util.concurrent.CompletableFuture<>();
java.util.function.Consumer<Entity> run = (Entity nmsEntity) -> {
boolean success = nmsEntity.teleportAsync(
((CraftWorld)locationClone.getWorld()).getHandle(), // NullPointerException at this place because world is null
from folia.
This is caused by some plugin on your server. Perhaps should add a check that the world is null and have the method behave differently.
// Paper start - more teleport API / async chunk API @Override public java.util.concurrent.CompletableFuture<Boolean> teleportAsync(final Location location, final TeleportCause cause, final io.papermc.paper.entity.TeleportFlag... teleportFlags) { Preconditions.checkArgument(location != null, "location"); location.checkFinite(); Location locationClone = location.clone(); // clone so we don't need to worry about mutations after this call. // Folia start - region threading java.util.concurrent.CompletableFuture<Boolean> ret = new java.util.concurrent.CompletableFuture<>(); java.util.function.Consumer<Entity> run = (Entity nmsEntity) -> { boolean success = nmsEntity.teleportAsync( ((CraftWorld)locationClone.getWorld()).getHandle(), // NullPointerException at this place because world is null
I found the problem, yes there is more than this log. It is caused by the BadOmen effect. This error and crash still continues in version 1.21.1.
#264 #268
from folia.
I found the problem, yes there is more than this log. It is caused by the BadOmen effect. This error and crash still continues in version 1.21.1.
#264 #268
I doubt it's because of vanilla mechanics. Specifically here the call happens on the API.
from folia.
I found the problem, yes there is more than this log. It is caused by the BadOmen effect. This error and crash still continues in version 1.21.1.
#264 #268I doubt it's because of vanilla mechanics. Specifically here the call happens on the API.
Check the logs on the number I tagged. The log here is misleading. It comes entirely from badomen.
from folia.
If you clear the player's effect with the /effect clear command, you will get rid of this crash. You must do this very quickly when the player enters the server.
from folia.
Related Issues (20)
- [CRASH] folia 1.21 - server crashing when 350+ bots came out at once HOT 1
- Scheduled tasks cannot add potion effects HOT 1
- Stopped the server on Folia 1.21 HOT 2
- Memory leak on Folia 1.21-2b8c879 HOT 20
- Abnormal crashes lead to shutdown on Folia 1.21-2b8c879 HOT 1
- Folia1.21 chunk crashes, unable to run server normally
- Folia 1.21 - Server crash when potion effects attempt to access raid instances HOT 3
- What happened to the ender dragon? I can't hit it, it doesn't take damage. It is applied but in a very strange way, without taking into account the hit-box. HOT 1
- glow item frame invisible after 1.21 folia restart server HOT 4
- Arrmor trims not working HOT 1
- Crash server - net.minecraft.ReportedException: Ticking player HOT 5
- After the player kills the Ender Dragon for the first time, jumping into the portal will cause the player to get stuck. HOT 4
- Thread Region Scheduler Thread #8 failed main thread check: Cannot read world asynchronously HOT 2
- Thread Region Scheduler Thread #12 failed main thread check: Cannot read world asynchronously
- Update FOLIA 1.21.1 and FIX BUGS HOT 1
- I'm trying craft any item HOT 12
- the "This boat has legs" achievement doesn't work. HOT 2
- Cannot read field "captureTreeGeneration" HOT 3
- raid_omen effect causes crash in some situations HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from folia.