Error only appears when accessing the data from child table. If i remove the Employee table data, error disapear. Even for the department with no employee seems