Programas, relatórios e regulamentos BA Uncaught exception: Call to a member function getId() on null