Jackson JSONParser Exception

I am trying to parse a JSON feed file using JSONParser. if an exception is happening during jsonParser.readValueAs then I am going to catch block. However, the next code line of nextToken is giving me java.io.IOException: Attempted read on closed stream. Please advise how can I skip failed one and continue with other tokens.

 try {
       T t = (T) jsonParser.readValueAs((Class<T>) type);
        } catch (Exception ex) {
          logger.error(ex.getMessage(),ex);
        }
        jsonParser.nextToken();
        return t;