Manage NullPointerException in WeatherScraper