ListView with checkboxes

I want to make a simple listview with checkboxes. The problem is that everytime I click on a checkbox my app chrashes with a NullPointerException and I really can’t manage to figure out what the …