fix AbstractResultQuery.fetchOneMap() NPE bug