Why there is an exception in lines 26,27,28 java.lang.NullPointerException