diff --git a/backmeup-indexing-plugin/src/main/java/org/backmeup/plugin/api/actions/indexing/TikaAnalyzer.java b/backmeup-indexing-plugin/src/main/java/org/backmeup/plugin/api/actions/indexing/TikaAnalyzer.java index 49ba618..e6a7aee 100644 --- a/backmeup-indexing-plugin/src/main/java/org/backmeup/plugin/api/actions/indexing/TikaAnalyzer.java +++ b/backmeup-indexing-plugin/src/main/java/org/backmeup/plugin/api/actions/indexing/TikaAnalyzer.java @@ -75,6 +75,9 @@ public String extractFullText(DataObject dob) { this.log.debug("Error calling tika server on fulltext for " + dob.getPath() + " :" + e.toString()); } //Tika returns empty String for certain types as Images + if (fulltext == null) { + return null; + } if (fulltext.equals("")) { fulltext = null; }