Skip to content

Commit

Permalink
TIKA-1894 -- fix potential NPE in XMPMM extraction
Browse files Browse the repository at this point in the history
  • Loading branch information
tballison committed Apr 27, 2016
1 parent 7a543c8 commit 92a4835
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,9 @@ protected static String joinCreators(List<String> creators) {
* @param metadata
*/
public static void extractXMPMM(XMPMetadata xmp, Metadata metadata) {
if (xmp == null) {
return;
}
XMPSchemaMediaManagement mmSchema = null;
try {
mmSchema = xmp.getMediaManagementSchema();
Expand Down

0 comments on commit 92a4835

Please sign in to comment.