tokens: Perhaps you need to do a request.getSession() instead of request.getSession(false) , or you need to check if a session attribute is not null before accessing it , etcetera .
ner_tags: O O O O O O B-Function O O B-Function O O O O O O O O O O O O B-Value O O O O O O