Now nullpointer is fixed.