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 F123A200CDF for ; Thu, 17 Aug 2017 20:05:11 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id EF79616B69D; Thu, 17 Aug 2017 18:05:11 +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 1AF4316B69C for ; Thu, 17 Aug 2017 20:05:10 +0200 (CEST) Received: (qmail 4750 invoked by uid 500); 17 Aug 2017 18:05:10 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 4724 invoked by uid 99); 17 Aug 2017 18:05:06 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Aug 2017 18:05:06 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 7A900C2BC4 for ; Thu, 17 Aug 2017 18:05:06 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.09 X-Spam-Level: ** X-Spam-Status: No, score=2.09 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, HTML_MESSAGE=2, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, T_DKIM_INVALID=0.01] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=fail (1024-bit key) reason="fail (body has been altered)" header.d=persistentsystems.onmicrosoft.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id hUI4PX0IJcxx for ; Thu, 17 Aug 2017 18:05:04 +0000 (UTC) Received: from esa1.hc19988.iphmx.com (esa1.hc19988.iphmx.com [68.232.153.28]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id DBCD55FB51 for ; Thu, 17 Aug 2017 18:05:01 +0000 (UTC) X-Persistent_Disclaimer: true X-Accelerite_Disclaimer: true X-IronPort-AV: E=Sophos;i="5.41,389,1498501800"; d="scan'208,217";a="2174672" Received: from mail-bo1ind01lp0178.outbound.protection.outlook.com (HELO IND01-BO1-obe.outbound.protection.outlook.com) ([23.103.140.178]) by ob1.hc19988.iphmx.com with ESMTP/TLS/AES256-SHA256; 17 Aug 2017 23:34:54 +0530 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=persistentsystems.onmicrosoft.com; s=selector1-Persistent-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=W1YZonb5u+0NzZSaOaPQ1nWM37mmmkdj8JSY633aX3g=; b=J74UcgS/TOAB/p/ZEPkL8rVr04kfd6PokKARt23Nf7XiPLBmKvDCNyuPl0rjs1lExU+GNmcCg3juq8ZUUsq16BYITIKsHFnH2DgWgM4zNgAmFtC6+OGjPIRISzVW34ZayMUFYEZDm7UAGeLnfX47w6AZh+KvH/YN8aWk6Qv6EpI= Received: from PN1PR01MB0846.INDPRD01.PROD.OUTLOOK.COM (10.174.146.144) by PN1PR01MB0992.INDPRD01.PROD.OUTLOOK.COM (10.174.147.148) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.1341.21; Thu, 17 Aug 2017 18:04:50 +0000 Received: from PN1PR01MB0846.INDPRD01.PROD.OUTLOOK.COM ([10.174.146.144]) by PN1PR01MB0846.INDPRD01.PROD.OUTLOOK.COM ([10.174.146.144]) with mapi id 15.01.1362.019; Thu, 17 Aug 2017 18:04:50 +0000 From: Michael Harrison To: "users@jackrabbit.apache.org" Subject: How to avoid Exception:Aborting getChildNodes() - DocumentNodeState is null Thread-Topic: How to avoid Exception:Aborting getChildNodes() - DocumentNodeState is null Thread-Index: AQHTF38yIE7qk6GmpU2wfACeC/8Stg== Date: Thu, 17 Aug 2017 18:04:50 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=michael_harrison@persistent.com; x-originating-ip: [72.5.224.23] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;PN1PR01MB0992;6:nh7RMYwnN4bfcEl0SVzzZqQdlljaFcFwx3uZ5wg5IKwTGBNnwkfQFg4wnjeeS6+YFpKPgdaYcepzLqT9nQdmney+uYe5ZZ2Z7tkXtSR4lwiUOMj3owDEGRKGw3hzT9PhoTPH0IdhzG0xyq8NsFQacrxdVsaUzYQoohWi9xfjxM0Dg6ofodA3dxinN/+kx23KakTKmF7uCbX+oYpwx78V9XOLzSeKu8RITON06/vW/yNgYqd6a2GOcd58dItIfW1UNsX+KCgt5HmdfU5Z4UrtxL9mHGZn4Em9nRSWy2H8EaQHE76Gy3D5Fj7pXwivgeL/wgFft2PcdhVgfbWBfktv3g==;5:ATVKgvaiHCkVwx0FcWGFHjKl7ZVv/EAT6cehsCOEBKMctTIGLgO3dEE9O7f0FevE77nzfKy6EpDEkC6KLqHOgFW6ZxOJZTf2NsDfsIYykN92sSj490a+LNid51ObBPuiTONbOvtml2ULZXDdQTC6oTwm9mKntWFYw8ifZAIY45g=;24:lfaFeqyNJ/8/s+DkogQ40MTu2Ymf6WzE8by+BGScFrkzh3Dg5EO0Vv1rEMXpPlr8QyIXbrDf0P7qwLLk7lJvGoHwHqGN/QXPl/wHG+1jtVc=;7:EBc53utdsGuS5eHCe2VgGzsaqzAidPzbZ+fgnRz2q2YYOiLvw/c3odR+QN5tHMfw+OD51beyxZzGMLfEXPzpW3bjBl3hGZqzAhEs85Ctla15YPdU1MDeCRFRdy0uGfTgJCd1fftR40rR+GP64HWXyw2R7ZVMLn3EC7Q4bAEh/+eoig88TdsOCpkbJdQKyg1x4eNlnrPdHetqwLuB6wG0VHRJgOTD2Q8Y3tioZHdgs3Q= x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ms-office365-filtering-correlation-id: e67c582d-01f6-46da-7bdd-08d4e59a7446 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254152)(48565401081)(300000503095)(300135400095)(2017052603031)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095);SRVR:PN1PR01MB0992; x-ms-traffictypediagnostic: PN1PR01MB0992: x-exchange-antispam-report-test: UriScan:(20558992708506); x-microsoft-antispam-prvs: x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(8121501046)(5005006)(3002001)(93006095)(93001095)(100000703101)(100105400095)(10201501046)(6055026)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123555025)(20161123564025)(20161123562025)(20161123560025)(20161123558100)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:PN1PR01MB0992;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:PN1PR01MB0992; x-forefront-prvs: 0402872DA1 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(6009001)(39860400002)(189002)(199003)(1730700003)(478600001)(5660300001)(7696004)(106356001)(25786009)(105586002)(2501003)(74316002)(6506006)(8936002)(8676002)(53936002)(81166006)(86362001)(81156014)(7736002)(77096006)(6436002)(110136004)(2906002)(3280700002)(3660700001)(55016002)(14454004)(101416001)(68736007)(97736004)(50986999)(6916009)(9686003)(19627405001)(54356999)(33656002)(6606003)(5640700003)(3846002)(2351001)(6116002)(102836003)(54896002)(189998001)(2900100001)(66066001)(21314002);DIR:OUT;SFP:1101;SCL:1;SRVR:PN1PR01MB0992;H:PN1PR01MB0846.INDPRD01.PROD.OUTLOOK.COM;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: multipart/alternative; boundary="_000_PN1PR01MB0846229524A455C1526890369A830PN1PR01MB0846INDP_" MIME-Version: 1.0 X-OriginatorOrg: Persistent.com X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Aug 2017 18:04:50.0051 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 1f4beacd-b7aa-49b2-aaa1-b8525cb257e0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: PN1PR01MB0992 archived-at: Thu, 17 Aug 2017 18:05:12 -0000 --_000_PN1PR01MB0846229524A455C1526890369A830PN1PR01MB0846INDP_ Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable We are using Oak 1.6.1 with an repository that is supported by a MongoDB ba= ck end. We are doing a bulk upload of assets from an FTP site and creating = versioned assets in the repository, where the asset nodes have the followin= g structure: // Node "assetName", jcr:primaryType=3Dnt:file, jcr:mixinTypes=3Dmix:xxx = assetNode // Properties: jcr:mimeType - the MIME type // mix:size - the size of the asset file, in bytes // mix:metadataNames - the metadata names as a delimited stri= ng // mix:metadataValues - the metadata values as a delimited st= ring // Node "content", jcr:primaryType=3Dnt:resource = contentNode (child) // Properties: jcr:data - the actual asset bytes All the assets are of type .jpg. There are several concurrent threads that = read files from the FTP site and create assets. For some assets, when doing a Session.save() prior to checkin we get the fo= llowing exception (stack trace snipped for compactness): org.apache.jackrabbit.oak.plugins.document.DocumentStoreException: Aborting= getChildNodes() - DocumentNodeState is null for br15daca61b5b-0-2 at /:con= flict/changeDeletedNode/Unassigned/sequence_of_attributes_works_fine - Copy= (2).png at org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore$7.apply= (DocumentNodeStore.java:1201) ... at org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.performVoid(S= essionDelegate.java:274) at org.apache.jackrabbit.oak.jcr.session.SessionImpl.save(SessionImpl.j= ava:416) I have seen a number of defect reports concerning "DocumentNodeState is nul= l", but they all seem to have been fixed. Can someone help me to find out what we are doing wrong that causes this ex= ception? Mike Harrison DISCLAIMER =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D This e-mail may contain privileged and confidential information which is th= e property of Persistent Systems Ltd. It is intended only for the use of th= e individual or entity to which it is addressed. If you are not the intende= d recipient, you are not authorized to read, retain, copy, print, distribut= e or use this message. If you have received this communication in error, pl= ease notify the sender and delete all copies of this message. Persistent Sy= stems Ltd. does not accept any liability for virus infected mails. --_000_PN1PR01MB0846229524A455C1526890369A830PN1PR01MB0846INDP_--