Exceptions
Exception
InvalidArgumentException
in
vendor/symfony/uid/Uuid.php
(line 42)
public function __construct(string $uuid, bool $checkVariant = false){$type = preg_match('{^[0-9a-f]{8}(?:-[0-9a-f]{4}){3}-[0-9a-f]{12}$}Di', $uuid) ? (int) $uuid[14] : false;if (false === $type || (static::TYPE ?: $type) !== $type) {throw new \InvalidArgumentException(\sprintf('Invalid UUID%s: "%s".', static::TYPE ? 'v'.static::TYPE : '', $uuid));}$this->uid = strtolower($uuid);if ($checkVariant && !\in_array($this->uid[19], ['8', '9', 'a', 'b'], true)) {
in
vendor/symfony/uid/UuidV7.php
->
__construct
(line 36)
public function __construct(?string $uuid = null){if (null === $uuid) {$this->uid = static::generate();} else {parent::__construct($uuid, true);}}public function getDateTime(): \DateTimeImmutable{
in
vendor/symfony/uid/Uuid.php
->
__construct
(line 57)
public static function fromString(string $uuid): static{$uuid = self::transformToRfc9562($uuid, self::FORMAT_ALL);if (__CLASS__ !== static::class || 36 !== \strlen($uuid)) {return new static($uuid);}if (self::NIL === $uuid) {return new NilUuid();}
}/** @var class-string<Uuid> $uuidClass */$uuidClass = $argument->getType();return [$uuidClass::fromString($value)];}}
in
vendor/symfony/http-kernel/Controller/ArgumentResolver/TraceableValueResolver.php
->
resolve
(line 37)
public function resolve(Request $request, ArgumentMetadata $argument): iterable{$method = $this->inner::class.'::'.__FUNCTION__;$this->stopwatch->start($method, 'controller.argument_value_resolver');yield from $this->inner->resolve($request, $argument);$this->stopwatch->stop($method);}}
in
vendor/symfony/http-kernel/Controller/ArgumentResolver.php
->
resolve
(line 91)
continue;}try {$count = 0;foreach ($resolver->resolve($request, $metadata) as $argument) {++$count;$arguments[] = $argument;}} catch (NearMissValueResolverException $e) {$valueResolverExceptions[] = $e;
in
vendor/symfony/http-kernel/Controller/TraceableArgumentResolver.php
->
getArguments
(line 33)
public function getArguments(Request $request, callable $controller, ?\ReflectionFunctionAbstract $reflector = null): array{$e = $this->stopwatch->start('controller.get_arguments');try {return $this->resolver->getArguments($request, $controller, $reflector);} finally {$e->stop();}}}
in
vendor/symfony/http-kernel/HttpKernel.php
->
getArguments
(line 175)
$event = new ControllerEvent($this, $controller, $request, $type);$this->dispatcher->dispatch($event, KernelEvents::CONTROLLER);$controller = $event->getController();// controller arguments$arguments = $this->argumentResolver->getArguments($request, $controller, $event->getControllerReflector());$event = new ControllerArgumentsEvent($this, $event, $arguments, $request, $type);$this->dispatcher->dispatch($event, KernelEvents::CONTROLLER_ARGUMENTS);$controller = $event->getController();$arguments = $event->getArguments();
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 182)
$this->boot();++$this->requestStackSize;$this->resetServices = true;try {return $this->getHttpKernel()->handle($request, $type, $catch);} finally {--$this->requestStackSize;}}
in
vendor/fluffydiscord/roadrunner-symfony-bundle/src/Worker/HttpWorker.php
->
handle
(line 76)
while ($request = $worker->waitRequest()) {$this->sentryHubInterface?->pushScope();try {$symfonyRequest = $this->httpFoundationFactory->createRequest($request);$symfonyResponse = $this->kernel->handle($symfonyRequest);$content = match (true) {$symfonyResponse instanceof StreamedJsonResponse => StreamedJsonResponseWrapper::wrap($symfonyResponse),$symfonyResponse instanceof StreamedResponse => StreamedResponseWrapper::wrap($symfonyResponse),$symfonyResponse instanceof BinaryFileResponse => BinaryFileResponseWrapper::wrap($symfonyResponse, $symfonyRequest),
in
vendor/fluffydiscord/roadrunner-symfony-bundle/src/Runtime/Runner.php
->
start
(line 33)
error_log(sprintf('Missing RR worker implementation for %s mode', $this->mode));return 1;}$worker->start();return 0;}}
in
vendor/autoload_runtime.php
->
run
(line 29)
$app = $app(...$args);exit($runtime->getRunner($app)->run());
declare(strict_types=1);use App\Infrastructure\Kernel;require_once dirname(__DIR__) . '/vendor/autoload_runtime.php';return function (array $context): Kernel {return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']); // @phpstan-ignore argument.type};
Stack Trace
|
InvalidArgumentException
|
|---|
InvalidArgumentException:
Invalid UUIDv7: "0198cc32-899c-748b-8d8…".
at vendor/symfony/uid/Uuid.php:42
at Symfony\Component\Uid\Uuid->__construct()
(vendor/symfony/uid/UuidV7.php:36)
at Symfony\Component\Uid\UuidV7->__construct()
(vendor/symfony/uid/Uuid.php:57)
at Symfony\Component\Uid\Uuid::fromString()
(src/Infrastructure/InputOutputMapping/UuidValueResolver.php:37)
at App\Infrastructure\InputOutputMapping\UuidValueResolver->resolve()
(vendor/symfony/http-kernel/Controller/ArgumentResolver/TraceableValueResolver.php:37)
at Symfony\Component\HttpKernel\Controller\ArgumentResolver\TraceableValueResolver->resolve()
(vendor/symfony/http-kernel/Controller/ArgumentResolver.php:91)
at Symfony\Component\HttpKernel\Controller\ArgumentResolver->getArguments()
(vendor/symfony/http-kernel/Controller/TraceableArgumentResolver.php:33)
at Symfony\Component\HttpKernel\Controller\TraceableArgumentResolver->getArguments()
(vendor/symfony/http-kernel/HttpKernel.php:175)
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:182)
at Symfony\Component\HttpKernel\Kernel->handle()
(vendor/fluffydiscord/roadrunner-symfony-bundle/src/Worker/HttpWorker.php:76)
at FluffyDiscord\RoadRunnerBundle\Worker\HttpWorker->start()
(vendor/fluffydiscord/roadrunner-symfony-bundle/src/Runtime/Runner.php:33)
at FluffyDiscord\RoadRunnerBundle\Runtime\Runner->run()
(vendor/autoload_runtime.php:29)
at require_once('/app/vendor/autoload_runtime.php')
(public/index.php:7)
|