jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dürig (JIRA) <j...@apache.org>
Subject [jira] [Commented] (OAK-1288) NPE when running SmallFileReadTest on mongo
Date Tue, 17 Dec 2013 13:59:07 GMT

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

Michael Dürig commented on OAK-1288:
------------------------------------

In fact this seems to be the cause of the failure seen in my patch for OAK-1232.

> NPE when running SmallFileReadTest on mongo
> -------------------------------------------
>
>                 Key: OAK-1288
>                 URL: https://issues.apache.org/jira/browse/OAK-1288
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core, mongomk
>            Reporter: Tudor Rogoz
>            Assignee: Marcel Reutegger
>
> when running SmallFileReadTest on mongo
> {code}
> java -jar oak-run*.jar benchmark SmallFileReadTest Oak-Mongo
> {code}
> the test will end with
> {code}
> java.lang.NullPointerException: No node found at path [/SmallFileReadTest5b736e66/file0]
for revision [br142faa3fa1a-0-1]
> 	at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:236)
> 	at org.apache.jackrabbit.oak.kernel.KernelNodeState.init(KernelNodeState.java:172)
> 	at org.apache.jackrabbit.oak.kernel.KernelNodeState.getChildNode(KernelNodeState.java:317)
> 	at org.apache.jackrabbit.oak.plugins.memory.MemoryNodeBuilder.<init>(MemoryNodeBuilder.java:132)
> 	at org.apache.jackrabbit.oak.kernel.KernelNodeBuilder.<init>(KernelNodeBuilder.java:40)
> 	at org.apache.jackrabbit.oak.kernel.KernelNodeBuilder.createChildBuilder(KernelNodeBuilder.java:48)
> 	at org.apache.jackrabbit.oak.plugins.memory.MemoryNodeBuilder.getChildNode(MemoryNodeBuilder.java:314)
> 	at org.apache.jackrabbit.oak.core.SecureNodeBuilder.<init>(SecureNodeBuilder.java:117)
> 	at org.apache.jackrabbit.oak.core.SecureNodeBuilder.getChildNode(SecureNodeBuilder.java:334)
> 	at org.apache.jackrabbit.oak.core.MutableTree.<init>(MutableTree.java:73)
> 	at org.apache.jackrabbit.oak.core.MutableTree.createChild(MutableTree.java:83)
> 	at org.apache.jackrabbit.oak.core.MutableTree.getChild(MutableTree.java:169)
> 	at org.apache.jackrabbit.oak.util.TreeUtil.getTree(TreeUtil.java:169)
> 	at org.apache.jackrabbit.oak.jcr.delegate.NodeDelegate.getTree(NodeDelegate.java:859)
> 	at org.apache.jackrabbit.oak.jcr.delegate.NodeDelegate.getChild(NodeDelegate.java:330)
> 	at org.apache.jackrabbit.oak.jcr.session.NodeImpl$7.perform(NodeImpl.java:532)
> 	at org.apache.jackrabbit.oak.jcr.session.NodeImpl$7.perform(NodeImpl.java:529)
> 	at org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.perform(SessionDelegate.java:125)
> 	at org.apache.jackrabbit.oak.jcr.session.ItemImpl.perform(ItemImpl.java:111)
> 	at org.apache.jackrabbit.oak.jcr.session.NodeImpl.getNode(NodeImpl.java:529)
> 	at org.apache.jackrabbit.oak.benchmark.SmallFileReadTest.runTest(SmallFileReadTest.java:59)
> 	at org.apache.jackrabbit.oak.benchmark.AbstractTest.execute(AbstractTest.java:275)
> 	at org.apache.jackrabbit.oak.benchmark.SmallFileReadTest.execute(SmallFileReadTest.java:28)
> 	at org.apache.jackrabbit.oak.benchmark.AbstractTest.runTest(AbstractTest.java:157)
> 	at org.apache.jackrabbit.oak.benchmark.AbstractTest.run(AbstractTest.java:138)
> 	at org.apache.jackrabbit.oak.benchmark.SmallFileReadTest.run(SmallFileReadTest.java:28)
> 	at org.apache.jackrabbit.oak.benchmark.BenchmarkRunner.main(BenchmarkRunner.java:195)
> 	at org.apache.jackrabbit.oak.run.Main.main(Main.java:81)
> {code}



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Mime
View raw message