[ 
https://issues.apache.org/jira/browse/TIKA-1708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14697389#comment-14697389
 ] 

Justin Palmer commented on TIKA-1708:
-------------------------------------

Attached test case fails...
Running org.apache.tika.detect.ConfiguredDetectorTest
Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.434 sec <<< 
FAILURE! - in org.apache.tika.detect.ConfiguredDetectorTest
testLoadedCompositeConfig(org.apache.tika.detect.ConfiguredDetectorTest)  Time 
elapsed: 0.029 sec  <<< FAILURE!
java.lang.AssertionError: null
        at org.junit.Assert.fail(Assert.java:86)
        at org.junit.Assert.assertTrue(Assert.java:41)
        at org.junit.Assert.assertTrue(Assert.java:52)
        at 
org.apache.tika.detect.ConfiguredDetectorTest.parseDocument(ConfiguredDetectorTest.java:55)
        at 
org.apache.tika.detect.ConfiguredDetectorTest.testLoadedCompositeConfig(ConfiguredDetectorTest.java:77)



> Detectors loaded from configuration files into CompositeDetector fail
> ---------------------------------------------------------------------
>
>                 Key: TIKA-1708
>                 URL: https://issues.apache.org/jira/browse/TIKA-1708
>             Project: Tika
>          Issue Type: Bug
>          Components: config, detector
>    Affects Versions: 1.10
>            Reporter: Justin Palmer
>         Attachments: TIKA-1708.zip
>
>
> Loading individual Detectors from a configuration file, e.g.
>   <detector class="org.apache.tika.parser.microsoft.POIFSContainerDetector"/>
>   <detector class="org.apache.tika.mime.MimeTypes"/>
> will cause them to be added to a CompositeDetector which does not detect, 
> e.g. PST files.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to