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

Karl Wright commented on CONNECTORS-1127:
-----------------------------------------

Looks like the new version of boilerpipe that Tika 1.6 pulls in is completely 
incompatible with older versions of boilerpipe.  None of the extractors can be 
directly instantiated.  They can only be referenced as static member variables.


> Class 
> org.apache.manifoldcf.agents.transformation.tika.TikaExtractor$SpecPacker can 
> not access a member of class 
> de.l3s.boilerpipe.extractors.KeepEverythingExtractor with modifiers "private"
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CONNECTORS-1127
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-1127
>             Project: ManifoldCF
>          Issue Type: Bug
>          Components: Tika extractor
>    Affects Versions: ManifoldCF 1.8
>            Reporter: Kamil Żyta
>
> - Exception tossed: Boilerpipe extractor class 
> 'de.l3s.boilerpipe.extractors.KeepEverythingExtractor' exception on 
> instantiation: Class 
> org.apache.manifoldcf.agents.transformation.tika.TikaExtractor$SpecPacker can 
> not access a member of class 
> de.l3s.boilerpipe.extractors.KeepEverythingExtractor with modifiers "private"
> org.apache.manifoldcf.core.interfaces.ManifoldCFException: Boilerpipe 
> extractor class 'de.l3s.boilerpipe.extractors.KeepEverythingExtractor' 
> exception on instantiation: Class 
> org.apache.manifoldcf.agents.transformation.tika.TikaExtractor$SpecPacker can 
> not access a member of class 
> de.l3s.boilerpipe.extractors.KeepEverythingExtractor with modifiers "private"
>         at 
> org.apache.manifoldcf.agents.transformation.tika.TikaExtractor$SpecPacker.getExtractorClassInstance(TikaExtractor.java:905)
>         at 
> org.apache.manifoldcf.agents.transformation.tika.TikaExtractor.addOrReplaceDocumentWithException(TikaExtractor.java:170)
>         at 
> org.apache.manifoldcf.agents.incrementalingest.IncrementalIngester$PipelineAddEntryPoint.addOrReplaceDocumentWithException(IncrementalIngester.java:3266)
>         at 
> org.apache.manifoldcf.agents.incrementalingest.IncrementalIngester$PipelineAddFanout.sendDocument(IncrementalIngester.java:3117)
>         at 
> org.apache.manifoldcf.agents.incrementalingest.IncrementalIngester$PipelineObjectWithVersions.addOrReplaceDocumentWithException(IncrementalIngester.java:2748)
>         at 
> org.apache.manifoldcf.agents.incrementalingest.IncrementalIngester.documentIngest(IncrementalIngester.java:792)
>         at 
> org.apache.manifoldcf.crawler.system.WorkerThread$ProcessActivity.ingestDocumentWithException(WorkerThread.java:1610)
>         at 
> org.apache.manifoldcf.crawler.system.WorkerThread$ProcessActivity.ingestDocumentWithException(WorkerThread.java:1558)
>         at 
> org.apache.manifoldcf.crawler.connectors.sharedrive.SharedDriveConnector.processDocuments(SharedDriveConnector.java:911)
>         at 
> org.apache.manifoldcf.crawler.system.WorkerThread.run(WorkerThread.java:383)
> Caused by: java.lang.IllegalAccessException: Class 
> org.apache.manifoldcf.agents.transformation.tika.TikaExtractor$SpecPacker can 
> not access a member of class 
> de.l3s.boilerpipe.extractors.KeepEverythingExtractor with modifiers "private"
>         at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:101)
>         at java.lang.Class.newInstance(Class.java:432)
>         at 
> org.apache.manifoldcf.agents.transformation.tika.TikaExtractor$SpecPacker.getExtractorClassInstance(TikaExtractor.java:899)
>         ... 9 more
> When selecting 'Boilerplate extractor:        Extract everything'



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

Reply via email to