Error: Call to a member function find() on a non-object in cakephp controller
===

I'm new to cakephp and tried to generate some CRUD operations with the console tool. It works fine except for one table (the biggest).

When trying to add a new element, it returns:

> Error: Call to a member function find() on a non-object
> File: C:\wamp\www\cakephp\app\Controller\ChantiersController.php	
> Line: 50

Here is the line 50 and beyond:

        $programs = $this->Chantier->Program->find('list');
		$etats = $this->Chantier->Etat->find('list');
		$types = $this->Chantier->Type->find('list');
		$champsLibres = $this->Chantier->ChampsLibre->find('list');
		$feuillesDeRoutes = $this->Chantier->FeuillesDeRoute->find('list');
		$directionsPilotes = $this->Chantier->DirectionsPilote->find('list');
		$this->set(compact('programs', 'etats', 'types', 'champsLibres',    
                'feuillesDeRoutes', 'directionsPilotes'));





	