Catched NullPointerException building beacon with no location