Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error #2485

Closed
Nathaniel200412 opened this issue Oct 21, 2018 · 1 comment
Closed

Error #2485

Nathaniel200412 opened this issue Oct 21, 2018 · 1 comment

Comments

@Nathaniel200412
Copy link

Issue description

  • Expected result: What were you expecting to happen? Able to stop the server without error
  • Actual result: What actually happened?i see errors

Steps to reproduce the issue

  1. ... Stop the server
  2. ...

OS and versions

  • PocketMine-MP: 3.3.0
  • PHP:7.2
  • Server OS:
  • Game version: PE/Win10 (delete as appropriate)

Plugins

  • Test on a clean server without plugins: is the issue reproducible without any plugins loaded?yes

If the issue is not reproducible without plugins:

  • Have you asked for help on our forums before creating an issue?
  • Can you provide sample, minimal reproducing code for the issue? If so, paste it in the bottom section
  • Paste your list of plugins here (use the 'plugins' command in PocketMine-MP)

Crashdump, backtrace or other files

  • Do not paste crashdumps into an issue - please use our Crash Archive at https://crash.pmmp.io for submitting crash reports to not spam the issue tracker. Add links to your reports in the Crash Archive here.
  • Please use gist or anything else to add other files and add links here
  • ...
    [22:20:03] [Server thread/INFO]: [CONSOLE: Stopping the server]
    entException("Object must be a Block");
    }
    if($subject->getLevel() === $this->owningLevel){
    return parent::hasMetadata($subject, $metadataKey);
    }else{
    throw new \InvalidStateException("Block does not belong to world " . $this->owningLevel->getName());
    }
    }

    public function removeMetadata(Metadatable $subject, string $metadataKey, Plugin $owningPlugin){
    if(!($subject instanceof Block)){
    throw new \InvalidArgumentException("Object must be a Block");
    }
    if($subject->getLevel() === $this->owningLevel){
    parent::removeMetadata($subject, $metadataKey, $owningPlugin);
    }else{
    throw new \InvalidStateException("Block does not belong to world " . $this->owningLevel->getName());
    }
    }

    public function setMetadata(Metadatable $subject, string $metadataKey, MetadataValue $newMetadataValue){
    if(!($subject instanceof Block)){
    throw new \InvalidArgumentException("Object must be a Bloc[22:20:03] [Server thread/CRITICAL]: Error: "Class 'pocketmine\event\level\LevelUnloadEvent' not found" (EXCEPTION) in "src/pocketmine/level/Level" at line 528
    [22:20:03] [Server thread/DEBUG]: #0 src/pocketmine/Server(989): pocketmine\level\Level->unload(boolean 1)
    [22:20:03] [Server thread/DEBUG]: Builtin thread-local object storage for AsyncTask #1 src/pocketmine/Server(2046): pocketmine\Server->unloadLevel(pocketmine\level\Level object, boolean 1)
    [22:20:03] [Server thread/DEBUG]: Better time ticking and sync #2 src/pocketmine/Server(2135): pocketmine\Server->forceShutdown()
    [22:20:03] [Server thread/DEBUG]: Use of Utils::getRandomBytes(16) #3 src/pocketmine/Server(1700): pocketmine\Server->start()
    [22:20:03] [Server thread/DEBUG]: Fixed RawChicken::getAdditionalEffects sometimes returns void #4 src/pocketmine/PocketMine(243): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string /var/lib/pufferd/servers/0c325119-ebc0-4591-93e9-d2b84cea3e42/, string /var/lib/pufferd/servers/0c325119-ebc0-4591-93e9-d2b84cea3e42/plugins/)
    [22:20:03] [Server thread/DEBUG]: Typo fix in fetching timezone from web #5 /var/lib/pufferd/servers/0c325119-ebc0-4591-93e9-d2b84cea3e42/PocketMine-MP.phar(1): require(string phar:///var/lib/pufferd/servers/0c325119-ebc0-4591-93e9-d2b84cea3e42/PocketMine-MP.phar/src/pocketmine/PocketMine.php)
    [22:20:03] [Server thread/EMERGENCY]: Crashed while crashing, killing process
    Running post-execution steps

@dktapps
Copy link
Member

dktapps commented Oct 21, 2018

Your installation is corrupted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants