Skip to content

Commit

Permalink
#1509 catch xlf parser exception
Browse files Browse the repository at this point in the history
java.lang.ArrayIndexOutOfBoundsException: Index -1266568392 out of bounds for length -2073969448
at org.apache.xerces.impl.dtd.XMLDTDValidator.reset(Unknown Source)
  • Loading branch information
Haehnchen committed May 4, 2022
1 parent 09394b2 commit 6a67c4b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ private static void visitXliffTranslations(@NotNull InputStream content, @NotNul
try {
DocumentBuilder documentBuilder = DocumentBuilderFactory.newInstance().newDocumentBuilder();
document = documentBuilder.parse(content);
} catch (ParserConfigurationException | SAXException | IOException e) {
} catch (ParserConfigurationException | SAXException | ArrayIndexOutOfBoundsException | IOException e) {
return;
}

Expand Down

0 comments on commit 6a67c4b

Please sign in to comment.