PocketMine Crash Archive

#29712935 Invalid argument 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: Sunday 29/09/2019 14:30:29
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

Argument 2 passed to Server/Main::teleportToGame() must be an instance of Server/Game, null given, called in src/Server/Main.php on line 2528
File: /MicroBattles_v1.1.phar/src/Server/Main
Line: #2612
Error level: notice

[2603]                 }
[2604] 
[2605]                 $this->teleportToGame($player, $game, $team);
[2606] 
[2607]             }
[2608]         }
[2609] 
[2610]     }
[2611] 
[2612]     public function teleportToGame(cbPlayer $player, Game $game, int $team)
[2613]     {
[2614]         $gameNumber = $game->gameNumber;
[2615]         $levelName = "game-" . $gameNumber;
[2616]         $level = $this->getServer()->getLevelByName($levelName);
[2617] 
[2618]         $particle = $this->serverListParticle;
[2619]         $particle->setInvisible(true);
[2620]         $this->getServer()->getDefaultLevel()->addParticle($particle, [$player]);
[2621] 
[2622]         $particle2 = $player->getStatParticle();
#0 /MicroBattles_v1.1.phar/src/Server/Main(2599): Server\Main->partyPlayerJoinGame(Server\cbPlayer cbPlayer(28), integer 5, integer 4)
#1 /MicroBattles_v1.1.phar/src/Server/Main(1788): Server\Main->playerJoinGame(Server\cbPlayer cbPlayer(55), integer 5)
#2 /src/pocketmine/plugin/MethodEventExecutor(36): Server\Main->onPlayerDamage(pocketmine\event\entity\EntityDamageByEntityEvent object)
#3 /src/pocketmine/plugin/RegisteredListener(96): pocketmine\plugin\MethodEventExecutor->execute(Server\Main object, pocketmine\event\entity\EntityDamageByEntityEvent object)
#4 /src/pocketmine/plugin/PluginManager(692): pocketmine\plugin\RegisteredListener->callEvent(pocketmine\event\entity\EntityDamageByEntityEvent object)
#5 /src/pocketmine/entity/Entity(698): pocketmine\plugin\PluginManager->callEvent(pocketmine\event\entity\EntityDamageByEntityEvent object)
#6 /src/pocketmine/entity/Living(106): pocketmine\entity\Entity->attack(integer 1, pocketmine\event\entity\EntityDamageByEntityEvent object)
#7 /src/pocketmine/Player(3849): pocketmine\entity\Living->attack(integer 1, pocketmine\event\entity\EntityDamageByEntityEvent object)
#8 /src/pocketmine/Player(2336): pocketmine\Player->attackByTargetId(integer 2)
#9 /src/pocketmine/network/RakLibInterface(185): pocketmine\Player->handleDataPacket(pocketmine\network\protocol\v120\InventoryTransactionPacket object)
#10 /src/raklib/server/ServerHandler(98): pocketmine\network\RakLibInterface->handleEncapsulated(string 14.231.156.12:55963, string .......(..B...A...B............)
#11 /src/pocketmine/network/RakLibInterface(121): raklib\server\ServerHandler->handlePacket(boolean)
#12 /src/pocketmine/network/Network(167): pocketmine\network\RakLibInterface->process(boolean)
#13 /src/pocketmine/Server(2450): pocketmine\network\Network->processInterfaces(boolean)
#14 /src/pocketmine/Server(2257): pocketmine\Server->tick(boolean)
#15 /src/pocketmine/Server(2131): pocketmine\Server->tickProcessor(boolean)
#16 /src/pocketmine/Server(1734): pocketmine\Server->start(boolean)
#17 /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/)
#18 (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