BigBrotherTeam / BigBrother

Allows the connection of Minecraft: Java Edtion clients to PocketMine-MP servers. Made for PocketMine-MP
GNU Lesser General Public License v3.0
96 stars 23 forks source link

PocketMine-MP Crash #191

Closed strich3 closed 3 years ago

strich3 commented 3 years ago

[14:57:05] [Server thread/CRITICAL]: TypeError: "Argument 1 passed to shoghicp\BigBrother\network\Packet::putSlot() must be an instance of pocketmine\item\Item, instance of pocketmine\network\mcpe\protocol\types\inventory\ItemStackWrapper given, called in /home/PocketMine-MP/plugins/BigBrother-master/src/shoghicp/BigBrother/network/protocol/Play/Server/WindowItemsPacket.php on line 50" (EXCEPTION) in "plugins/BigBrother-master/src/shoghicp/BigBrother/network/Packet" at line 106 [14:57:05] [Server thread/CRITICAL]: #0 plugins/BigBrother-master/src/shoghicp/BigBrother/network/protocol/Play/Server/WindowItemsPacket(50): shoghicp\BigBrother\network\Packet->putSlot(object pocketmine\network\mcpe\protocol\types\inventory\ItemStackWrapper) [14:57:05] [Server thread/CRITICAL]: #1 plugins/BigBrother-master/src/shoghicp/BigBrother/network/Packet(239): shoghicp\BigBrother\network\protocol\Play\Server\WindowItemsPacket->encode() [14:57:05] [Server thread/CRITICAL]: #2 plugins/BigBrother-master/src/shoghicp/BigBrother/network/ProtocolInterface(183): shoghicp\BigBrother\network\Packet->write() [14:57:05] [Server thread/CRITICAL]: #3 plugins/BigBrother-master/src/shoghicp/BigBrother/network/ProtocolInterface(241): shoghicp\BigBrother\network\ProtocolInterface->sendPacket(integer 2, object shoghicp\BigBrother\network\protocol\Play\Server\WindowItemsPacket) [14:57:05] [Server thread/CRITICAL]: #4 pmsrc/src/pocketmine/Player(3321): shoghicp\BigBrother\network\ProtocolInterface->putPacket(object shoghicp\BigBrother\DesktopPlayer, object shoghicp\BigBrother\network\protocol\Play\Server\WindowItemsPacket, boolean , boolean ) [14:57:05] [Server thread/CRITICAL]: #5 pmsrc/src/pocketmine/Player(3338): pocketmine\Player->sendDataPacket(object pocketmine\network\mcpe\protocol\InventoryContentPacket, boolean , boolean ) [14:57:05] [Server thread/CRITICAL]: #6 pmsrc/src/pocketmine/inventory/BaseInventory(446): pocketmine\Player->dataPacket(object pocketmine\network\mcpe\protocol\InventoryContentPacket) [14:57:05] [Server thread/CRITICAL]: #7 plugins/BigBrother-master/src/shoghicp/BigBrother/utils/InventoryUtils(885): pocketmine\inventory\BaseInventory->sendContents(array[1]) [14:57:05] [Server thread/CRITICAL]: #8 plugins/BigBrother-master/src/shoghicp/BigBrother/network/Translator(264): shoghicp\BigBrother\utils\InventoryUtils->onWindowClick(object shoghicp\BigBrother\network\protocol\Play\Client\ClickWindowPacket) [14:57:05] [Server thread/CRITICAL]: #9 plugins/BigBrother-master/src/shoghicp/BigBrother/network/ProtocolInterface(256): shoghicp\BigBrother\network\Translator->interfaceToServer(object shoghicp\BigBrother\DesktopPlayer, object shoghicp\BigBrother\network\protocol\Play\Client\ClickWindowPacket) [14:57:05] [Server thread/CRITICAL]: #10 plugins/BigBrother-master/src/shoghicp/BigBrother/network/ProtocolInterface(379): shoghicp\BigBrother\network\ProtocolInterface->receivePacket(object shoghicp\BigBrother\DesktopPlayer, object shoghicp\BigBrother\network\protocol\Play\Client\ClickWindowPacket) [14:57:05] [Server thread/CRITICAL]: #11 plugins/BigBrother-master/src/shoghicp/BigBrother/network/ProtocolInterface(409): shoghicp\BigBrother\network\ProtocolInterface->handlePacket(object shoghicp\BigBrother\DesktopPlayer, string[10] ...%......) [14:57:05] [Server thread/CRITICAL]: #12 pmsrc/src/pocketmine/network/Network(109): shoghicp\BigBrother\network\ProtocolInterface->process() [14:57:05] [Server thread/CRITICAL]: #13 pmsrc/src/pocketmine/Server(2386): pocketmine\network\Network->processInterfaces() [14:57:05] [Server thread/CRITICAL]: #14 pmsrc/src/pocketmine/Server(2153): pocketmine\Server->tick() [14:57:05] [Server thread/CRITICAL]: #15 pmsrc/src/pocketmine/Server(1993): pocketmine\Server->tickProcessor() [14:57:05] [Server thread/CRITICAL]: #16 pmsrc/src/pocketmine/Server(1587): pocketmine\Server->start() [14:57:05] [Server thread/CRITICAL]: #17 pmsrc/src/pocketmine/PocketMine(272): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[20] /home/PocketMine-MP/, string[28] /home/PocketMine-MP/plugins/) [14:57:05] [Server thread/CRITICAL]: #18 pmsrc/src/pocketmine/PocketMine(302): pocketmine\server() [14:57:05] [Server thread/CRITICAL]: #19 pmsrc(11): require(string[72] phar:///home/PocketMine-MP/pocketmine.phar/src/pocketmine/PocketMine.php) [14:57:05] [Server thread/EMERGENCY]: An unrecoverable error has occurred and the server has crashed. Creating a crash dump [14:57:05] [Server thread/EMERGENCY]: Please upload the "/home/PocketMine-MP/crashdumps/Mon_Feb_1-14.57.05-UTC_2021.log" file to the Crash Archive and submit the link to the Bug Reporting page. Give as much info as you can.

hmy2001 commented 3 years ago

Now updated master & 1.16.4 branch. maybe fixed it