Giter Club home page Giter Club logo

Comments (7)

sub-kek avatar sub-kek commented on August 21, 2024

Is this a full error?

from folia.

Potenza7 avatar Potenza7 commented on August 21, 2024

Is this a full error?

Yes

from folia.

sub-kek avatar sub-kek commented on August 21, 2024

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.

Potenza7 avatar Potenza7 commented on August 21, 2024

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.

sub-kek avatar sub-kek commented on August 21, 2024

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.

Potenza7 avatar Potenza7 commented on August 21, 2024

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.

Check the logs on the number I tagged. The log here is misleading. It comes entirely from badomen.

from folia.

Potenza7 avatar Potenza7 commented on August 21, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.