PB null pointer exeption