Problem/Bug a bug that prevents me from connecting to my minecraft server

Discussion in 'Bukkit Help' started by MaxLananas, Oct 22, 2023.

Thread Status:
Not open for further replies.
  1. Offline

    MaxLananas

    Hello i have a bug pls help me :
    Error receiving packet 87
    Code:
    216 java.lang.NullPointerException: Cannot invoke "org.bukkit.profile.PlayerProfile.getTextures()" because "ownerProfile" is null
    217 at org.bukkit.craftbukkit.v1_20_R2.inventory.CraftMetaSkull.applyToItem(CraftMetaSkull.java:146) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3922-Spigot-dba3cdc-75502b6]
    218 at org.bukkit.craftbukkit.v1_20_R2.inventory.CraftItemStack.setItemMeta(CraftItemStack.java:660) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3922-Spigot-dba3cdc-75502b6]
    219 at net.minecraft.network.PacketDataSerializer.a(PacketDataSerializer.java:631) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3922-Spigot-dba3cdc-75502b6]
    220 at net.minecraft.network.protocol.game.PacketPlayOutEntityEquipment.a(SourceFile:49) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3922-Spigot-dba3cdc-75502b6]
    221 at net.minecraft.network.PacketEncoder.a(SourceFile:47) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3922-Spigot-dba3cdc-75502b6]
    222 at net.minecraft.network.PacketEncoder.encode(SourceFile:15) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3922-Spigot-dba3cdc-75502b6]
    223 at io.netty.handler.codec.MessageToByteEncoder.write(MessageToByteEncoder.java:107) ~[netty-codec-4.1.97.Final.jar:4.1.97.Final]
    224 at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:881) ~[netty-transport-4.1.97.Final.jar:4.1.97.Final]
    225 at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:863) ~[netty-transport-4.1.97.Final.jar:4.1.97.Final]
    226 at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:968) ~[netty-transport-4.1.97.Final.jar:4.1.97.Final]
    227 at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:856) ~[netty-transport-4.1.97.Final.jar:4.1.97.Final]
    228 at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:851) ~[netty-transport-4.1.97.Final.jar:4.1.97.Final]
    229 at io.netty.handler.codec.MessageToMessageEncoder.writePromiseCombiner(MessageToMessageEncoder.java:140) ~[netty-codec-4.1.97.Final.jar:4.1.97.Final]
    230 at io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:120) ~[netty-codec-4.1.97.Final.jar:4.1.97.Final]
    231 at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:881) ~[netty-transport-4.1.97.Final.jar:4.1.97.Final]
    232 at io.netty.channel.AbstractChannelHandlerContext.invokeWriteAndFlush(AbstractChannelHandlerContext.java:940) ~[netty-transport-4.1.97.Final.jar:4.1.97.Final]
    233 at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:966) ~[netty-transport-4.1.97.Final.jar:4.1.97.Final]
    234 at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:934) ~[netty-transport-4.1.97.Final.jar:4.1.97.Final]
    235 at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:984) ~[netty-transport-4.1.97.Final.jar:4.1.97.Final]
    236 at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:1025) ~[netty-transport-4.1.97.Final.jar:4.1.97.Final]
    237 at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:306) ~[netty-transport-4.1.97.Final.jar:4.1.97.Final]
    238 at net.minecraft.network.NetworkManager.c(NetworkManager.java:311) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3922-Spigot-dba3cdc-75502b6]
    239 at net.minecraft.network.NetworkManager.lambda$9(NetworkManager.java:304) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3922-Spigot-dba3cdc-75502b6]
    240 at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) ~[netty-common-4.1.97.Final.jar:4.1.97.Final]
    241 at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) ~[netty-common-4.1.97.Final.jar:4.1.97.Final]
    242 at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) ~[netty-common-4.1.97.Final.jar:4.1.97.Final]
    243 at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:413) ~[netty-transport-classes-epoll-4.1.97.Final.jar:4.1.97.Final]
    244 at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.97.Final.jar:4.1.97.Final]
    245 at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.97.Final.jar:4.1.97.Final]
    246 at java.lang.Thread.run(Thread.java:833) ~[?:?]
    247 [10:04:37] [Server thread/INFO]: MaxLananas lost connection: Internal Exception: io.netty.handler.codec.EncoderException: java.lang.NullPointerException: Cannot invoke "org.bukkit.profile.PlayerProfile.getTextures()" because "ownerProfile" is null
     
  2. Offline

    timtower Administrator Administrator Moderator

  3. Offline

    MaxLananas

    yes is whit worldedit
     
  4. Offline

    timtower Administrator Administrator Moderator

    And what did you do to get that?
     
  5. Offline

    MaxLananas

    I don't really know I was in spectator and my friends joined me and now as soon as I want to join the server they give me the error : MaxLananas lost connection: Internal Exception: io.netty.handler.codec.EncoderException: java.lang.NullPointerException: Cannot invoke "org.bukkit.profile.PlayerProfile.getTextures()" because "ownerProfile" is null
     
  6. Offline

    timtower Administrator Administrator Moderator

  7. Offline

    MaxLananas

  8. Offline

    timtower Administrator Administrator Moderator

    Then you remove it, I personally don't care.
     
  9. Offline

    MaxLananas

  10. Offline

    timtower Administrator Administrator Moderator

    Seems like a bad chunk, tried backing up the worlds and clearing them?
     
  11. Offline

    MaxLananas

    I'm not sure I have any backup, I'll ask a friend
     
  12. Offline

    timtower Administrator Administrator Moderator

    You make one? Just copy paste the folders.
     
  13. Offline

    MaxLananas

    Okay what I'm going to do I'm going to try to test the world solo to see if it's only Aternos or it's the maps

    I have good news with my friend we found something actually have my teleport very far from the console but as soon as I go in the two chunks which makes me crash my friend and I it makes me crash suddenly it's a corrupted chunk problem

    so we know which chunks are corrupt but we don't know how to delete them

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Oct 22, 2023
  14. Offline

    timtower Administrator Administrator Moderator

    In the world folder there are files, those numbers are the chunks.
    Make sure to have a backup first.
     
  15. Offline

    JavontePagac

    Any update?
     
  16. Offline

    timtower Administrator Administrator Moderator

    User hasn't been online for weeks, why do you want an update?
     
  17. Offline

    spom

    I have the same error on my daughter's server (packet 87, all the way to the "cannot invoke "org.bukkit.profile.PlayerProfile.getTextures()" because "ownerProfile" is null"). I don't see anything about a bad chunk in the logs that I'm looking at (doesn't mean its not there, just that I can't find it). How did you determine and identify the bad chunk?

    It's just her account to- her sister gets in OK. Not sure what else to do short of setting up a new user for her.

    Plugins are Luck-Perms 5.3.47, multiverse-core 4.3.12, and multiverse-portals 4.2.3.
    https://pastebin.com/R5uHWsEj (I think it looks pretty similar in the error section).
     
Thread Status:
Not open for further replies.

Share This Page