PocketMine Crash Archive

#29715836 Unknown error

Submitted by PocketMine-MP Alpha_1.4dev-415

General information

Version: 1.4dev-415
API version: 1.2.1
Caused by a Plugin: Not directly
Report date: Monday 30/12/2019 11:25:42
Attached Issue: None

System Information

PHP version: 5.6.3
Operating system: linux
System banner: Linux walter-System-Product-Name 5.0.0-37-generic #40~18.04.1-Ubuntu SMP Thu Nov 14 12:06:39 UTC 2019 x86_64

Error information

Invalid level.dat
File: /src/pocketmine/level/format/generic/BaseLevelProvider
Line: #49
Error level: error

[40] 		$this->level = $level;
[41] 		$this->path = $path;
[42] 		@mkdir($this->path, 0777, true);
[43] 		$nbt = new NBT(NBT::BIG_ENDIAN);
[44] 		$nbt->readCompressed(file_get_contents($this->getPath() . "level.dat"));
[45] 		$levelData = $nbt->getData();
[46] 		if($levelData->Data instanceof Compound){
[47] 			$this->levelData = $levelData->Data;
[48] 		}else{
[49] 			throw new \Exception("Invalid level.dat");
[50] 		}
[51] 	}
[52] 
[53] 	public function getPath(){
[54] 		return $this->path;
[55] 	}
[56] 
[57] 	public function getServer(){
[58] 		return $this->level->getServer();
[59] 	}
#0 /src/pocketmine/level/Level(213): pocketmine\level\format\generic\BaseLevelProvider->__construct(pocketmine\level\Level object, string /worlds/"world"/)
#1 /src/pocketmine/Server(1063): pocketmine\level\Level->__construct(pocketmine\Server object, string "world", string /worlds/"world"/, string pocketmine\level\format\mcregion\McRegion)
#2 /src/pocketmine/Server(1538): pocketmine\Server->generateLevel(string "world", integer 1577701542)
#3 /src/pocketmine/PocketMine(349): pocketmine\Server->__construct(SplClassLoader object, pocketmine\utils\MainLogger object, string phar:///home/walter/multicraft/jar/pocketmine.phar/, string /, string /)
#4 (1): require(string phar:///home/walter/multicraft/jar/pocketmine.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

NameVersionStateAuthor(s)

Server Settings [toggle]

NameValue
Find duplicates  |   Download