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 "Marcel Reutegger (JIRA)" <ji...@apache.org> on 2014/11/26 14:36:12 UTC

[jira] [Updated] (OAK-2297) Update for absent document may throw NPE

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

Marcel Reutegger updated OAK-2297:
----------------------------------
    Fix Version/s: 1.0.9

Merged into 1.0 branch: http://svn.apache.org/r1641815

> Update for absent document may throw NPE
> ----------------------------------------
>
>                 Key: OAK-2297
>                 URL: https://issues.apache.org/jira/browse/OAK-2297
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core, mongomk
>    Affects Versions: 1.0
>            Reporter: Marcel Reutegger
>            Assignee: Marcel Reutegger
>            Priority: Minor
>             Fix For: 1.0.9, 1.1.3
>
>
> An update for an absent document will throw a NPE on MongoDocumentStore:
> {noformat}
> java.lang.NullPointerException
> 	at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:192)
> 	at org.apache.jackrabbit.oak.plugins.document.util.StringValue.<init>(StringValue.java:35)
> 	at org.apache.jackrabbit.oak.plugins.document.mongo.MongoDocumentStore.addToCache(MongoDocumentStore.java:1031)
> 	at org.apache.jackrabbit.oak.plugins.document.mongo.MongoDocumentStore.applyToCache(MongoDocumentStore.java:986)
> 	at org.apache.jackrabbit.oak.plugins.document.mongo.MongoDocumentStore.update(MongoDocumentStore.java:765)
> {noformat} 



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