Try disabling the JMSSecurityExtraBundle unless you're using it (comment it out 
in config.yml and AppKernel.php) and see if the problem goes away. I think it 
might be a bit behind (or ahead of) the main standard edition. 

On 24 May 2011, at 22:06, Carl wrote:

> I just recently updated to the latest master of Symfony2 and now I'm getting 
> the above exception error. I've made sure to update my entities to match the 
> new way that annotations work but I'm still having problems. I'm sure it's 
> probably something simple but I'm having difficulty tracking it down. It 
> seems likely that it's related to the relatively recent annotation changes. 
> Here is my framework configuration:
> 
> framework:
>     secret:          %secret%
>     charset:         UTF-8
>     router:          { resource: "%kernel.root_dir%/config/routing.yml" }
>     form:            true
>     csrf_protection: true
>     validation:
>         enable_annotations: true
>     templating:      { engines: ['twig'] } #assets_version: SomeVersionScheme
>     session:
>         default_locale: %locale%
>         lifetime:       3600
>         auto_start:     true
>     translator: { fallback: en }
> 
> 
> And here's the backtrace (note: full paths removed for brevity/readability):
> 
> in Symfony\Component\DependencyInjection\ContainerBuilder.php line 668
> at ReflectionClass->__construct() in 
> Symfony\Component\DependencyInjection\ContainerBuilder.php line 668
> at ContainerBuilder->createService() in 
> Symfony\Component\DependencyInjection\ContainerBuilder.php line 306
> at ContainerBuilder->get() in 
> Symfony\Component\DependencyInjection\ContainerBuilder.php line 291
> at ContainerBuilder->get() in 
> JMS\SecurityExtraBundle\DependencyInjection\Compiler\SecureMethodInvocationsPass.php
>  line 111
> at SecureMethodInvocationsPass->processDefinition() in 
> JMS\SecurityExtraBundle\DependencyInjection\Compiler\SecureMethodInvocationsPass.php
>  line 102
> at SecureMethodInvocationsPass->process() in 
> Symfony\Component\DependencyInjection\Compiler\Compiler.php line 109
> at Compiler->compile() in 
> Symfony\Component\DependencyInjection\ContainerBuilder.php line 398
> at ContainerBuilder->compile() in app\bootstrap.php.cache line 868
> at Kernel->buildContainer() in app\bootstrap.php.cache line 797
> at Kernel->initializeContainer() in app\bootstrap.php.cache line 595
> at Kernel->boot() in app\bootstrap.php.cache line 617
> at Kernel->handle() in web\app_dev.php line 19
> 
> I've rebuilt my bootstrap and cleared my cache yet the problem still 
> persists. Um, help? Thanks!
> 
> -- 
> If you want to report a vulnerability issue on symfony, please send it to 
> security at symfony-project.com
>  
> You received this message because you are subscribed to the Google
> Groups "symfony users" group.
> To post to this group, send email to symfony-users@googlegroups.com
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to