https://demo.easytransfer24.de/service/v2/

Exceptions

Ungültige Zugangsdaten.Unable to find an active user object identified by "".

Exceptions 3

Symfony\Component\HttpKernel\Exception\ AccessDeniedHttpException

  1.             }
  2.             $this->user $U;
  3.         }
  4.         catch (\Throwable $ex)
  5.         {
  6.             throw new AccessDeniedHttpException("Ungültige Zugangsdaten.".$ex->getMessage(),$ex);
  7.         }
  8.     }
  9.     protected function parseRequest(Request $request)
  10.     {
ServiceBaseController->loadUser() in src/Diplix/KMGBundle/Controller/Service/Api2Controller.php (line 65)
  1.         return false;
  2.     }
  3.     protected function parseAndAuth(Request $request)
  4.     {
  5.         $data $this->parseRequest($request);
  6.         $this->loadUser($data['login'],$data['password'],false);
  7.         // do not detach user -> deprecated and kills further ops which rely on objects with an association with that user (e.g. deviceTokens)
  8.         return $data;
  9.     }
  10.     protected function storeToken(array $req$source='')
Api2Controller->parseAndAuth() in src/Diplix/KMGBundle/Controller/Service/Api2Controller.php (line 118)
  1.         parent::__construct($this->hasher,$this->managerRegistry);
  2.     }
  3.     public function indexAction(Request $request)
  4.     {
  5.         $req $this->parseAndAuth($request);
  6.         // auth successful at this point
  7.         $this->storeToken($req,"indexAction");
  8.         $res = [
  9.             'success' => true,
  10.             'user' => [
in vendor/symfony/http-kernel/HttpKernel.php -> indexAction (line 163)
  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.     {
  2.         $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  3.         $this->requestStack->push($request);
  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() in web/app.php (line 38)
  1.     Request::setTrustedHosts([$trustedHosts]);
  2. }
  3. $kernel = new AppKernel($_SERVER['APP_ENV'], (bool)$_SERVER['APP_DEBUG']);
  4. $request Request::createFromGlobals();
  5. $response $kernel->handle($request);
  6. $response->send();
  7. $kernel->terminate($request$response);

RuntimeException

Unable to find an active user object identified by "".

  1.                 'Unable to find an %s active user object identified by "%s".',
  2.                 ($e instanceof  NonUniqueResultException 'unique':''),
  3.                 $username
  4.             );
  5.             if ($suppressSymfonyAuth)
  6.                 throw new \RuntimeException($message,0,$e);
  7.             else
  8.                 // UserNameNotFound exception will redirect to auth subsystem and force a http 500 error if this not configured (like when within the service)
  9.                 throw new UsernameNotFoundException($message0$e);
  10.         }
  11.         return $user;
UserRepository->loadUserByUsername() in src/Diplix/KMGBundle/Controller/Service/ServiceBaseController.php (line 44)
  1.         try
  2.         {
  3.             /** @var UserRepository $ur */
  4.             $this->userRepo $this->managerRegistry->getRepository(User::class);
  5.             /** @var User $U */
  6.             $U $this->userRepo->loadUserByUsername($userName,true);
  7.             if (!$this->hasher->isPasswordValid($U$password))
  8.             {
  9.                 throw new \RuntimeException("Ungültiges Passwort.");
  10.             }
  11.             if ($checkMembership)
ServiceBaseController->loadUser() in src/Diplix/KMGBundle/Controller/Service/Api2Controller.php (line 65)
  1.         return false;
  2.     }
  3.     protected function parseAndAuth(Request $request)
  4.     {
  5.         $data $this->parseRequest($request);
  6.         $this->loadUser($data['login'],$data['password'],false);
  7.         // do not detach user -> deprecated and kills further ops which rely on objects with an association with that user (e.g. deviceTokens)
  8.         return $data;
  9.     }
  10.     protected function storeToken(array $req$source='')
Api2Controller->parseAndAuth() in src/Diplix/KMGBundle/Controller/Service/Api2Controller.php (line 118)
  1.         parent::__construct($this->hasher,$this->managerRegistry);
  2.     }
  3.     public function indexAction(Request $request)
  4.     {
  5.         $req $this->parseAndAuth($request);
  6.         // auth successful at this point
  7.         $this->storeToken($req,"indexAction");
  8.         $res = [
  9.             'success' => true,
  10.             'user' => [
in vendor/symfony/http-kernel/HttpKernel.php -> indexAction (line 163)
  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.     {
  2.         $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  3.         $this->requestStack->push($request);
  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() in web/app.php (line 38)
  1.     Request::setTrustedHosts([$trustedHosts]);
  2. }
  3. $kernel = new AppKernel($_SERVER['APP_ENV'], (bool)$_SERVER['APP_DEBUG']);
  4. $request Request::createFromGlobals();
  5. $response $kernel->handle($request);
  6. $response->send();
  7. $kernel->terminate($request$response);

Doctrine\ORM\ NoResultException

No result was found for query although at least one row was expected.

  1.     public function getSingleResult($hydrationMode null)
  2.     {
  3.         $result $this->execute(null$hydrationMode);
  4.         if ($this->_hydrationMode !== self::HYDRATE_SINGLE_SCALAR && ! $result) {
  5.             throw new NoResultException();
  6.         }
  7.         if (! is_array($result)) {
  8.             return $result;
  9.         }
AbstractQuery->getSingleResult() in src/Diplix/KMGBundle/Repository/UserRepository.php (line 301)
  1.         try
  2.         {
  3.             // The Query::getSingleResult() method throws an exception
  4.             // if there is no record matching the criteria.
  5.             $user $q->getSingleResult();
  6.         }
  7.         catch (NoResultException NonUniqueResultException $e// php >= 7.1
  8.         {
  9.             $message sprintf(
  10.                 'Unable to find an %s active user object identified by "%s".',
UserRepository->loadUserByUsername() in src/Diplix/KMGBundle/Controller/Service/ServiceBaseController.php (line 44)
  1.         try
  2.         {
  3.             /** @var UserRepository $ur */
  4.             $this->userRepo $this->managerRegistry->getRepository(User::class);
  5.             /** @var User $U */
  6.             $U $this->userRepo->loadUserByUsername($userName,true);
  7.             if (!$this->hasher->isPasswordValid($U$password))
  8.             {
  9.                 throw new \RuntimeException("Ungültiges Passwort.");
  10.             }
  11.             if ($checkMembership)
ServiceBaseController->loadUser() in src/Diplix/KMGBundle/Controller/Service/Api2Controller.php (line 65)
  1.         return false;
  2.     }
  3.     protected function parseAndAuth(Request $request)
  4.     {
  5.         $data $this->parseRequest($request);
  6.         $this->loadUser($data['login'],$data['password'],false);
  7.         // do not detach user -> deprecated and kills further ops which rely on objects with an association with that user (e.g. deviceTokens)
  8.         return $data;
  9.     }
  10.     protected function storeToken(array $req$source='')
Api2Controller->parseAndAuth() in src/Diplix/KMGBundle/Controller/Service/Api2Controller.php (line 118)
  1.         parent::__construct($this->hasher,$this->managerRegistry);
  2.     }
  3.     public function indexAction(Request $request)
  4.     {
  5.         $req $this->parseAndAuth($request);
  6.         // auth successful at this point
  7.         $this->storeToken($req,"indexAction");
  8.         $res = [
  9.             'success' => true,
  10.             'user' => [
in vendor/symfony/http-kernel/HttpKernel.php -> indexAction (line 163)
  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.     {
  2.         $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  3.         $this->requestStack->push($request);
  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() in web/app.php (line 38)
  1.     Request::setTrustedHosts([$trustedHosts]);
  2. }
  3. $kernel = new AppKernel($_SERVER['APP_ENV'], (bool)$_SERVER['APP_DEBUG']);
  4. $request Request::createFromGlobals();
  5. $response $kernel->handle($request);
  6. $response->send();
  7. $kernel->terminate($request$response);

Logs

Level Channel Message
INFO 18:03:53 php User Deprecated: Since symfony/http-foundation 5.2: The "HEADER_X_FORWARDED_ALL" constant is deprecated, use either "HEADER_X_FORWARDED_FOR | HEADER_X_FORWARDED_HOST | HEADER_X_FORWARDED_PORT | HEADER_X_FORWARDED_PROTO" or "HEADER_X_FORWARDED_AWS_ELB" or "HEADER_X_FORWARDED_TRAEFIK" constants instead.
{
    "exception": {}
}
INFO 18:03:53 php User Deprecated: Method "Symfony\Component\HttpKernel\Bundle\Bundle::getContainerExtension()" might add "?ExtensionInterface" as a native return type declaration in the future. Do the same in child class "BoShurik\TelegramBotBundle\BoShurikTelegramBotBundle" now to avoid errors or add an explicit @return annotation to suppress this message.
{
    "exception": {}
}
INFO 18:03:53 php User Deprecated: Method "Symfony\Component\HttpKernel\Bundle\Bundle::getContainerExtension()" might add "?ExtensionInterface" as a native return type declaration in the future. Do the same in child class "Kreait\Firebase\Symfony\Bundle\FirebaseBundle" now to avoid errors or add an explicit @return annotation to suppress this message.
{
    "exception": {}
}
INFO 18:03:53 php User Deprecated: Since symfony/monolog-bridge 6.4: The "Symfony\Bridge\Monolog\Logger" class is deprecated, use HttpKernel's DebugLoggerConfigurator instead.
{
    "exception": {}
}
INFO 18:03:53 php User Deprecated: The Liip\ImagineBundle\Templating\FilterTrait trait is deprecated since version 2.7 and will be removed in 3.0; use Twig instead.
{
    "exception": {}
}
INFO 18:03:53 php User Deprecated: The Liip\ImagineBundle\Templating\FilterExtension class is deprecated since version 2.7 and will be removed in 3.0; configure "liip_imagine.twig.mode" to "lazy" instead.
{
    "exception": {}
}
INFO 18:03:53 request Matched route "_profiler".
{
    "route": "_profiler",
    "route_parameters": {
        "_route": "_profiler",
        "_controller": "web_profiler.controller.profiler::panelAction",
        "token": "latest"
    },
    "request_uri": "https://demo.easytransfer24.de/_profiler/latest?ip=98.82.66.172",
    "method": "GET"
}
INFO 18:03:53 php User Deprecated: Since symfony/framework-bundle 5.3: The "session.storage.factory.service" service is deprecated, use "session.storage.factory.native", "session.storage.factory.php_bridge" or "session.storage.factory.mock_file" instead.
{
    "exception": {}
}
INFO 18:03:53 php User Deprecated: Since symfony/framework-bundle 5.3: The "session.storage.native" service is deprecated, use "session.storage.factory.native" instead.
{
    "exception": {}
}
INFO 18:03:53 php User Deprecated: Since symfony/framework-bundle 5.3: The "session.storage.metadata_bag" service is deprecated, create your own "session.storage.factory" instead.
{
    "exception": {}
}
INFO 18:03:53 php User Deprecated: Method "Doctrine\ORM\Query\Filter\SQLFilter::addFilterConstraint()" might add "string" as a native return type declaration in the future. Do the same in child class "Diplix\KMGBundle\Filter\BeDeletedFilter" now to avoid errors or add an explicit @return annotation to suppress this message.
{
    "exception": {}
}
INFO 18:03:53 doctrine Connecting with parameters {params}
{
    "params": {
        "driver": "pdo_mysql",
        "host": "127.0.0.1",
        "port": null,
        "dbname": "kwdemo",
        "user": "kwdemo",
        "password": "<redacted>",
        "charset": "UTF8",
        "idle_connection_ttl": 600,
        "driverOptions": [],
        "defaultTableOptions": []
    }
}
INFO 18:03:53 php Deprecated: Diplix\KMGBundle\Entity\User implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary)
{
    "exception": {}
}
INFO 18:03:53 php User Deprecated: Class "Diplix\KMGBundle\Entity\User" should implement method "Symfony\Component\Security\Core\User\UserInterface::getUserIdentifier(): string": returns the identifier for this user (e.g. its username or email address).
{
    "exception": {}
}
INFO 18:03:53 php User Deprecated: Method "Symfony\Component\Security\Core\User\UserInterface::getUsername()" might add "string" as a native return type declaration in the future. Do the same in implementation "Diplix\KMGBundle\Entity\User" now to avoid errors or add an explicit @return annotation to suppress this message.
{
    "exception": {}
}
INFO 18:03:53 php User Deprecated: Method "Symfony\Component\Security\Core\User\UserInterface::getSalt()" might add "?string" as a native return type declaration in the future. Do the same in implementation "Diplix\KMGBundle\Entity\User" now to avoid errors or add an explicit @return annotation to suppress this message.
{
    "exception": {}
}
INFO 18:03:53 php User Deprecated: Method "Symfony\Component\Security\Core\User\EquatableInterface::isEqualTo()" might add "bool" as a native return type declaration in the future. Do the same in implementation "Diplix\KMGBundle\Entity\User" now to avoid errors or add an explicit @return annotation to suppress this message.
{
    "exception": {}
}
INFO 18:03:53 php User Deprecated: Since symfony/http-foundation 5.2: The "HEADER_X_FORWARDED_ALL" constant is deprecated, use either "HEADER_X_FORWARDED_FOR | HEADER_X_FORWARDED_HOST | HEADER_X_FORWARDED_PORT | HEADER_X_FORWARDED_PROTO" or "HEADER_X_FORWARDED_AWS_ELB" or "HEADER_X_FORWARDED_TRAEFIK" constants instead.
{
    "exception": {}
}
INFO 18:03:53 php User Deprecated: Since symfony/http-foundation 5.2: The "HEADER_X_FORWARDED_ALL" constant is deprecated, use either "HEADER_X_FORWARDED_FOR | HEADER_X_FORWARDED_HOST | HEADER_X_FORWARDED_PORT | HEADER_X_FORWARDED_PROTO" or "HEADER_X_FORWARDED_AWS_ELB" or "HEADER_X_FORWARDED_TRAEFIK" constants instead.
{
    "exception": {}
}

Stack Traces 3

[3/3] AccessDeniedHttpException
Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException:
Ungültige Zugangsdaten.Unable to find an  active user object identified by "".

  at src/Diplix/KMGBundle/Controller/Service/ServiceBaseController.php:60
  at Diplix\KMGBundle\Controller\Service\ServiceBaseController->loadUser()
     (src/Diplix/KMGBundle/Controller/Service/Api2Controller.php:65)
  at Diplix\KMGBundle\Controller\Service\Api2Controller->parseAndAuth()
     (src/Diplix/KMGBundle/Controller/Service/Api2Controller.php:118)
  at Diplix\KMGBundle\Controller\Service\Api2Controller->indexAction()
     (vendor/symfony/http-kernel/HttpKernel.php:163)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (vendor/symfony/http-kernel/HttpKernel.php:75)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (vendor/symfony/http-kernel/Kernel.php:202)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (web/app.php:38)                
[2/3] RuntimeException
RuntimeException:
Unable to find an  active user object identified by "".

  at src/Diplix/KMGBundle/Repository/UserRepository.php:311
  at Diplix\KMGBundle\Repository\UserRepository->loadUserByUsername()
     (src/Diplix/KMGBundle/Controller/Service/ServiceBaseController.php:44)
  at Diplix\KMGBundle\Controller\Service\ServiceBaseController->loadUser()
     (src/Diplix/KMGBundle/Controller/Service/Api2Controller.php:65)
  at Diplix\KMGBundle\Controller\Service\Api2Controller->parseAndAuth()
     (src/Diplix/KMGBundle/Controller/Service/Api2Controller.php:118)
  at Diplix\KMGBundle\Controller\Service\Api2Controller->indexAction()
     (vendor/symfony/http-kernel/HttpKernel.php:163)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (vendor/symfony/http-kernel/HttpKernel.php:75)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (vendor/symfony/http-kernel/Kernel.php:202)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (web/app.php:38)                
[1/3] NoResultException
Doctrine\ORM\NoResultException:
No result was found for query although at least one row was expected.

  at vendor/doctrine/orm/src/AbstractQuery.php:1000
  at Doctrine\ORM\AbstractQuery->getSingleResult()
     (src/Diplix/KMGBundle/Repository/UserRepository.php:301)
  at Diplix\KMGBundle\Repository\UserRepository->loadUserByUsername()
     (src/Diplix/KMGBundle/Controller/Service/ServiceBaseController.php:44)
  at Diplix\KMGBundle\Controller\Service\ServiceBaseController->loadUser()
     (src/Diplix/KMGBundle/Controller/Service/Api2Controller.php:65)
  at Diplix\KMGBundle\Controller\Service\Api2Controller->parseAndAuth()
     (src/Diplix/KMGBundle/Controller/Service/Api2Controller.php:118)
  at Diplix\KMGBundle\Controller\Service\Api2Controller->indexAction()
     (vendor/symfony/http-kernel/HttpKernel.php:163)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (vendor/symfony/http-kernel/HttpKernel.php:75)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (vendor/symfony/http-kernel/Kernel.php:202)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (web/app.php:38)