diff --git a/KeywordSearch/src/org/sleuthkit/autopsy/keywordsearch/RegexQuery.java b/KeywordSearch/src/org/sleuthkit/autopsy/keywordsearch/RegexQuery.java index b8237a47b1535dc2bea0bac1f3a96d3dddb29eea..45205b0ca725f548849e3a565656307c17c2f712 100644 --- a/KeywordSearch/src/org/sleuthkit/autopsy/keywordsearch/RegexQuery.java +++ b/KeywordSearch/src/org/sleuthkit/autopsy/keywordsearch/RegexQuery.java @@ -319,11 +319,11 @@ private List<KeywordHit> createKeywordHits(SolrDocument solrDoc) throws TskCoreE } catch (TskCoreException ex) { throw ex; } catch (Throwable error) { - /* NOTE: Matcher.find() is known to throw StackOverflowError in rare cases (see story 2700). + /* NOTE: Matcher.find() is known to throw StackOverflowError in rare cases (see JIRA-2700). StackOverflowError is an error, not an exception, and therefore needs to be caught as a Throwable. When this occurs we should re-throw the error as TskCoreException so that it is logged by the calling method and move on to the next Solr document. */ - throw new TskCoreException("Failed to create keyword hits for Solr documet id " + docId + " due to " + error.getMessage()); + throw new TskCoreException("Failed to create keyword hits for Solr document id " + docId + " due to " + error.getMessage()); } return hits; }