Hi, I'm trying to execute a method in a different class called loadCriteria();. Whenever I try to execute that method, it returns a NullPointerException. I'm not sure why and I've used a foreach loop before.
Sorry for it being so long. The NullPointerException occurs at "p.loadCriteria();". The player instance is being called correctly, so I'm not sure why it's nulling. Help is appreciated. Thanks.