jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcel Reutegger (JIRA)" <j...@apache.org>
Subject [jira] Updated: (JCR-1646) NPE in OpenOfficeTextExtractor
Date Tue, 10 Jun 2008 13:26:45 GMT

     [ https://issues.apache.org/jira/browse/JCR-1646?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Marcel Reutegger updated JCR-1646:
----------------------------------

    Affects Version/s:     (was: core 1.4.4)
                       1.4

> NPE in OpenOfficeTextExtractor
> ------------------------------
>
>                 Key: JCR-1646
>                 URL: https://issues.apache.org/jira/browse/JCR-1646
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: jackrabbit-text-extractors
>    Affects Versions: 1.4
>         Environment: java version "1.6.0_03"
>            Reporter: Andrey Grebnev
>             Fix For: 1.5
>
>         Attachments: test_doc.odt
>
>
> I try to load some Open Office Writer document (see attachment) and receive such exception.

> 2008-06-10 17:19:59 <WARN > [btpool0-1] CompositeTextExtractor: Failed to extract
text content(92)
> java.lang.NullPointerException
>     at org.apache.jackrabbit.extractor.OpenOfficeTextExtractor.extractText(OpenOfficeTextExtractor.java:7
> 8)
>     at org.apache.jackrabbit.extractor.CompositeTextExtractor.extractText(CompositeTextExtractor.java:90)
>     at org.apache.jackrabbit.core.query.lucene.JackrabbitTextExtractor.extractText(JackrabbitTextExtracto
> r.java:195)
>     at org.apache.jackrabbit.core.query.lucene.NodeIndexer.addBinaryValue(NodeIndexer.java:393)
>     at org.apache.jackrabbit.core.query.lucene.NodeIndexer.addValue(NodeIndexer.java:282)
>     at org.apache.jackrabbit.core.query.lucene.NodeIndexer.createDoc(NodeIndexer.java:221)
>     at org.apache.jackrabbit.core.query.lucene.SearchIndex.createDocument(SearchIndex.java:892)
>     at org.apache.jackrabbit.core.query.lucene.SearchIndex$2.next(SearchIndex.java:543)
>     at org.apache.jackrabbit.core.query.lucene.MultiIndex.update(MultiIndex.java:428)
>     at org.apache.jackrabbit.core.query.lucene.SearchIndex.updateNodes(SearchIndex.java:527)
>     at org.apache.jackrabbit.core.SearchManager.onEvent(SearchManager.java:504)
>     at org.apache.jackrabbit.core.observation.EventConsumer.consumeEvents(EventConsumer.java:231)
>     at org.apache.jackrabbit.core.observation.ObservationDispatcher.dispatchEvents(ObservationDispatcher.
> java:201)
>     at org.apache.jackrabbit.core.observation.EventStateCollection.dispatch(EventStateCollection.java:425
> )
>     at org.apache.jackrabbit.core.state.SharedItemStateManager$Update.end(SharedItemStateManager.java:737
> )
>     at org.apache.jackrabbit.core.state.SharedItemStateManager.update(SharedItemStateManager.java:873)
>     at org.apache.jackrabbit.core.state.LocalItemStateManager.update(LocalItemStateManager.java:334)
>     at org.apache.jackrabbit.core.state.XAItemStateManager.update(XAItemStateManager.java:337)
>     at org.apache.jackrabbit.core.state.LocalItemStateManager.update(LocalItemStateManager.java:310)
>     at org.apache.jackrabbit.core.state.SessionItemStateManager.update(SessionItemStateManager.java:317)
>     at org.apache.jackrabbit.core.ItemImpl.save(ItemImpl.java:1247)
>     at org.apache.jackrabbit.core.SessionImpl.save(SessionImpl.java:897)
>     at org.apache.jackrabbit.jca.JCASessionHandle.save(JCASessionHandle.java:178)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message