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

Submitted by PocketMine-MP 4.3.1

General information

Version: 4.3.1
Git commit: f7dce4af
Plugin involvement: Direct
Report date: 2022-05-14 07:10:03 +0000 UTC
Server uptime: 0 days 0 hours 11 minutes 32 seconds

System Information

PHP version: 8.0.18
Operating system: linux
System banner: Linux 5cede0d3-ac56-4f85-940f-25e1bb8f5f9a 5.4.0-109-generic #123-Ubuntu SMP Fri Apr 8 09:10:54 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/pvp2/dim-1/region): Failed to open directory: No such file or directory
File: plugins/NativeDimensions (1).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 (1).phar/src/world/provider/NetherAnvilProvider(33): FilesystemIterator->__construct(string[40] /home/container/worlds/pvp2/dim-1/region, integer 12320)
#1 plugins/NativeDimensions (1).phar/src/world/provider/NetherAnvilProvider(73): jasonwynn10\NativeDimensions\world\provider\NetherAnvilProvider->createRegionIterator()
#2 plugins/NativeDimensions (1).phar/src/world/converter/DimensionalFormatConverter(140): jasonwynn10\NativeDimensions\world\provider\NetherAnvilProvider->calculateChunkCount()
#3 plugins/NativeDimensions (1).phar/src/world/converter/DimensionalFormatConverter(62): jasonwynn10\NativeDimensions\world\converter\DimensionalFormatConverter->convertTerrain(object jasonwynn10\NativeDimensions\world\provider\DimensionLevelDBProvider#130647)
#4 plugins/NativeDimensions (1).phar/src/world/DimensionalWorldManager(228): jasonwynn10\NativeDimensions\world\converter\DimensionalFormatConverter->execute()
#5 plugins/MultiWorld (1).phar/src/czechpmdevs/multiworld/command/subcommand/LoadSubCommand(48): jasonwynn10\NativeDimensions\world\DimensionalWorldManager->loadWorld(string[4] pvp2, true)
#6 plugins/MultiWorld (1).phar/src/czechpmdevs/multiworld/command/MultiWorldCommand(98): czechpmdevs\multiworld\command\subcommand\LoadSubCommand->execute(object pocketmine\console\ConsoleCommandSender#35747, array[1], string[4] load)
#7 pmsrc/src/command/SimpleCommandMap(220): czechpmdevs\multiworld\command\MultiWorldCommand->execute(object pocketmine\console\ConsoleCommandSender#35747, string[2] mw, array[1])
#8 pmsrc/src/Server(1409): pocketmine\command\SimpleCommandMap->dispatch(object pocketmine\console\ConsoleCommandSender#35747, string[12] mw load pvp2)
#9 pmsrc/src/Server(1041): pocketmine\Server->dispatchCommand(object pocketmine\console\ConsoleCommandSender#35747, string[12] mw load pvp2)
#10 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\Server->pocketmine\{closure}()
#11 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(82): pocketmine\snooze\SleeperHandler->processNotifications()
#12 pmsrc/src/Server(1661): pocketmine\snooze\SleeperHandler->sleepUntil(double 1652512202.2288)
#13 pmsrc/src/Server(1047): pocketmine\Server->tickProcessor()
#14 pmsrc/src/PocketMine(304): pocketmine\Server->__construct(object BaseClassLoader#2, object pocketmine\utils\MainLogger#3, string[16] /home/container/, string[24] /home/container/plugins/)
#15 pmsrc/src/PocketMine(327): pocketmine\server()
#16 pmsrc(11): require(string[60] phar:///home/container/PocketMine-MP.phar/src/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show

Installed PHP Extensions

  • Show