Symfony Exception

ContextErrorException FileLoaderLoadException

HTTP500 Internal Server Error

Notice: Trying to access array offset on value of type null in /home/intranet/public_html/src/FrontBundle/Controller/ (which is being imported from "/home/intranet/public_html/app/config/routing.yml"). Make sure annotations are enabled.

Exceptions 2

Symfony\Component\Config\Exception\ FileLoaderLoadException

  1.                 // prevent embedded imports from nesting multiple exceptions
  2.                 if ($e instanceof FileLoaderLoadException) {
  3.                     throw $e;
  4.                 }
  5.                 throw new FileLoaderLoadException($resource$sourceResourcenull$e$type);
  6.             }
  7.         }
  8.     }
  9. }
  1.             if ($isSubpath) {
  2.                 return isset($ret[1]) ? $ret : (isset($ret[0]) ? $ret[0] : null);
  3.             }
  4.         }
  5.         return $this->doImport($resource$type$ignoreErrors$sourceResource);
  6.     }
  7.     /**
  8.      * @internal
  9.      */
  1.         $schemes = isset($config['schemes']) ? $config['schemes'] : null;
  2.         $methods = isset($config['methods']) ? $config['methods'] : null;
  3.         $this->setCurrentDir(dirname($path));
  4.         $subCollection $this->import($config['resource'], $typefalse$file);
  5.         /* @var $subCollection RouteCollection */
  6.         $subCollection->addPrefix($prefix);
  7.         if (null !== $host) {
  8.             $subCollection->setHost($host);
  9.         }
  1.         foreach ($parsedConfig as $name => $config) {
  2.             $this->validate($config$name$path);
  3.             if (isset($config['resource'])) {
  4.                 $this->parseImport($collection$config$path$file);
  5.             } else {
  6.                 $this->parseRoute($collection$name$config$path);
  7.             }
  8.         }
  1.     {
  2.         if (false === $loader $this->resolver->resolve($resource$type)) {
  3.             throw new FileLoaderLoadException($resourcenullnullnull$type);
  4.         }
  5.         return $loader->load($resource$type);
  6.     }
  7.     /**
  8.      * {@inheritdoc}
  9.      */
  1.             throw new FileLoaderLoadException($resourcenullnullnull$type);
  2.         }
  3.         $this->loading true;
  4.         try {
  5.             $collection parent::load($resource$type);
  6.         } finally {
  7.             $this->loading false;
  8.         }
  9.         foreach ($collection->all() as $route) {
  1.      * {@inheritdoc}
  2.      */
  3.     public function getRouteCollection()
  4.     {
  5.         if (null === $this->collection) {
  6.             $this->collection $this->container->get('routing.loader')->load($this->resource$this->options['resource_type']);
  7.             $this->resolveParameters($this->collection);
  8.             $this->collection->addResource(new ContainerParametersResource($this->collectedParameters));
  9.         }
  10.         return $this->collection;
Router->getRouteCollection() in vendor/symfony/symfony/src/Symfony/Component/Routing/Router.php (line367)
  1.     /**
  2.      * @return MatcherDumperInterface
  3.      */
  4.     protected function getMatcherDumperInstance()
  5.     {
  6.         return new $this->options['matcher_dumper_class']($this->getRouteCollection());
  7.     }
  8.     /**
  9.      * Provides the ConfigCache factory implementation, falling back to a
  10.      * default implementation if necessary.
Router->getMatcherDumperInstance() in vendor/symfony/symfony/src/Symfony/Component/Routing/Router.php (line289)
  1.             return $this->matcher;
  2.         }
  3.         $cache $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/'.$this->options['matcher_cache_class'].'.php',
  4.             function (ConfigCacheInterface $cache) {
  5.                 $dumper $this->getMatcherDumperInstance();
  6.                 if (method_exists($dumper'addExpressionLanguageProvider')) {
  7.                     foreach ($this->expressionLanguageProviders as $provider) {
  8.                         $dumper->addExpressionLanguageProvider($provider);
  9.                     }
  10.                 }
Router->Symfony\Component\Routing\{closure}()
  1.             throw new \InvalidArgumentException(sprintf('Invalid type for callback argument. Expected callable, but got "%s".'gettype($callback)));
  2.         }
  3.         $cache = new ResourceCheckerConfigCache($file$this->resourceCheckers);
  4.         if (!$cache->isFresh()) {
  5.             call_user_func($callback$cache);
  6.         }
  7.         return $cache;
  8.     }
  9. }
ResourceCheckerConfigCacheFactory->cache() in vendor/symfony/symfony/src/Symfony/Component/Routing/Router.php (line302)
  1.                     'class' => $this->options['matcher_cache_class'],
  2.                     'base_class' => $this->options['matcher_base_class'],
  3.                 );
  4.                 $cache->write($dumper->dump($options), $this->getRouteCollection()->getResources());
  5.             }
  6.         );
  7.         require_once $cache->getPath();
  8.         return $this->matcher = new $this->options['matcher_cache_class']($this->context);
  1.     /**
  2.      * {@inheritdoc}
  3.      */
  4.     public function matchRequest(Request $request)
  5.     {
  6.         $matcher $this->getMatcher();
  7.         if (!$matcher instanceof RequestMatcherInterface) {
  8.             // fallback to the default UrlMatcherInterface
  9.             return $matcher->match($request->getPathInfo());
  10.         }
  1.         // add attributes based on the request (routing)
  2.         try {
  3.             // matching a request is more powerful than matching a URL path + context, so try that first
  4.             if ($this->matcher instanceof RequestMatcherInterface) {
  5.                 $parameters $this->matcher->matchRequest($request);
  6.             } else {
  7.                 $parameters $this->matcher->match($request->getPathInfo());
  8.             }
  9.             if (null !== $this->logger) {
RouterListener->onKernelRequest()
  1.     {
  2.         $this->called true;
  3.         $e $this->stopwatch->start($this->name'event_listener');
  4.         call_user_func($this->listener$event$eventName$this->dispatcher ?: $dispatcher);
  5.         if ($e->isStarted()) {
  6.             $e->stop();
  7.         }
WrappedListener->__invoke()
  1.     {
  2.         foreach ($listeners as $listener) {
  3.             if ($event->isPropagationStopped()) {
  4.                 break;
  5.             }
  6.             call_user_func($listener$event$eventName$this);
  7.         }
  8.     }
  9.     /**
  10.      * Sorts the internal list of listeners for the given event by priority.
  1.         if (null === $event) {
  2.             $event = new Event();
  3.         }
  4.         if ($listeners $this->getListeners($eventName)) {
  5.             $this->doDispatch($listeners$eventName$event);
  6.         }
  7.         return $event;
  8.     }
  1.         $this->preProcess($eventName);
  2.         $this->preDispatch($eventName$event);
  3.         $e $this->stopwatch->start($eventName'section');
  4.         $this->dispatcher->dispatch($eventName$event);
  5.         if ($e->isStarted()) {
  6.             $e->stop();
  7.         }
TraceableEventDispatcher->dispatch() in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php (line127)
  1.     {
  2.         $this->requestStack->push($request);
  3.         // request
  4.         $event = new GetResponseEvent($this$request$type);
  5.         $this->dispatcher->dispatch(KernelEvents::REQUEST$event);
  6.         if ($event->hasResponse()) {
  7.             return $this->filterResponse($event->getResponse(), $request$type);
  8.         }
  1.     public function handle(Request $request$type HttpKernelInterface::MASTER_REQUEST$catch true)
  2.     {
  3.         $request->headers->set('X-Php-Ob-Level'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.     {
  2.         if (false === $this->booted) {
  3.             $this->boot();
  4.         }
  5.         return $this->getHttpKernel()->handle($request$type$catch);
  6.     }
  7.     /**
  8.      * Gets a HTTP kernel from the container.
  9.      *
Kernel->handle() in web/app.php (line19)
  1. //$kernel = new AppCache($kernel);
  2. // When using the HttpCache, you need to call the method in your front controller instead of relying on the configuration parameter
  3. //Request::enableHttpMethodParameterOverride();
  4. $request Request::createFromGlobals();
  5. $response $kernel->handle($request);
  6. $response->send();
  7. $kernel->terminate($request$response);

Symfony\Component\Debug\Exception\ ContextErrorException

Notice: Trying to access array offset on value of type null

  1.         $this->lexer->moveNext();
  2.         $className $this->lexer->token['value'];
  3.         while ($this->lexer->lookahead['position'] === ($this->lexer->token['position'] + strlen($this->lexer->token['value']))
  4.                 && $this->lexer->isNextToken(DocLexer::T_NAMESPACE_SEPARATOR)) {
  5.             $this->match(DocLexer::T_NAMESPACE_SEPARATOR);
  6.             $this->matchAny(self::$classIdentifiers);
  1.     private function Annotation()
  2.     {
  3.         $this->match(DocLexer::T_AT);
  4.         // check if we have an annotation
  5.         $name $this->Identifier();
  6.         // only process names which are not fully qualified, yet
  7.         // fully qualified names must start with a \
  8.         $originalName $name;
  1.                 $this->lexer->moveNext();
  2.                 continue;
  3.             }
  4.             $this->isNestedAnnotation false;
  5.             if (false !== $annot $this->Annotation()) {
  6.                 $annotations[] = $annot;
  7.             }
  8.         }
  9.         return $annotations;
  1.         $this->context $context;
  2.         $this->lexer->setInput(trim(substr($input$pos), '* /'));
  3.         $this->lexer->moveNext();
  4.         return $this->Annotations();
  5.     }
  6.     /**
  7.      * Finds the first valid annotation
  8.      *
  1.         // verify that the class is really meant to be an annotation
  2.         if ($metadata['is_annotation']) {
  3.             self::$metadataParser->setTarget(Target::TARGET_CLASS);
  4.             foreach (self::$metadataParser->parse($docComment'class @' $name) as $annotation) {
  5.                 if ($annotation instanceof Target) {
  6.                     $metadata['targets']         = $annotation->targets;
  7.                     $metadata['targets_literal'] = $annotation->literal;
  8.                     continue;
DocParser->collectAnnotationMetadata() in vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/DocParser.php (line718)
  1.         // that it is loaded
  2.         // collects the metadata annotation only if there is not yet
  3.         if ( ! isset(self::$annotationMetadata[$name])) {
  4.             $this->collectAnnotationMetadata($name);
  5.         }
  6.         // verify that the class is really meant to be an annotation and not just any ordinary class
  7.         if (self::$annotationMetadata[$name]['is_annotation'] === false) {
  8.             if (isset($this->ignoredAnnotationNames[$originalName])) {
  1.                 $this->lexer->moveNext();
  2.                 continue;
  3.             }
  4.             $this->isNestedAnnotation false;
  5.             if (false !== $annot $this->Annotation()) {
  6.                 $annotations[] = $annot;
  7.             }
  8.         }
  9.         return $annotations;
  1.         $this->context $context;
  2.         $this->lexer->setInput(trim(substr($input$pos), '* /'));
  3.         $this->lexer->moveNext();
  4.         return $this->Annotations();
  5.     }
  6.     /**
  7.      * Finds the first valid annotation
  8.      *
  1.         $this->parser->setTarget(Target::TARGET_METHOD);
  2.         $this->parser->setImports($this->getMethodImports($method));
  3.         $this->parser->setIgnoredAnnotationNames($this->getIgnoredAnnotationNames($class));
  4.         return $this->parser->parse($method->getDocComment(), $context);
  5.     }
  6.     /**
  7.      * {@inheritDoc}
  8.      */
AnnotationReader->getMethodAnnotations() in vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/CachedReader.php (line151)
  1.         if (isset($this->loadedAnnotations[$cacheKey])) {
  2.             return $this->loadedAnnotations[$cacheKey];
  3.         }
  4.         if (false === ($annots $this->fetchFromCache($cacheKey$class))) {
  5.             $annots $this->delegate->getMethodAnnotations($method);
  6.             $this->saveToCache($cacheKey$annots);
  7.         }
  8.         return $this->loadedAnnotations[$cacheKey] = $annots;
  9.     }
  1.         $collection = new RouteCollection();
  2.         $collection->addResource(new FileResource($class->getFileName()));
  3.         foreach ($class->getMethods() as $method) {
  4.             $this->defaultRouteIndex 0;
  5.             foreach ($this->reader->getMethodAnnotations($method) as $annot) {
  6.                 if ($annot instanceof $this->routeAnnotationClass) {
  7.                     $this->addRoute($collection$annot$globals$class$method);
  8.                 }
  9.             }
  10.         }
  1.                 $refl = new \ReflectionClass($class);
  2.                 if ($refl->isAbstract()) {
  3.                     continue;
  4.                 }
  5.                 $collection->addCollection($this->loader->load($class$type));
  6.             }
  7.         }
  8.         return $collection;
  9.     }
AnnotationDirectoryLoader->load() in vendor/symfony/symfony/src/Symfony/Component/Config/Loader/FileLoader.php (line153)
  1.                 }
  2.             }
  3.             self::$loading[$resource] = true;
  4.             try {
  5.                 $ret $loader->load($resource$type);
  6.             } finally {
  7.                 unset(self::$loading[$resource]);
  8.             }
  9.             return $ret;
  1.             if ($isSubpath) {
  2.                 return isset($ret[1]) ? $ret : (isset($ret[0]) ? $ret[0] : null);
  3.             }
  4.         }
  5.         return $this->doImport($resource$type$ignoreErrors$sourceResource);
  6.     }
  7.     /**
  8.      * @internal
  9.      */
  1.         $schemes = isset($config['schemes']) ? $config['schemes'] : null;
  2.         $methods = isset($config['methods']) ? $config['methods'] : null;
  3.         $this->setCurrentDir(dirname($path));
  4.         $subCollection $this->import($config['resource'], $typefalse$file);
  5.         /* @var $subCollection RouteCollection */
  6.         $subCollection->addPrefix($prefix);
  7.         if (null !== $host) {
  8.             $subCollection->setHost($host);
  9.         }
  1.         foreach ($parsedConfig as $name => $config) {
  2.             $this->validate($config$name$path);
  3.             if (isset($config['resource'])) {
  4.                 $this->parseImport($collection$config$path$file);
  5.             } else {
  6.                 $this->parseRoute($collection$name$config$path);
  7.             }
  8.         }
  1.     {
  2.         if (false === $loader $this->resolver->resolve($resource$type)) {
  3.             throw new FileLoaderLoadException($resourcenullnullnull$type);
  4.         }
  5.         return $loader->load($resource$type);
  6.     }
  7.     /**
  8.      * {@inheritdoc}
  9.      */
  1.             throw new FileLoaderLoadException($resourcenullnullnull$type);
  2.         }
  3.         $this->loading true;
  4.         try {
  5.             $collection parent::load($resource$type);
  6.         } finally {
  7.             $this->loading false;
  8.         }
  9.         foreach ($collection->all() as $route) {
  1.      * {@inheritdoc}
  2.      */
  3.     public function getRouteCollection()
  4.     {
  5.         if (null === $this->collection) {
  6.             $this->collection $this->container->get('routing.loader')->load($this->resource$this->options['resource_type']);
  7.             $this->resolveParameters($this->collection);
  8.             $this->collection->addResource(new ContainerParametersResource($this->collectedParameters));
  9.         }
  10.         return $this->collection;
Router->getRouteCollection() in vendor/symfony/symfony/src/Symfony/Component/Routing/Router.php (line367)
  1.     /**
  2.      * @return MatcherDumperInterface
  3.      */
  4.     protected function getMatcherDumperInstance()
  5.     {
  6.         return new $this->options['matcher_dumper_class']($this->getRouteCollection());
  7.     }
  8.     /**
  9.      * Provides the ConfigCache factory implementation, falling back to a
  10.      * default implementation if necessary.
Router->getMatcherDumperInstance() in vendor/symfony/symfony/src/Symfony/Component/Routing/Router.php (line289)
  1.             return $this->matcher;
  2.         }
  3.         $cache $this->getConfigCacheFactory()->cache($this->options['cache_dir'].'/'.$this->options['matcher_cache_class'].'.php',
  4.             function (ConfigCacheInterface $cache) {
  5.                 $dumper $this->getMatcherDumperInstance();
  6.                 if (method_exists($dumper'addExpressionLanguageProvider')) {
  7.                     foreach ($this->expressionLanguageProviders as $provider) {
  8.                         $dumper->addExpressionLanguageProvider($provider);
  9.                     }
  10.                 }
Router->Symfony\Component\Routing\{closure}()
  1.             throw new \InvalidArgumentException(sprintf('Invalid type for callback argument. Expected callable, but got "%s".'gettype($callback)));
  2.         }
  3.         $cache = new ResourceCheckerConfigCache($file$this->resourceCheckers);
  4.         if (!$cache->isFresh()) {
  5.             call_user_func($callback$cache);
  6.         }
  7.         return $cache;
  8.     }
  9. }
ResourceCheckerConfigCacheFactory->cache() in vendor/symfony/symfony/src/Symfony/Component/Routing/Router.php (line302)
  1.                     'class' => $this->options['matcher_cache_class'],
  2.                     'base_class' => $this->options['matcher_base_class'],
  3.                 );
  4.                 $cache->write($dumper->dump($options), $this->getRouteCollection()->getResources());
  5.             }
  6.         );
  7.         require_once $cache->getPath();
  8.         return $this->matcher = new $this->options['matcher_cache_class']($this->context);
  1.     /**
  2.      * {@inheritdoc}
  3.      */
  4.     public function matchRequest(Request $request)
  5.     {
  6.         $matcher $this->getMatcher();
  7.         if (!$matcher instanceof RequestMatcherInterface) {
  8.             // fallback to the default UrlMatcherInterface
  9.             return $matcher->match($request->getPathInfo());
  10.         }
  1.         // add attributes based on the request (routing)
  2.         try {
  3.             // matching a request is more powerful than matching a URL path + context, so try that first
  4.             if ($this->matcher instanceof RequestMatcherInterface) {
  5.                 $parameters $this->matcher->matchRequest($request);
  6.             } else {
  7.                 $parameters $this->matcher->match($request->getPathInfo());
  8.             }
  9.             if (null !== $this->logger) {
RouterListener->onKernelRequest()
  1.     {
  2.         $this->called true;
  3.         $e $this->stopwatch->start($this->name'event_listener');
  4.         call_user_func($this->listener$event$eventName$this->dispatcher ?: $dispatcher);
  5.         if ($e->isStarted()) {
  6.             $e->stop();
  7.         }
WrappedListener->__invoke()
  1.     {
  2.         foreach ($listeners as $listener) {
  3.             if ($event->isPropagationStopped()) {
  4.                 break;
  5.             }
  6.             call_user_func($listener$event$eventName$this);
  7.         }
  8.     }
  9.     /**
  10.      * Sorts the internal list of listeners for the given event by priority.
  1.         if (null === $event) {
  2.             $event = new Event();
  3.         }
  4.         if ($listeners $this->getListeners($eventName)) {
  5.             $this->doDispatch($listeners$eventName$event);
  6.         }
  7.         return $event;
  8.     }
  1.         $this->preProcess($eventName);
  2.         $this->preDispatch($eventName$event);
  3.         $e $this->stopwatch->start($eventName'section');
  4.         $this->dispatcher->dispatch($eventName$event);
  5.         if ($e->isStarted()) {
  6.             $e->stop();
  7.         }
TraceableEventDispatcher->dispatch() in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php (line127)
  1.     {
  2.         $this->requestStack->push($request);
  3.         // request
  4.         $event = new GetResponseEvent($this$request$type);
  5.         $this->dispatcher->dispatch(KernelEvents::REQUEST$event);
  6.         if ($event->hasResponse()) {
  7.             return $this->filterResponse($event->getResponse(), $request$type);
  8.         }
  1.     public function handle(Request $request$type HttpKernelInterface::MASTER_REQUEST$catch true)
  2.     {
  3.         $request->headers->set('X-Php-Ob-Level'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.     {
  2.         if (false === $this->booted) {
  3.             $this->boot();
  4.         }
  5.         return $this->getHttpKernel()->handle($request$type$catch);
  6.     }
  7.     /**
  8.      * Gets a HTTP kernel from the container.
  9.      *
Kernel->handle() in web/app.php (line19)
  1. //$kernel = new AppCache($kernel);
  2. // When using the HttpCache, you need to call the method in your front controller instead of relying on the configuration parameter
  3. //Request::enableHttpMethodParameterOverride();
  4. $request Request::createFromGlobals();
  5. $response $kernel->handle($request);
  6. $response->send();
  7. $kernel->terminate($request$response);

Logs

No log messages

Stack Traces 2

[2/2]FileLoaderLoadException

Symfony\Component\Config\Exception\FileLoaderLoadException:Notice: Trying to access array offset on value of type null in /home/intranet/public_html/src/FrontBundle/Controller/ (which is being imported from "/home/intranet/public_html/app/config/routing.yml"). Make sure annotations are enabled.at vendor/symfony/symfony/src/Symfony/Component/Config/Loader/FileLoader.php:168atSymfony\Component\Config\Loader\FileLoader->doImport()
     (vendor/symfony/symfony/src/Symfony/Component/Config/Loader/FileLoader.php:90)atSymfony\Component\Config\Loader\FileLoader->import()
     (vendor/symfony/symfony/src/Symfony/Component/Routing/Loader/YamlFileLoader.php:154)atSymfony\Component\Routing\Loader\YamlFileLoader->parseImport()
     (vendor/symfony/symfony/src/Symfony/Component/Routing/Loader/YamlFileLoader.php:92)atSymfony\Component\Routing\Loader\YamlFileLoader->load()
     (vendor/symfony/symfony/src/Symfony/Component/Config/Loader/DelegatingLoader.php:40)atSymfony\Component\Config\Loader\DelegatingLoader->load()
     (vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Routing/DelegatingLoader.php:70)atSymfony\Bundle\FrameworkBundle\Routing\DelegatingLoader->load()
     (vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Routing/Router.php:56)atSymfony\Bundle\FrameworkBundle\Routing\Router->getRouteCollection()
     (vendor/symfony/symfony/src/Symfony/Component/Routing/Router.php:367)atSymfony\Component\Routing\Router->getMatcherDumperInstance()
     (vendor/symfony/symfony/src/Symfony/Component/Routing/Router.php:289)atSymfony\Component\Routing\Router->Symfony\Component\Routing\{closure}()atcall_user_func()
     (vendor/symfony/symfony/src/Symfony/Component/Config/ResourceCheckerConfigCacheFactory.php:43)atSymfony\Component\Config\ResourceCheckerConfigCacheFactory->cache()
     (vendor/symfony/symfony/src/Symfony/Component/Routing/Router.php:302)atSymfony\Component\Routing\Router->getMatcher()
     (vendor/symfony/symfony/src/Symfony/Component/Routing/Router.php:256)atSymfony\Component\Routing\Router->matchRequest()
     (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php:104)atSymfony\Component\HttpKernel\EventListener\RouterListener->onKernelRequest()atcall_user_func()
     (vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/WrappedListener.php:104)atSymfony\Component\EventDispatcher\Debug\WrappedListener->__invoke()atcall_user_func()
     (vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php:212)atSymfony\Component\EventDispatcher\EventDispatcher->doDispatch()
     (vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php:44)atSymfony\Component\EventDispatcher\EventDispatcher->dispatch()
     (vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcher.php:139)atSymfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch()
     (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:127)atSymfony\Component\HttpKernel\HttpKernel->handleRaw()
     (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:68)atSymfony\Component\HttpKernel\HttpKernel->handle()
     (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php:169)atSymfony\Component\HttpKernel\Kernel->handle()
     (web/app.php:19)

[1/2]ContextErrorException

Symfony\Component\Debug\Exception\ContextErrorException:Notice: Trying to access array offset on value of type nullat vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/DocParser.php:967atDoctrine\Common\Annotations\DocParser->Identifier()
     (vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/DocParser.php:665)atDoctrine\Common\Annotations\DocParser->Annotation()
     (vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/DocParser.php:641)atDoctrine\Common\Annotations\DocParser->Annotations()
     (vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/DocParser.php:334)atDoctrine\Common\Annotations\DocParser->parse()
     (vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/DocParser.php:496)atDoctrine\Common\Annotations\DocParser->collectAnnotationMetadata()
     (vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/DocParser.php:718)atDoctrine\Common\Annotations\DocParser->Annotation()
     (vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/DocParser.php:641)atDoctrine\Common\Annotations\DocParser->Annotations()
     (vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/DocParser.php:334)atDoctrine\Common\Annotations\DocParser->parse()
     (vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationReader.php:257)atDoctrine\Common\Annotations\AnnotationReader->getMethodAnnotations()
     (vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/CachedReader.php:151)atDoctrine\Common\Annotations\CachedReader->getMethodAnnotations()
     (vendor/symfony/symfony/src/Symfony/Component/Routing/Loader/AnnotationClassLoader.php:115)atSymfony\Component\Routing\Loader\AnnotationClassLoader->load()
     (vendor/symfony/symfony/src/Symfony/Component/Routing/Loader/AnnotationDirectoryLoader.php:67)atSymfony\Component\Routing\Loader\AnnotationDirectoryLoader->load()
     (vendor/symfony/symfony/src/Symfony/Component/Config/Loader/FileLoader.php:153)atSymfony\Component\Config\Loader\FileLoader->doImport()
     (vendor/symfony/symfony/src/Symfony/Component/Config/Loader/FileLoader.php:90)atSymfony\Component\Config\Loader\FileLoader->import()
     (vendor/symfony/symfony/src/Symfony/Component/Routing/Loader/YamlFileLoader.php:154)atSymfony\Component\Routing\Loader\YamlFileLoader->parseImport()
     (vendor/symfony/symfony/src/Symfony/Component/Routing/Loader/YamlFileLoader.php:92)atSymfony\Component\Routing\Loader\YamlFileLoader->load()
     (vendor/symfony/symfony/src/Symfony/Component/Config/Loader/DelegatingLoader.php:40)atSymfony\Component\Config\Loader\DelegatingLoader->load()
     (vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Routing/DelegatingLoader.php:70)atSymfony\Bundle\FrameworkBundle\Routing\DelegatingLoader->load()
     (vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Routing/Router.php:56)atSymfony\Bundle\FrameworkBundle\Routing\Router->getRouteCollection()
     (vendor/symfony/symfony/src/Symfony/Component/Routing/Router.php:367)atSymfony\Component\Routing\Router->getMatcherDumperInstance()
     (vendor/symfony/symfony/src/Symfony/Component/Routing/Router.php:289)atSymfony\Component\Routing\Router->Symfony\Component\Routing\{closure}()atcall_user_func()
     (vendor/symfony/symfony/src/Symfony/Component/Config/ResourceCheckerConfigCacheFactory.php:43)atSymfony\Component\Config\ResourceCheckerConfigCacheFactory->cache()
     (vendor/symfony/symfony/src/Symfony/Component/Routing/Router.php:302)atSymfony\Component\Routing\Router->getMatcher()
     (vendor/symfony/symfony/src/Symfony/Component/Routing/Router.php:256)atSymfony\Component\Routing\Router->matchRequest()
     (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php:104)atSymfony\Component\HttpKernel\EventListener\RouterListener->onKernelRequest()atcall_user_func()
     (vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/WrappedListener.php:104)atSymfony\Component\EventDispatcher\Debug\WrappedListener->__invoke()atcall_user_func()
     (vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php:212)atSymfony\Component\EventDispatcher\EventDispatcher->doDispatch()
     (vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php:44)atSymfony\Component\EventDispatcher\EventDispatcher->dispatch()
     (vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcher.php:139)atSymfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch()
     (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:127)atSymfony\Component\HttpKernel\HttpKernel->handleRaw()
     (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:68)atSymfony\Component\HttpKernel\HttpKernel->handle()
     (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php:169)atSymfony\Component\HttpKernel\Kernel->handle()
     (web/app.php:19)