#2 NullPointerException in HttpGetRequest directive expanding