jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tomek Rękawek (JIRA) <j...@apache.org>
Subject [jira] [Comment Edited] (OAK-6486) NPE in CompositeNodeStore
Date Tue, 25 Jul 2017 20:56:00 GMT

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

Tomek Rękawek edited comment on OAK-6486 at 7/25/17 8:55 PM:
-------------------------------------------------------------

Introduced a number of improvements in [r1803002|https://svn.apache.org/r1803002]:

- implemented MountedNodeStore#toString()
- treat the NodeState returned from the commit hook as a composite one in the CommitHookEnhancer
- return the root node state as a partial state in the merge() method for read-only stores
- run the commit hooks and rebase the partial builders even if there are no changes on the
global builder



was (Author: tomek.rekawek):
Introduced a number of improvements in [r1803002|https://svn.apache.org/r1803002]:

- implemented MountedNodeStore#toString()
- treat the NodeState returned from the commit hook as a composite one in the CommitHookEnhancer
- throw an exception if the commit hooks were not invoked by the global store
- return the root node state as a partial state in the merge() method for read-only stores
- run the commit hooks and rebase the partial builders even if there are no changes on the
global builder


> NPE in CompositeNodeStore
> -------------------------
>
>                 Key: OAK-6486
>                 URL: https://issues.apache.org/jira/browse/OAK-6486
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: composite
>    Affects Versions: 1.7.4
>            Reporter: Tomek Rękawek
>            Assignee: Tomek Rękawek
>             Fix For: 1.8
>
>
> Following NPE can be found in logs when running the Composite Node Store:
> {noformat}
> 24.07.2017 20:53:47.297 *ERROR* [oak-lucene-0] org.apache.jackrabbit.oak.plugins.index.lucene.LuceneIndexProvider
Uncaught exception in org.apache.jackrabbit.oak.plugins.index.lucene.LuceneIndexProvider@6580fe4c
> java.lang.NullPointerException: null
>         at org.apache.jackrabbit.oak.segment.SegmentNodeState.compareAgainstBaseState(SegmentNodeState.java:471)
>         at org.apache.jackrabbit.oak.composite.CompositeNodeState.compareAgainstBaseState(CompositeNodeState.java:187)
>         at org.apache.jackrabbit.oak.spi.commit.EditorDiff.process(EditorDiff.java:52)
>         at org.apache.jackrabbit.oak.plugins.index.lucene.IndexTracker.diffAndUpdate(IndexTracker.java:142)
>         at org.apache.jackrabbit.oak.plugins.index.lucene.IndexTracker.update(IndexTracker.java:113)
>         at org.apache.jackrabbit.oak.plugins.index.lucene.LuceneIndexProvider.contentChanged(LuceneIndexProvider.java:75)
>         at org.apache.jackrabbit.oak.spi.commit.BackgroundObserver$1$1.call(BackgroundObserver.java:128)
>         at org.apache.jackrabbit.oak.spi.commit.BackgroundObserver$1$1.call(BackgroundObserver.java:122)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>         at java.lang.Thread.run(Thread.java:748)
> {noformat}
> Probably it's related to changes introduced in OAK-6425.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message