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 12:29:12 UTC
[jira] [Created] (OAK-2297) Update for absent document may throw
NPE
Marcel Reutegger created OAK-2297:
-------------------------------------
Summary: 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.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)