Exceptions
Exception
Symfony\Component\HttpKernel\Exception\ NotFoundHttpException
Show exception properties
Symfony\Component\HttpKernel\Exception\NotFoundHttpException {#747 -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/ApplicationController.php
(line 43)
* @return Response*/#[Route(path: '/application/{slug}.{_format}', defaults: ['_format' => 'html'])]public function application(Request $request, $slug){$appEntity = $this->applicationResolver->getApplicationEntity($slug);if (!$this->isDebug) {return $this->markupCache->getMarkupResponse($request, $appEntity, $this->renderer);} else {return new Response($this->renderer->renderApplication($appEntity));
in
vendor/symfony/http-kernel/HttpKernel.php
->
application
(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());
<?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 21:16:07 | request |
Matched route "_profiler". {
"route": "_profiler",
"route_parameters": {
"_route": "_profiler",
"_controller": "web_profiler.controller.profiler::panelAction",
"token": "0de57e"
},
"request_uri": "https://kursdigital.de/mapbender/_profiler/0de57e",
"method": "GET"
}
|
| INFO 21:16:07 | doctrine |
Connecting with parameters {params} {
"params": {
"driver": "pdo_sqlite",
"idle_connection_ttl": 600,
"host": "localhost",
"port": null,
"user": "root",
"password": null,
"driverOptions": [],
"defaultTableOptions": [],
"path": "/var/www/mapbender/var/db/demo.sqlite",
"charset": "utf8"
}
}
|
| DEBUG 21:16:07 | doctrine |
Executing statement: PRAGMA foreign_keys = ON; {
"sql": "PRAGMA foreign_keys = ON;"
}
|
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/ApplicationController.php:43)
at Mapbender\CoreBundle\Controller\ApplicationController->application()
(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('/var/www/mapbender/vendor/autoload_runtime.php')
(public/index.php:5)
|