Fix NPE in POS Terminal