#1412 Nullpointer Exception in console