InvalidArgumentException

Discussion in 'Help' started by A354-PH, Jan 1, 2019.

  1. A354-PH

    A354-PH Slime

    Messages:
    90
    GitHub:
    a354-ph
    Code:
    [22:02:27] [Server thread/CRITICAL]: InvalidArgumentException: "NBT encoded length must be < 32768, got 65643 bytes" (EXCEPTION) in "src/pocketmine/network/mcpe/NetworkBinaryStream" at line 114
    How to fix?.
     
  2. corytortoise

    corytortoise Skeleton

    Messages:
    839
    GitHub:
    corytortoise
    That is not nearly enough information. When does this happen? Do you have a plugin causing it? What version of PocketMine are you using? What effect does the error have on your server?
     
  3. A354-PH

    A354-PH Slime

    Messages:
    90
    GitHub:
    a354-ph
    Its when a player called MatrixXbox12 joins my server.
    It keeps saying Internal Server 4 him
     
  4. Destroyer57

    Destroyer57 Baby Zombie

    Messages:
    185
    This exception is thrown because of a entity clear all entities on your server

    Or on NetworkBinaryStream.php remove
    if($nbtLen > 32767){ in line 124
     
  5. SleepSpace9

    SleepSpace9 Witch

    Messages:
    59
    GitHub:
    sleepspace9
    I guess it's caused by a player using a skin of 128x128 pixel. Some plugin may try to save it using a StringTag, which cannot hold this length of bytes. Are you using any plugin handling player skins, maybe for NPCs?
     
  6. dktapps

    dktapps Administrator Staff Member PMMP Team

    Messages:
    676
    GitHub:
    dktapps
    Are you some kind of idiot? Why do you think that check is there?
     
    corytortoise likes this.
  7. dktapps

    dktapps Administrator Staff Member PMMP Team

    Messages:
    676
    GitHub:
    dktapps
    Go into your players folder and delete the .dat file for this player. He has an item in his inventory that has a too-large NBT tag.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.