Exceptions
Exception
Symfony\Component\HttpKernel\Exception\ NotFoundHttpException
Show exception properties
Symfony\Component\HttpKernel\Exception\NotFoundHttpException {#114 -statusCode: 404 -headers: [] }
in
src/Core/Controller/StaticAssetController.php
(line 75)
}$path = realpath($publicDir . '/' . $asset);if (false === $path || !str_starts_with($path, $publicDir . \DIRECTORY_SEPARATOR) || !is_file($path)) {throw new NotFoundHttpException();}$response = new BinaryFileResponse($path);$response->setContentDisposition(ResponseHeaderBag::DISPOSITION_INLINE);$response->setPublic();
priority: -10,methods: ['GET'],)]public function rootAsset(string $asset): BinaryFileResponse{return $this->serve(self::ROOT_MODULE, $asset);}private function serve(string $module, string $asset): BinaryFileResponse{$publicDir = $this->resolvePublicDir($module);
in
vendor/symfony/http-kernel/HttpKernel.php
->
rootAsset
(line 188)
$this->dispatcher->dispatch($event, KernelEvents::CONTROLLER_ARGUMENTS);$controller = $event->getController();$arguments = $event->getArguments();// call controller$response = $controller(...$arguments);// viewif (!$response instanceof Response) {$event = new ViewEvent($this, $request, $type, $response, $controllerMetadata);$this->dispatcher->dispatch($event, KernelEvents::VIEW);
in
vendor/symfony/http-kernel/HttpKernel.php
->
handleRaw
(line 79)
$request->headers->set('X-Php-Ob-Level', (string) ob_get_level());$this->requestStack->push($request);$response = null;try {return $response = $this->handleRaw($request, $type, $controllerMetadata);} catch (\Throwable $e) {if ($e instanceof \Error && !$this->handleAllThrowables) {throw $e;}
in
vendor/symfony/http-kernel/Kernel.php
->
handle
(line 143)
if (!$this->handlingHttpCache) {$this->resetServices = true;}try {return $this->getHttpKernel()->handle($request, $type, $catch);} finally {--$this->requestStackSize;}}
in
vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php
->
handle
(line 34)
) {}public function run(): int{$response = $this->kernel->handle($this->request);$response->send(false);if (\function_exists('fastcgi_finish_request') && !$this->debug) {fastcgi_finish_request();
in
vendor/autoload_runtime.php
->
run
(line 32)
$app = $app(...$args);exit($runtime->getRunner($app)->run());
declare(strict_types=1);use Shapeways\Kernel;require_once dirname(__DIR__) . '/vendor/autoload_runtime.php';return static fn (array $context) => new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
Logs
| Level | Channel | Message |
|---|---|---|
| INFO 22:00:52 | request |
Matched route "_profiler". {
"route": "_profiler",
"route_parameters": {
"_route": "_profiler",
"_controller": "web_profiler.controller.profiler::panelAction",
"token": "751dc8"
},
"request_uri": "https://sw-core-minf-ooo.someones.computer/_profiler/751dc8",
"method": "GET"
}
|
Stack Trace
|
NotFoundHttpException
|
|---|
Symfony\Component\HttpKernel\Exception\NotFoundHttpException:
at src/Core/Controller/StaticAssetController.php:75
at Shapeways\Core\Controller\StaticAssetController->serve()
(src/Core/Controller/StaticAssetController.php:61)
at Shapeways\Core\Controller\StaticAssetController->rootAsset()
(vendor/symfony/http-kernel/HttpKernel.php:188)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
(vendor/symfony/http-kernel/HttpKernel.php:79)
at Symfony\Component\HttpKernel\HttpKernel->handle()
(vendor/symfony/http-kernel/Kernel.php:143)
at Symfony\Component\HttpKernel\Kernel->handle()
(vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:34)
at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
(vendor/autoload_runtime.php:32)
at require_once('/app/vendor/autoload_runtime.php')
(public/index.php:7)
|