from your posted code I was not able to see what is the statment in MCMBSimplyForFun.java:180 line.
Basically, the getJdbcTemplate.queryForInt doesn't throw NullPointerException.
Are you sure that getJdbcTemplate is not null it self, you can check it, if not then give a try to execute a very simple query which is 100% should run (e.g. without any paramter)
subject: Facing nullpointer exception in Spring JDBC Query.