doctrine/DoctrineBundle — comment on commit ace970b0727702c266097156936792e88c04f54c
File: Mapping/MetadataFactory.php line 110
By RapotOR:

Here is the stack trace:

Generating entities for bundle "MyAcmeBundle"
> backing up TestEntity.php to TestEntity.php~

Fatal error: Call to a member function getNamespacename() on a non-object in ***\vendor\bundles\Doctrine\Bundle\DoctrineBundle\Mapping\MetadataFactory.php on line 82

Call Stack:
0.0010 332016 1. {main}() ***\app\console:0
0.0493 2093144 2. Symfony\Component\Console\Application->run(???, ???) ***\app\console:16
0.0595 2300664 3. Symfony\Bundle\FrameworkBundle\Console\Application->doRun(class Symfony\Component\Console\Input\ArgvInput, class Symfony\Component\Console\Output\ConsoleOutput) ***\vendor\symfony\src\Symfony\Component\Console\Application.php:106
0.3884 5416840 4. Symfony\Component\Console\Application->doRun(class Symfony\Component\Console\Input\ArgvInput, class Symfony\Component\Console\Output\ConsoleOutput) ***\vendor\symfony\src\Symfony\Bundle\FrameworkBundle\Console\Application.php:75
0.3992 5416840 5. Symfony\Component\Console\Command\Command->run(class Symfony\Component\Console\Input\ArgvInput, class Symfony\Component\Console\Output\ConsoleOutput) ***\vendor\symfony\src\Symfony\Component\Console\Application.php:193
0.4026 5417264 6. Doctrine\Bundle\DoctrineBundle\Command\GenerateEntitiesDoctrineCommand->execute(class Symfony\Component\Console\Input\ArgvInput, class Symfony\Component\Console\Output\ConsoleOutput) ***\vendor\symfony\src\Symfony\Component\Console\Command\Command.php:237
3.8822 16093856 7. Doctrine\Bundle\DoctrineBundle\Mapping\MetadataFactory->getClassMetadata(string(39), null) ***\vendor\bundles\Doctrine\Bundle\DoctrineBundle\Command\GenerateEntitiesDoctrineCommand.php:120

Variables in local scope (#7):
$all = array (0 => class Doctrine\ORM\Mapping\ClassMetadata { public $name = 'My\\AcmeBundle\\Entity\\TestEntity'; public $namespace = 'My\\AcmeBundle\\Entity'; public $rootEntityName = 'My\\AcmeBundle\\Entity\\TestEntity'; public $customRepositoryClassName = NULL; public $isMappedSuperclass = FALSE; public $parentClasses = array (...); public $subClasses = array (...); public $namedQueries = array (...); public $identifier = array (...); public $inheritanceType = 1; public $generatorType = 4; public $fieldMappings = array (...); public $fieldNames = array (...); public $columnNames = array (...); public $discriminatorValue = NULL; public $discriminatorMap = array (...); public $discriminatorColumn = NULL; public $table = array (...); public $lifecycleCallbacks = array (...); public $associationMappings = array (...); public $isIdentifierComposite = FALSE; public $containsForeignIdentifier = FALSE; public $idGenerator = class Doctrine\ORM\Id\IdentityGenerator { ... }; public $sequenceGeneratorDefinition = NULL; public $tableGeneratorDefinition = NULL; public $changeTrackingPolicy = 1; public $isVersioned = NULL; public $versionField = NULL; public $reflClass = NULL; public $isReadOnly = FALSE; protected $namingStrategy = class Doctrine\ORM\Mapping\DefaultNamingStrategy { ... }; public $reflFields = array (...); private ${Doctrine\ORM\Mapping\ClassMetadataInfo}:_prototype = NULL })
$class = 'My\\AcmeBundle\\Entity\\TestEntity'
$metadata = class Doctrine\Bundle\DoctrineBundle\Mapping\ClassMetadataCollection { private $path = NULL; private $namespace = NULL; private $metadata = array (0 => class Doctrine\ORM\Mapping\ClassMetadata { ... }) }
$path = NULL
$r = NULL