http://pimcore-demo.profildoors.de/CarImages/ford/99/image-thumb__99__product_detail/auto-3345539.jpg

Exceptions

Asset not found

  • Exception
  • Logs
  • Stack Trace

Symfony\Component\HttpKernel\Exception\ NotFoundHttpException

  1.      *
  2.      *     throw $this->createNotFoundException('Page not found!');
  3.      */
  4.     protected function createNotFoundException(string $message 'Not Found'\Throwable $previous null): NotFoundHttpException
  5.     {
  6.         return new NotFoundHttpException($message$previous);
  7.     }
  8.     /**
  9.      * Returns an AccessDeniedException.
  10.      *
  1.                     return new BinaryFileResponse(PIMCORE_WEB_ROOT '/bundles/pimcoreadmin/img/filetype-not-supported.svg'200);
  2.                 }
  3.             }
  4.         }
  5.         throw $this->createNotFoundException('Asset not found');
  6.     }
  7.     /**
  8.      * @param Request $request
  9.      *
in vendor/symfony/http-kernel/HttpKernel.php -> thumbnailAction (line 152)
  1.         $this->dispatcher->dispatch($eventKernelEvents::CONTROLLER_ARGUMENTS);
  2.         $controller $event->getController();
  3.         $arguments $event->getArguments();
  4.         // call controller
  5.         $response $controller(...$arguments);
  6.         // view
  7.         if (!$response instanceof Response) {
  8.             $event = new ViewEvent($this$request$type$response);
  9.             $this->dispatcher->dispatch($eventKernelEvents::VIEW);
  1.     public function handle(Request $requestint $type HttpKernelInterface::MAIN_REQUESTbool $catch true)
  2.     {
  3.         $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  4.         try {
  5.             return $this->handleRaw($request$type);
  6.         } catch (\Exception $e) {
  7.             if ($e instanceof RequestExceptionInterface) {
  8.                 $e = new BadRequestHttpException($e->getMessage(), $e);
  9.             }
  10.             if (false === $catch) {
  1.         $this->boot();
  2.         ++$this->requestStackSize;
  3.         $this->resetServices true;
  4.         try {
  5.             return $this->getHttpKernel()->handle($request$type$catch);
  6.         } finally {
  7.             --$this->requestStackSize;
  8.         }
  9.     }
Kernel->handle(object(Request)) in public/index.php (line 36)
  1. $kernel \Pimcore\Bootstrap::kernel();
  2. // reset current request - will be read from request stack from now on
  3. Tool::setCurrentRequest(null);
  4. $response $kernel->handle($request);
  5. $response->send();
  6. $kernel->terminate($request$response);