-
Type: Bug
-
Status: Open
-
Priority: Minor
-
Resolution: Unresolved
-
Affects Version/s: 10.2
-
Fix Version/s: QualifiedToSchedule
-
Tags:
-
Backlog priority:750
-
Story Points:2
The watermark mime-type detection is based on java.nio.file.Files#probeContentType this method simply don't work on Mac.
The unit test TestDocumentImportChronicle fails because of this:
01:34:08,856 [Nuxeo-Consumer-01-0-text-000.txt] ERROR [AbstractCallablePool] Exception catch in runner: null java.lang.NullPointerException at org.nuxeo.importer.stream.consumer.BlobWatermarkMessageConsumer.getBlob(BlobWatermarkMessageConsumer.java:76) at org.nuxeo.importer.stream.consumer.BlobMessageConsumer.accept(BlobMessageConsumer.java:72)