Skip to content

Commit

Permalink
sepinf-inc#2286: NPE in UFEDChatParser
Browse files Browse the repository at this point in the history
  • Loading branch information
aberenguel committed Aug 16, 2024
1 parent c8ea9dd commit 5c815f9
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,9 @@ public void parse(InputStream inputStream, ContentHandler handler, Metadata meta
bytes = nextBytes;

if (extractMessages) {
extractMessages(itemMgs, subList, virtualId, handler, extractor);
if (itemMgs != null) {
extractMessages(itemMgs, subList, virtualId, handler, extractor);
}
}
}
}
Expand Down

0 comments on commit 5c815f9

Please sign in to comment.