PocketMine Crash Archive

#29712512 Unknown error by MicroBattles plugin

Submitted by PocketMine-Steadfast 1.5.1-hybrid
Warning! This crash was caused by the MicroBattles plugin. Please contact the original plugin author.

General information

Version: 1.5.1
API version: 1.12.0
Caused by a Plugin: YES
Report date: Saturday 27/07/2019 22:14:21
Attached Issue: None

System Information

PHP version: 7.0.2
Operating system: linux
System banner: Linux dedi 3.10.0-957.5.1.el7.x86_64 #1 SMP Fri Feb 1 14:54:57 UTC 2019 x86_64

Error information

Return value of Server\Main::getServerByName() must be an instance of Server\Objects\ServerObject, null returned
File: /MicroBattles_v1.1.phar/src/Server/Main
Line: #2062
Error level: notice

[2053] 
[2054]     public function getServerByName(String $name): ServerObject
[2055]     {
[2056]         foreach ($this->servers as $server) {
[2057]             if ($server->serverName == $name) {
[2058]                 return $server;
[2059]             }
[2060]         }
[2061] 
[2062]         return null;
[2063]     }
[2064] 
[2065]     public function onItemConsumed(PlayerItemConsumeEvent $event)
[2066]     {
[2067]         /**@var \Server\cbPlayer* */
[2068]         $player = $event->getPlayer();
[2069]         if ($player instanceof cbPlayer)
[2070]             if ($player->isInGame()) {
[2071]                 $game = $this->game[$player->getGameNumber()];
[2072]                 if ($game->isOpen()) {
#0 /src/pocketmine/plugin/MethodEventExecutor(36): Server\Main->onPlayerDamage(pocketmine\event\entity\EntityDamageByEntityEvent object)
#1 /src/pocketmine/plugin/RegisteredListener(96): pocketmine\plugin\MethodEventExecutor->execute(Server\Main object, pocketmine\event\entity\EntityDamageByEntityEvent object)
#2 /src/pocketmine/plugin/PluginManager(692): pocketmine\plugin\RegisteredListener->callEvent(pocketmine\event\entity\EntityDamageByEntityEvent object)
#3 /src/pocketmine/entity/Entity(697): pocketmine\plugin\PluginManager->callEvent(pocketmine\event\entity\EntityDamageByEntityEvent object)
#4 /src/pocketmine/entity/Living(105): pocketmine\entity\Entity->attack(double 1, pocketmine\event\entity\EntityDamageByEntityEvent object)
#5 /src/pocketmine/Player(3128): pocketmine\entity\Living->attack(double 1, pocketmine\event\entity\EntityDamageByEntityEvent object)
#6 /src/pocketmine/Player(4052): pocketmine\Player->attack(double 1, pocketmine\event\entity\EntityDamageByEntityEvent object)
#7 /src/pocketmine/Player(2569): pocketmine\Player->attackByTargetId(integer 3043)
#8 /src/pocketmine/network/RakLibInterface(185): pocketmine\Player->handleDataPacket(pocketmine\network\protocol\v120\InventoryTransactionPacket object)
#9 /src/raklib/server/ServerHandler(98): pocketmine\network\RakLibInterface->handleEncapsulated(string 5.1.110.23:59091, string ..........n;.C...A.n.B............)
#10 /src/pocketmine/network/RakLibInterface(121): raklib\server\ServerHandler->handlePacket(boolean)
#11 /src/pocketmine/network/Network(176): pocketmine\network\RakLibInterface->process(boolean)
#12 /src/pocketmine/Server(2448): pocketmine\network\Network->processInterfaces(boolean)
#13 /src/pocketmine/Server(2255): pocketmine\Server->tick(boolean)
#14 /src/pocketmine/Server(2129): pocketmine\Server->tickProcessor(boolean)
#15 /src/pocketmine/Server(1732): pocketmine\Server->start(boolean)
#16 /src/pocketmine/PocketMine(459): pocketmine\Server->__construct(pocketmine\CompatibleClassLoader object, pocketmine\utils\MainLogger object, string phar:///root/Server/PocketMine-MP.phar/, string /root/Server/, string /root/Server/plugins/)
#17 (1): require_once(string phar:///root/Server/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

NameVersionStateAuthor(s)
SimpleAuth1.7.1EnabledPocketMine Team, shoghicp
NoFlyHack1.0.0EnabledGuillaume351
MicroBattles1.1EnabledGuillaume351

Server Settings [toggle]

NameValue
motdCookie Build MicroBattles
server-port19132
white-listoff
announce-player-achievementsoff
spawn-protection-1
max-players80
allow-flightoff
spawn-animalson
spawn-mobson
gamemode0
force-gamemodeoff
hardcoreoff
pvpon
difficulty1
generator-settings
level-nameworld
level-seed
level-typeDEFAULT
enable-queryon
enable-rconoff
rcon.password******
auto-saveoff
redstone-calculationoff
disable-logfileon
memory-limit3G
online-mode0
animals-limit0
mobs-limit0
auto-generateoff
save-player-dataoff
proxy-port10305
use-proxyoff
use-raklibon
view-distance8
time-updateon
use-encryptoff
settings.languageeng
settings.force-languagefalse
settings.shutdown-messageServer closed
settings.query-pluginstrue
settings.deprecated-verbosetrue
settings.enable-profilingfalse
settings.profile-report-trigger20
settings.async-workersauto
memory.global-limit3000M
memory.main-limit2000M
memory.main-hard-limit4096
memory.check-rate20
memory.continuous-triggertrue
memory.continuous-trigger-rate30
memory.garbage-collection.period36000
memory.garbage-collection.collect-async-workertrue
memory.garbage-collection.low-memory-triggertrue
memory.max-chunks.chunk-radius4
memory.max-chunks.trigger-chunk-collecttrue
memory.max-chunks.low-memory-triggertrue
memory.world-caches.disable-chunk-cachetrue
memory.world-caches.low-memory-triggertrue
network.batch-threshold256
network.compression-level7
network.async-compressionfalse
network.upnp-forwardingfalse
debug.assertions.warn-if-enabledtrue
debug.assertions.throw-exceptionfalse
debug.level1
debug.commandstrue
player.save-player-datafalse
player.anti-cheat.allow-movement-cheatstrue
player.anti-cheat.allow-instabreaktrue
level-settings.default-formatpmanvil
level-settings.auto-tick-ratetrue
level-settings.auto-tick-rate-limit20
level-settings.base-tick-rate1
level-settings.always-tick-playersfalse
chunk-sending.per-tick4
chunk-sending.spawn-radius4
chunk-sending.cache-chunksfalse
chunk-sending.async-chunk-requestfalse
chunk-ticking.per-tick20
chunk-ticking.tick-radius1
chunk-ticking.light-updatesfalse
chunk-ticking.clear-tick-listtrue
chunk-ticking.disable-block-ticking
chunk-generation.queue-size8
chunk-generation.population-queue-size8
ticks-per.animal-spawns400
ticks-per.monster-spawns1
ticks-per.autosave6000
ticks-per.cache-cleanup900
spawn-limits.monsters70
spawn-limits.animals15
spawn-limits.water-animals5
spawn-limits.ambient15
auto-report.enabledtrue
auto-report.send-codetrue
auto-report.send-settingstrue
auto-report.send-phpinfofalse
auto-report.hostcrash.pocketmine.net
anonymous-statistics.enabledtrue
anonymous-statistics.hoststats.pocketmine.net
auto-updater.enabledtrue
auto-updater.on-update.warn-consoletrue
auto-updater.on-update.warn-opstrue
auto-updater.preferred-channelbeta
auto-updater.suggest-channelstrue
auto-updater.hostwww.pocketmine.net
timings.hostmcpetimings.com
aliases
worlds
Find duplicates  |   Download