menu
#6719893 FilesystemIterator::__construct(/home/container/worlds/world/dim-1/region): Failed to open directory: No such file or directory

Submitted by PocketMine-MP 4.2.2

General information

Version: 4.2.2
Git commit: 12946fbe
Plugin involvement: Direct
Report date: 2022-05-14 09:32:47 +0000 UTC
Server uptime: 0 days 0 hours 0 minutes 1 seconds

System Information

PHP version: 8.0.13
Operating system: linux
System banner: Linux c3607f56-4ed3-4fa7-83ee-2825d2aae41e 5.13.0-40-generic #45-Ubuntu SMP Tue Mar 29 14:48:14 UTC 2022 x86_64

Error information

Warning: the NativeDimensions plugin was directly involved in this crash. Please contact the plugin author.
Message: FilesystemIterator::__construct(/home/container/worlds/world/dim-1/region): Failed to open directory: No such file or directory
File: plugins/NativeDimensions_dev-68.phar/src/world/provider/NetherAnvilProvider
Line: #33
Error level: UnexpectedValueException
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
		}

return false;
}

private function createRegionIterator() : \RegexIterator{
return new \RegexIterator(
new \FilesystemIterator(
Path::join($this->path, 'dim-1', 'region'),
\FilesystemIterator::CURRENT_AS_PATHNAME | \FilesystemIterator::SKIP_DOTS | \FilesystemIterator::UNIX_PATHS
),
'/\/r\.(-?\d+)\.(-?\d+)\.' . static::getRegionFileExtension() . '$/',
\RegexIterator::GET_MATCH
);
}

public function getAllChunks(bool $skipCorrupted = false, ?\Logger $logger = null) : \Generator{
$iterator = $this->createRegionIterator();

foreach($iterator as $region){
#0 plugins/NativeDimensions_dev-68.phar/src/world/provider/NetherAnvilProvider(33): FilesystemIterator->__construct(string[41] /home/container/worlds/world/dim-1/region, integer 12320)
#1 plugins/NativeDimensions_dev-68.phar/src/world/provider/NetherAnvilProvider(73): jasonwynn10\NativeDimensions\world\provider\NetherAnvilProvider->createRegionIterator()
#2 plugins/NativeDimensions_dev-68.phar/src/world/converter/DimensionalFormatConverter(140): jasonwynn10\NativeDimensions\world\provider\NetherAnvilProvider->calculateChunkCount()
#3 plugins/NativeDimensions_dev-68.phar/src/world/converter/DimensionalFormatConverter(62): jasonwynn10\NativeDimensions\world\converter\DimensionalFormatConverter->convertTerrain(object jasonwynn10\NativeDimensions\world\provider\DimensionLevelDBProvider#111572)
#4 plugins/NativeDimensions_dev-68.phar/src/world/DimensionalWorldManager(228): jasonwynn10\NativeDimensions\world\converter\DimensionalFormatConverter->execute()
#5 pmsrc/src/Server(1117): jasonwynn10\NativeDimensions\world\DimensionalWorldManager->loadWorld(string[5] world, true)
#6 pmsrc/src/Server(1008): pocketmine\Server->startupPrepareWorlds()
#7 pmsrc/src/PocketMine(304): pocketmine\Server->__construct(object BaseClassLoader#2, object pocketmine\utils\MainLogger#3, string[16] /home/container/, string[24] /home/container/plugins/)
#8 pmsrc/src/PocketMine(327): pocketmine\server()
#9 pmsrc(11): require(string[60] phar:///home/container/PocketMine-MP.phar/src/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show

Installed PHP Extensions

  • Show