Error: null exception in pathpanel line 22