You know fromVal will not be null since fromVal is already checked not to be null at line 40? 

Also this logic is not right...