Closed averbraeck closed 10 months ago
When clicking "New Measure' in the 'House Measure' screen, the following error is shown:
java.lang.NullPointerException: Cannot invoke "nl.tudelft.simulation.housinggame.data.tables.records.HousegroupRecord.getGroupId()" because "houseGroup" is null nl.tudelft.simulation.housinggame.admin.MaintainMeasure.editMeasure(MaintainMeasure.java:365) nl.tudelft.simulation.housinggame.admin.MaintainMeasure.handleMenu(MaintainMeasure.java:107) nl.tudelft.simulation.housinggame.admin.AdminServlet.doPost(AdminServlet.java:348)
New measure works (houseGroup came from column 2, not 3):
houseGroup
Storing also works:
When clicking "New Measure' in the 'House Measure' screen, the following error is shown: