tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "frank (JIRA)" <j...@apache.org>
Subject [jira] [Created] (TIKA-1829) org.apache.tika.parser.ocr.TesseractOCRParser.getSupportedTypes(TesseractOCRParser.java:92) NPE
Date Mon, 11 Jan 2016 04:48:39 GMT
frank created TIKA-1829:
---------------------------

             Summary: org.apache.tika.parser.ocr.TesseractOCRParser.getSupportedTypes(TesseractOCRParser.java:92)
NPE 
                 Key: TIKA-1829
                 URL: https://issues.apache.org/jira/browse/TIKA-1829
             Project: Tika
          Issue Type: Bug
          Components: parser
    Affects Versions: 1.11
         Environment: OSX 10.11
            Reporter: frank
            Priority: Critical


Just need to add a check on parameter of <code>context</code>.

2016-01-11 12:36:52.328 [http-nio-8080-exec-9] WARN  o.a.j.core.query.lucene.NodeIndexer -
Exception while indexing binary property
java.lang.NullPointerException: null
	at org.apache.tika.parser.ocr.TesseractOCRParser.getSupportedTypes(TesseractOCRParser.java:92)
~[tika-parsers-1.11.jar:1.11]
	at org.apache.tika.parser.CompositeParser.getParsers(CompositeParser.java:95) ~[tika-core-1.11.jar:1.11]
	at org.apache.tika.parser.DefaultParser.getParsers(DefaultParser.java:87) ~[tika-core-1.11.jar:1.11]
	at org.apache.tika.parser.CompositeParser.getSupportedTypes(CompositeParser.java:253) ~[tika-core-1.11.jar:1.11]
	at org.apache.tika.parser.CompositeParser.getParsers(CompositeParser.java:95) ~[tika-core-1.11.jar:1.11]
	at org.apache.tika.parser.CompositeParser.getSupportedTypes(CompositeParser.java:253) ~[tika-core-1.11.jar:1.11]
	at org.apache.tika.parser.CompositeParser.getParsers(CompositeParser.java:95) ~[tika-core-1.11.jar:1.11]
	at org.apache.tika.parser.CompositeParser.getSupportedTypes(CompositeParser.java:253) ~[tika-core-1.11.jar:1.11]
	at org.apache.jackrabbit.core.query.lucene.NodeIndexer.isSupportedMediaType(NodeIndexer.java:934)
[jackrabbit-core-2.8.0.jar:2.8.0]
	at org.apache.jackrabbit.core.query.lucene.NodeIndexer.addBinaryValue(NodeIndexer.java:448)
[jackrabbit-core-2.8.0.jar:2.8.0]
	at org.apache.jackrabbit.core.query.lucene.NodeIndexer.addValue(NodeIndexer.java:338) [jackrabbit-core-2.8.0.jar:2.8.0]
	at org.apache.jackrabbit.core.query.lucene.NodeIndexer.createDoc(NodeIndexer.java:270) [jackrabbit-core-2.8.0.jar:2.8.0]
	at org.apache.jackrabbit.core.query.lucene.SearchIndex.createDocument(SearchIndex.java:1246)
[jackrabbit-core-2.8.0.jar:2.8.0]
	at org.apache.jackrabbit.core.query.lucene.SearchIndex.mergeAggregatedNodeIndexes(SearchIndex.java:1539)
[jackrabbit-core-2.8.0.jar:2.8.0]
	at org.apache.jackrabbit.core.query.lucene.SearchIndex.createDocument(SearchIndex.java:1247)
[jackrabbit-core-2.8.0.jar:2.8.0]
	at org.apache.jackrabbit.core.query.lucene.SearchIndex.updateNodes(SearchIndex.java:667)
[jackrabbit-core-2.8.0.jar:2.8.0]
	at org.apache.jackrabbit.core.SearchManager.onEvent(SearchManager.java:408) [jackrabbit-core-2.8.0.jar:2.8.0]
	at org.apache.jackrabbit.core.observation.EventConsumer.consumeEvents(EventConsumer.java:249)
[jackrabbit-core-2.8.0.jar:2.8.0]
	at org.apache.jackrabbit.core.observation.ObservationDispatcher.dispatchEvents(ObservationDispatcher.java:225)
[jackrabbit-core-2.8.0.jar:2.8.0]
	at org.apache.jackrabbit.core.observation.EventStateCollection.dispatch(EventStateCollection.java:475)
[jackrabbit-core-2.8.0.jar:2.8.0]
	at org.apache.jackrabbit.core.state.SharedItemStateManager$Update.end(SharedItemStateManager.java:856)
[jackrabbit-core-2.8.0.jar:2.8.0]
	at org.apache.jackrabbit.core.state.SharedItemStateManager.update(SharedItemStateManager.java:1537)
[jackrabbit-core-2.8.0.jar:2.8.0]
	at org.apache.jackrabbit.core.state.LocalItemStateManager.update(LocalItemStateManager.java:400)
[jackrabbit-core-2.8.0.jar:2.8.0]
	at org.apache.jackrabbit.core.state.XAItemStateManager.update(XAItemStateManager.java:354)
[jackrabbit-core-2.8.0.jar:2.8.0]
	at org.apache.jackrabbit.core.state.LocalItemStateManager.update(LocalItemStateManager.java:375)
[jackrabbit-core-2.8.0.jar:2.8.0]
	at org.apache.jackrabbit.core.version.VersionManagerImplBase$WriteOperation.save(VersionManagerImplBase.java:470)
[jackrabbit-core-2.8.0.jar:2.8.0]
	at org.apache.jackrabbit.core.version.VersionManagerImplBase.checkoutCheckin(VersionManagerImplBase.java:215)
[jackrabbit-core-2.8.0.jar:2.8.0]
	at org.apache.jackrabbit.core.VersionManagerImpl.access$400(VersionManagerImpl.java:73) [jackrabbit-core-2.8.0.jar:2.8.0]
	at org.apache.jackrabbit.core.VersionManagerImpl$3.perform(VersionManagerImpl.java:161) [jackrabbit-core-2.8.0.jar:2.8.0]
	at org.apache.jackrabbit.core.VersionManagerImpl$3.perform(VersionManagerImpl.java:154) [jackrabbit-core-2.8.0.jar:2.8.0]
	at org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:216) [jackrabbit-core-2.8.0.jar:2.8.0]
	at org.apache.jackrabbit.core.VersionManagerImpl.perform(VersionManagerImpl.java:96) [jackrabbit-core-2.8.0.jar:2.8.0]
	at org.apache.jackrabbit.core.VersionManagerImpl.checkpoint(VersionManagerImpl.java:154)
[jackrabbit-core-2.8.0.jar:2.8.0]



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

Mime
View raw message