Lucene highlighter returns null fragments always

Hey folks,
I was trying to implement highlighter in my search results on my search engine. I was able to create the index and successfully search the index but i was not able to implement highlighting chunks in the search result. Im using lucene version 2.92 and highlighter package version 2.92.
The code below returns null fragments always..not able to figure out y