JBIDE-16093 - NPEs when compiling wildfly codebase