EPD-67 possible fix for weird nullpointer exception on getResource()