findMatchingSentences - Index Searcher

while checking rule against the corpus, findMatchingSentences throws null pointer at
doc.get(FIELD_NAME). with no case_sensitive tag for the token.
Can anyone suggest solution for this?