doctrine/doctrine2 — comment on commit e16803de618ef0b94b1fa0917bf0fefff23e07de
File:  line 0
By RapotOR:

@beberlei The issue in `DoctrineBundle` occurs when using annotation mapping and trying `doctrine:generate:entities`.
The reason is the same than this fix. The function `getReflectionClass` give a `null` and `ReflectionClass``is expected.
https://github.com/doctrine/DoctrineBundle/blob/master/Mapping/MetadataFactory.php#L110

Not sure but; the reason could be `Doctrine/Common/Persistence/Mapping/StaticReflectionService::getClass()` that give a null.