Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error schematic #148

Closed
MrHoller opened this issue Apr 12, 2021 · 6 comments
Closed

error schematic #148

MrHoller opened this issue Apr 12, 2021 · 6 comments

Comments

@MrHoller
Copy link

MrHoller commented Apr 12, 2021

error in load schematic for //schem load ship
console:

[23:17:06] [Server thread/CRITICAL]: #0 (): czechpmdevs\buildertools\schematics\SchematicsManager::czechpmdevs\buildertools\schematics\{closure}(string[64] czechpmdevs\buildertools\schematics\format\BuilderToolsSchematic)
[23:17:06] [Server thread/CRITICAL]: #1 plugins/BuilderTools/src/czechpmdevs/buildertools/schematics/SchematicsManager(194): array_map(object Closure, array[3])
[23:17:06] [Server thread/CRITICAL]: #2 plugins/BuilderTools/src/czechpmdevs/buildertools/schematics/SchematicsManager(77): czechpmdevs\buildertools\schematics\SchematicsManager::findSchematicFile(string[4] ship)
[23:17:06] [Server thread/CRITICAL]: #3 plugins/BuilderTools/src/czechpmdevs/buildertools/commands/SchematicCommand(83): czechpmdevs\buildertools\schematics\SchematicsManager::loadSchematic(string[4] ship, object Closure)
[23:17:06] [Server thread/CRITICAL]: #4 pmsrc/src/pocketmine/command/SimpleCommandMap(248): czechpmdevs\buildertools\commands\SchematicCommand->execute(object pocketmine\Player, string[6] /schem, array[2])
[23:17:06] [Server thread/CRITICAL]: #5 pmsrc/src/pocketmine/Server(1809): pocketmine\command\SimpleCommandMap->dispatch(object pocketmine\Player, string[16] /schem load ship)
[23:17:06] [Server thread/CRITICAL]: #6 pmsrc/src/pocketmine/Player(2351): pocketmine\Server->dispatchCommand(object pocketmine\Player, string[16] /schem load ship)
[23:17:06] [Server thread/CRITICAL]: #7 pmsrc/src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(239): pocketmine\Player->chat(string[17] //schem load ship)
[23:17:06] [Server thread/CRITICAL]: #8 pmsrc/src/pocketmine/network/mcpe/protocol/CommandRequestPacket(54): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleCommandRequest(object pocketmine\network\mcpe\protocol\CommandRequestPacket)
[23:17:06] [Server thread/CRITICAL]: #9 pmsrc/src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(109): pocketmine\network\mcpe\protocol\CommandRequestPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
[23:17:06] [Server thread/CRITICAL]: #10 pmsrc/src/pocketmine/network/mcpe/protocol/BatchPacket(130): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\CommandRequestPacket)
[23:17:06] [Server thread/CRITICAL]: #11 pmsrc/src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(109): pocketmine\network\mcpe\protocol\BatchPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
[23:17:06] [Server thread/CRITICAL]: #12 pmsrc/src/pocketmine/Player(3311): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
[23:17:06] [Server thread/CRITICAL]: #13 pmsrc/src/pocketmine/network/mcpe/RakLibInterface(169): pocketmine\Player->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
[23:17:06] [Server thread/CRITICAL]: #14 pmsrc/vendor/pocketmine/raklib/src/server/ServerHandler(95): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string[17] 127.0.0.1 60787, object raklib\protocol\EncapsulatedPacket, integer 0)
[23:17:06] [Server thread/CRITICAL]: #15 pmsrc/src/pocketmine/network/mcpe/RakLibInterface(109): raklib\server\ServerHandler->handlePacket()
[23:17:06] [Server thread/CRITICAL]: #16 pmsrc/src/pocketmine/network/mcpe/RakLibInterface(99): pocketmine\network\mcpe\RakLibInterface->process()
[23:17:06] [Server thread/CRITICAL]: #17 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(113): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe\{closure}()
[23:17:06] [Server thread/CRITICAL]: #18 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(75): pocketmine\snooze\SleeperHandler->processNotifications()
[23:17:06] [Server thread/CRITICAL]: #19 pmsrc/src/pocketmine/Server(2155): pocketmine\snooze\SleeperHandler->sleepUntil(double 1618258626.103)
[23:17:06] [Server thread/CRITICAL]: #20 pmsrc/src/pocketmine/Server(1992): pocketmine\Server->tickProcessor()
[23:17:06] [Server thread/CRITICAL]: #21 pmsrc/src/pocketmine/Server(1586): pocketmine\Server->start()
[23:17:06] [Server thread/CRITICAL]: #22 pmsrc/src/pocketmine/PocketMine(276): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[13] /root/weblox/, string[21] /root/weblox/plugins/)
[23:17:06] [Server thread/CRITICAL]: #23 pmsrc/src/pocketmine/PocketMine(306): pocketmine\server()
@VixikHD
Copy link
Member

VixikHD commented Apr 12, 2021

Could you send here the schematic you are trying to load?

@MrHoller
Copy link
Author

Could you send here the schematic you are trying to load?

https://icedrive.net/0/9bjW5QCNJS

@VixikHD
Copy link
Member

VixikHD commented Apr 13, 2021

You have sent only stack trace, could you please send me also error message? (It should be located on line over the stack trace)

@MrHoller

This comment has been minimized.

@MrHoller
Copy link
Author

MrHoller commented Apr 13, 2021

You have sent only stack trace, could you please send me also error message? (It should be located on line over the stack trace)

I do not understand. this is the whole mistake.

[18:55:58] [Server thread/CRITICAL]: TypeError: "Argument 1 passed to czechpmdevs\buildertools\schematics\SchematicsManager::czechpmdevs\buildertools\schematics\{closure}() must be an instance of czechpmdevs\buildertools\schematics\format\Schematic, string given" (EXCEPTION) in "plugins/BuilderTools/src/czechpmdevs/buildertools/schematics/SchematicsManager" at line 194
[18:55:58] [Server thread/CRITICAL]: #0 (): czechpmdevs\buildertools\schematics\SchematicsManager::czechpmdevs\buildertools\schematics\{closure}(string[64] czechpmdevs\buildertools\schematics\format\BuilderToolsSchematic)
[18:55:58] [Server thread/CRITICAL]: #1 plugins/BuilderTools/src/czechpmdevs/buildertools/schematics/SchematicsManager(194): array_map(object Closure, array[3])
[18:55:58] [Server thread/CRITICAL]: #2 plugins/BuilderTools/src/czechpmdevs/buildertools/schematics/SchematicsManager(77): czechpmdevs\buildertools\schematics\SchematicsManager::findSchematicFile(string[4] ship)
[18:55:58] [Server thread/CRITICAL]: #3 plugins/BuilderTools/src/czechpmdevs/buildertools/commands/SchematicCommand(83): czechpmdevs\buildertools\schematics\SchematicsManager::loadSchematic(string[4] ship, object Closure)
[18:55:58] [Server thread/CRITICAL]: #4 pmsrc/src/pocketmine/command/SimpleCommandMap(248): czechpmdevs\buildertools\commands\SchematicCommand->execute(object pocketmine\Player, string[6] /schem, array[2])
[18:55:58] [Server thread/CRITICAL]: #5 pmsrc/src/pocketmine/Server(1809): pocketmine\command\SimpleCommandMap->dispatch(object pocketmine\Player, string[16] /schem load ship)
[18:55:58] [Server thread/CRITICAL]: #6 pmsrc/src/pocketmine/Player(2351): pocketmine\Server->dispatchCommand(object pocketmine\Player, string[16] /schem load ship)
[18:55:58] [Server thread/CRITICAL]: #7 pmsrc/src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(239): pocketmine\Player->chat(string[17] //schem load ship)
[18:55:58] [Server thread/CRITICAL]: #8 pmsrc/src/pocketmine/network/mcpe/protocol/CommandRequestPacket(54): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleCommandRequest(object pocketmine\network\mcpe\protocol\CommandRequestPacket)
[18:55:58] [Server thread/CRITICAL]: #9 pmsrc/src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(109): pocketmine\network\mcpe\protocol\CommandRequestPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
[18:55:58] [Server thread/CRITICAL]: #10 pmsrc/src/pocketmine/network/mcpe/protocol/BatchPacket(130): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\CommandRequestPacket)
[18:55:58] [Server thread/CRITICAL]: #11 pmsrc/src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(109): pocketmine\network\mcpe\protocol\BatchPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
[18:55:58] [Server thread/CRITICAL]: #12 pmsrc/src/pocketmine/Player(3311): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
[18:55:58] [Server thread/CRITICAL]: #13 pmsrc/src/pocketmine/network/mcpe/RakLibInterface(169): pocketmine\Player->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
[18:55:58] [Server thread/CRITICAL]: #14 pmsrc/vendor/pocketmine/raklib/src/server/ServerHandler(95): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string[17] 127.0.0.1 49832, object raklib\protocol\EncapsulatedPacket, integer 0)
[18:55:58] [Server thread/CRITICAL]: #15 pmsrc/src/pocketmine/network/mcpe/RakLibInterface(109): raklib\server\ServerHandler->handlePacket()
[18:55:58] [Server thread/CRITICAL]: #16 pmsrc/src/pocketmine/network/mcpe/RakLibInterface(99): pocketmine\network\mcpe\RakLibInterface->process()
[18:55:58] [Server thread/CRITICAL]: #17 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(113): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe\{closure}()
[18:55:58] [Server thread/CRITICAL]: #18 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(75): pocketmine\snooze\SleeperHandler->processNotifications()
[18:55:58] [Server thread/CRITICAL]: #19 pmsrc/src/pocketmine/Server(2155): pocketmine\snooze\SleeperHandler->sleepUntil(double 1618329358.2554)
[18:55:58] [Server thread/CRITICAL]: #20 pmsrc/src/pocketmine/Server(1992): pocketmine\Server->tickProcessor()
[18:55:58] [Server thread/CRITICAL]: #21 pmsrc/src/pocketmine/Server(1586): pocketmine\Server->start()
[18:55:58] [Server thread/CRITICAL]: #22 pmsrc/src/pocketmine/PocketMine(276): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[13] /root/weblox/, string[21] /root/weblox/plugins/)
[18:55:58] [Server thread/CRITICAL]: #23 pmsrc/src/pocketmine/PocketMine(306): pocketmine\server()

Video: https://icedrive.net/0/5aEt7sqjYd

@VixikHD
Copy link
Member

VixikHD commented Apr 13, 2021

You have sent only stack trace, could you please send me also error message? (It should be located on line over the stack trace)

I do not understand. this is the whole mistake.

[18:55:58] [Server thread/CRITICAL]: TypeError: "Argument 1 passed to czechpmdevs\buildertools\schematics\SchematicsManager::czechpmdevs\buildertools\schematics\{closure}() must be an instance of czechpmdevs\buildertools\schematics\format\Schematic, string given" (EXCEPTION) in "plugins/BuilderTools/src/czechpmdevs/buildertools/schematics/SchematicsManager" at line 194
[18:55:58] [Server thread/CRITICAL]: #0 (): czechpmdevs\buildertools\schematics\SchematicsManager::czechpmdevs\buildertools\schematics\{closure}(string[64] czechpmdevs\buildertools\schematics\format\BuilderToolsSchematic)
[18:55:58] [Server thread/CRITICAL]: #1 plugins/BuilderTools/src/czechpmdevs/buildertools/schematics/SchematicsManager(194): array_map(object Closure, array[3])
[18:55:58] [Server thread/CRITICAL]: #2 plugins/BuilderTools/src/czechpmdevs/buildertools/schematics/SchematicsManager(77): czechpmdevs\buildertools\schematics\SchematicsManager::findSchematicFile(string[4] ship)
[18:55:58] [Server thread/CRITICAL]: #3 plugins/BuilderTools/src/czechpmdevs/buildertools/commands/SchematicCommand(83): czechpmdevs\buildertools\schematics\SchematicsManager::loadSchematic(string[4] ship, object Closure)
[18:55:58] [Server thread/CRITICAL]: #4 pmsrc/src/pocketmine/command/SimpleCommandMap(248): czechpmdevs\buildertools\commands\SchematicCommand->execute(object pocketmine\Player, string[6] /schem, array[2])
[18:55:58] [Server thread/CRITICAL]: #5 pmsrc/src/pocketmine/Server(1809): pocketmine\command\SimpleCommandMap->dispatch(object pocketmine\Player, string[16] /schem load ship)
[18:55:58] [Server thread/CRITICAL]: #6 pmsrc/src/pocketmine/Player(2351): pocketmine\Server->dispatchCommand(object pocketmine\Player, string[16] /schem load ship)
[18:55:58] [Server thread/CRITICAL]: #7 pmsrc/src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(239): pocketmine\Player->chat(string[17] //schem load ship)
[18:55:58] [Server thread/CRITICAL]: #8 pmsrc/src/pocketmine/network/mcpe/protocol/CommandRequestPacket(54): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleCommandRequest(object pocketmine\network\mcpe\protocol\CommandRequestPacket)
[18:55:58] [Server thread/CRITICAL]: #9 pmsrc/src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(109): pocketmine\network\mcpe\protocol\CommandRequestPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
[18:55:58] [Server thread/CRITICAL]: #10 pmsrc/src/pocketmine/network/mcpe/protocol/BatchPacket(130): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\CommandRequestPacket)
[18:55:58] [Server thread/CRITICAL]: #11 pmsrc/src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(109): pocketmine\network\mcpe\protocol\BatchPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
[18:55:58] [Server thread/CRITICAL]: #12 pmsrc/src/pocketmine/Player(3311): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
[18:55:58] [Server thread/CRITICAL]: #13 pmsrc/src/pocketmine/network/mcpe/RakLibInterface(169): pocketmine\Player->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
[18:55:58] [Server thread/CRITICAL]: #14 pmsrc/vendor/pocketmine/raklib/src/server/ServerHandler(95): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string[17] 127.0.0.1 49832, object raklib\protocol\EncapsulatedPacket, integer 0)
[18:55:58] [Server thread/CRITICAL]: #15 pmsrc/src/pocketmine/network/mcpe/RakLibInterface(109): raklib\server\ServerHandler->handlePacket()
[18:55:58] [Server thread/CRITICAL]: #16 pmsrc/src/pocketmine/network/mcpe/RakLibInterface(99): pocketmine\network\mcpe\RakLibInterface->process()
[18:55:58] [Server thread/CRITICAL]: #17 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(113): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe\{closure}()
[18:55:58] [Server thread/CRITICAL]: #18 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(75): pocketmine\snooze\SleeperHandler->processNotifications()
[18:55:58] [Server thread/CRITICAL]: #19 pmsrc/src/pocketmine/Server(2155): pocketmine\snooze\SleeperHandler->sleepUntil(double 1618329358.2554)
[18:55:58] [Server thread/CRITICAL]: #20 pmsrc/src/pocketmine/Server(1992): pocketmine\Server->tickProcessor()
[18:55:58] [Server thread/CRITICAL]: #21 pmsrc/src/pocketmine/Server(1586): pocketmine\Server->start()
[18:55:58] [Server thread/CRITICAL]: #22 pmsrc/src/pocketmine/PocketMine(276): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[13] /root/weblox/, string[21] /root/weblox/plugins/)
[18:55:58] [Server thread/CRITICAL]: #23 pmsrc/src/pocketmine/PocketMine(306): pocketmine\server()

Video: https://icedrive.net/0/5aEt7sqjYd

That's exactly what I wanted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants