Exceptions
Exception
Symfony\Component\HttpKernel\Exception\ NotFoundHttpException
Show exception properties
Symfony\Component\HttpKernel\Exception\NotFoundHttpException {#759 -statusCode: 404 -headers: [] }
in
mapbender/src/Mapbender/CoreBundle/Component/Application/DbAndYamlApplicationResolver.php
(line 40)
'slug' => $slug,));$application = $application ?: $this->yamlRepository->getApplication($slug);if (!$application) {throw new NotFoundHttpException();}return $application;}protected function denyAccessUnlessGranted(string $attribute, mixed $subject): void
DbAndYamlApplicationResolver->getApplicationEntityUnsecure()
in
mapbender/src/Mapbender/CoreBundle/Component/Application/DbAndYamlApplicationResolver.php
(line 26)
{}public function getApplicationEntity(string $slug): Application{$application = $this->getApplicationEntityUnsecure($slug);$this->denyAccessUnlessGranted(ResourceDomainApplication::ACTION_VIEW, $application);return $application;}public function getApplicationEntityUnsecure(string $slug): Application
DbAndYamlApplicationResolver->getApplicationEntity()
in
mapbender/src/Mapbender/CoreBundle/Controller/AssetsController.php
(line 53)
$cacheFile = $this->getCachePath($request, $slug, $type);if ($source = $this->getManagerAssetDependencies($slug)) {// @todo: TBD more reasonable criteria of backend / login asset cachability$appModificationTs = $this->containerTimestamp;} else {$source = $this->applicationResolver->getApplicationEntity($slug);$appModificationTs = $source->getUpdated()->getTimestamp();}$cacheFile .= ".{$type}";$headers = array('Content-Type' => $this->getMimeType($type),
in
vendor/symfony/http-kernel/HttpKernel.php
->
assets
(line 181)
$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, $event);$this->dispatcher->dispatch($event, KernelEvents::VIEW);
in
vendor/symfony/http-kernel/HttpKernel.php
->
handleRaw
(line 76)
$request->headers->set('X-Php-Ob-Level', (string) ob_get_level());$this->requestStack->push($request);$response = null;try {return $response = $this->handleRaw($request, $type);} catch (\Throwable $e) {if ($e instanceof \Error && !$this->handleAllThrowables) {throw $e;}
in
vendor/symfony/http-kernel/Kernel.php
->
handle
(line 197)
$this->boot();++$this->requestStackSize;$this->resetServices = true;try {return $this->getHttpKernel()->handle($request, $type, $catch);} finally {--$this->requestStackSize;}}
in
vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php
->
handle
(line 35)
) {}public function run(): int{$response = $this->kernel->handle($this->request);if (Kernel::VERSION_ID >= 60400) {$response->send(false);if (\function_exists('fastcgi_finish_request') && !$this->debug) {
in
vendor/autoload_runtime.php
->
run
(line 29)
$app = $app(...$args);exit($runtime->getRunner($app)->run());
require_once('/data/mapbender/application/vendor/autoload_runtime.php')
in
public/index.php
(line 5)
<?phpuse App\Kernel;require_once dirname(__DIR__).'/vendor/autoload_runtime.php';return function (array $context) {return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);};
Logs
| Level | Channel | Message |
|---|---|---|
| INFO 07:04:04 | request |
Matched route "_profiler". {
"route": "_profiler",
"route_parameters": {
"_route": "_profiler",
"_controller": "web_profiler.controller.profiler::panelAction",
"token": "e9a8e7"
},
"request_uri": "https://schulung.foss.academy/mapbender/_profiler/e9a8e7",
"method": "GET"
}
|
Stack Trace
|
NotFoundHttpException
|
|---|
Symfony\Component\HttpKernel\Exception\NotFoundHttpException:
at mapbender/src/Mapbender/CoreBundle/Component/Application/DbAndYamlApplicationResolver.php:40
at Mapbender\CoreBundle\Component\Application\DbAndYamlApplicationResolver->getApplicationEntityUnsecure()
(mapbender/src/Mapbender/CoreBundle/Component/Application/DbAndYamlApplicationResolver.php:26)
at Mapbender\CoreBundle\Component\Application\DbAndYamlApplicationResolver->getApplicationEntity()
(mapbender/src/Mapbender/CoreBundle/Controller/AssetsController.php:53)
at Mapbender\CoreBundle\Controller\AssetsController->assets()
(vendor/symfony/http-kernel/HttpKernel.php:181)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
(vendor/symfony/http-kernel/HttpKernel.php:76)
at Symfony\Component\HttpKernel\HttpKernel->handle()
(vendor/symfony/http-kernel/Kernel.php:197)
at Symfony\Component\HttpKernel\Kernel->handle()
(vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35)
at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
(vendor/autoload_runtime.php:29)
at require_once('/data/mapbender/application/vendor/autoload_runtime.php')
(public/index.php:5)
|