Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id CD4AA200BD4 for ; Thu, 1 Dec 2016 12:34:59 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id CC047160B29; Thu, 1 Dec 2016 11:34:59 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 4B871160B0B for ; Thu, 1 Dec 2016 12:34:59 +0100 (CET) Received: (qmail 2940 invoked by uid 500); 1 Dec 2016 11:34:58 -0000 Mailing-List: contact oak-issues-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: oak-dev@jackrabbit.apache.org Delivered-To: mailing list oak-issues@jackrabbit.apache.org Received: (qmail 2921 invoked by uid 99); 1 Dec 2016 11:34:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Dec 2016 11:34:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 5A97D2C0086 for ; Thu, 1 Dec 2016 11:34:58 +0000 (UTC) Date: Thu, 1 Dec 2016 11:34:58 +0000 (UTC) From: =?utf-8?Q?Tomek_R=C4=99kawek_=28JIRA=29?= To: oak-issues@jackrabbit.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (OAK-5193) VersionHistory#remove() throws NPE for complex version histories MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 01 Dec 2016 11:35:00 -0000 [ https://issues.apache.org/jira/browse/OAK-5193?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:all-tabpanel ] Tomek R=C4=99kawek updated OAK-5193: ------------------------------- Affects Version/s: 1.2.20 1.0.35 > VersionHistory#remove() throws NPE for complex version histories > ---------------------------------------------------------------- > > Key: OAK-5193 > URL: https://issues.apache.org/jira/browse/OAK-5193 > Project: Jackrabbit Oak > Issue Type: Bug > Components: jcr > Affects Versions: 1.2.20, 1.0.35, 1.4.10, 1.5.14 > Reporter: Tomek R=C4=99kawek > Assignee: Tomek R=C4=99kawek > > For a complex version history (in which a version has been restored and n= ew branch versions have been created), the VersionHistory#remove() may thro= w an NPE. Attaching patch containing two test cases. -- This message was sent by Atlassian JIRA (v6.3.4#6332)