akrabat/zf2 — comment on commit 8f170341a1ec3d8468d8165981229e323c10e35b
File:  line 0
By Chionsas:

Beware, that this fails if a Controller is configured via Di (Di calls set() methods) and any of those set() methods are using controller plugins.
Controller plugins check for setBroker(), but as the set()s are called prior (Zend\Mvc\Application.php line 266) to the Application checking if the controller is LocatorAware and calling setLocator() (Zend\Mcv\Application.php line 298), $im = $this->getLocator()[..] fails.