You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Vikas Saurabh (JIRA)" <ji...@apache.org> on 2018/05/28 11:00:00 UTC

[jira] [Comment Edited] (OAK-7508) Text extraction timeout can lead to NPE

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

Vikas Saurabh edited comment on OAK-7508 at 5/28/18 10:59 AM:
--------------------------------------------------------------

Fixed in trunk at [r1832376|https://svn.apache.org/r1832376].

Also fixed in oak-search module at [r1832377|https://svn.apache.org/r1832377].
[~tmueller], [~teofili], I guess it's ok that we keep pushing in incremental like these to keep oak-search relatively up to date. But, I think we'd most likely miss out duplicating all of the issues.
So, the other approach could be that we could do things in batches (imo that's more troubling as all changes might not be easy to copy and one person should not be burdened with merging a lot of changes).
Wdyt? My pref is to try to keep up as much as possible and do a batch clean up every now and then (or maybe even at the end).


was (Author: catholicon):
Fixed in trunk at [r1832376|https://svn.apache.org/r1832376].

Also fixed in oak-search module at [r1832377|https://svn.apache.org/r1832377].

> Text extraction timeout can lead to NPE
> ---------------------------------------
>
>                 Key: OAK-7508
>                 URL: https://issues.apache.org/jira/browse/OAK-7508
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: indexing, query
>            Reporter: Thomas Mueller
>            Assignee: Vikas Saurabh
>            Priority: Major
>              Labels: candidate_oak_1_8
>             Fix For: 1.10, 1.9.3
>
>
> A text extraction timeout can lead to the following NullPointerException:
> {noformat}
> java.lang.NullPointerException: null
>          at java.util.concurrent.ConcurrentHashMap.putVal(ConcurrentHashMap.java:1011)
>          at java.util.concurrent.ConcurrentHashMap.put(ConcurrentHashMap.java:1006)
>          at org.apache.jackrabbit.oak.plugins.index.lucene.ExtractedTextCache.putTimeout(ExtractedTextCache.java:161)
>          at org.apache.jackrabbit.oak.plugins.index.lucene.binary.BinaryTextExtractor.parseStringValue0(BinaryTextExtractor.java:174)
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)