i found the problem
in my MontyBrogan-portlet.xml i defined the bean with:
<bean id="viewController" class="Controller.ViewController"></bean>
so first applicationContext called the setter and then the MontyBrogan-portlet called the constructor which set lectureDao to null