Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 61915 invoked from network); 25 Sep 2008 08:00:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Sep 2008 08:00:43 -0000 Received: (qmail 17836 invoked by uid 500); 25 Sep 2008 08:00:40 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 17681 invoked by uid 500); 25 Sep 2008 08:00:39 -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 17670 invoked by uid 99); 25 Sep 2008 08:00:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Sep 2008 01:00:39 -0700 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of aklimets@day.com designates 207.126.148.182 as permitted sender) Received: from [207.126.148.182] (HELO eu3sys201aog002.obsmtp.com) (207.126.148.182) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 25 Sep 2008 07:59:31 +0000 Received: from source ([209.85.198.242]) by eu3sys201aob002.postini.com ([207.126.154.11]) with SMTP; Thu, 25 Sep 2008 08:00:01 UTC Received: by rv-out-0708.google.com with SMTP id b17so276674rvf.40 for ; Thu, 25 Sep 2008 01:00:01 -0700 (PDT) Received: by 10.140.126.14 with SMTP id y14mr3976694rvc.59.1222329601062; Thu, 25 Sep 2008 01:00:01 -0700 (PDT) Received: by 10.140.226.20 with HTTP; Thu, 25 Sep 2008 01:00:00 -0700 (PDT) Message-ID: Date: Thu, 25 Sep 2008 10:00:00 +0200 From: "Alexander Klimetschek" To: users@jackrabbit.apache.org Subject: Re: jcr:data property of Version copy empty In-Reply-To: <19661972.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <19641177.post@talk.nabble.com> <19657853.post@talk.nabble.com> <82670ba40809241400n69ffbc9ft75a941b37d74fdbb@mail.gmail.com> <82670ba40809241402n35230b5asfe416ea14cd64b4f@mail.gmail.com> <19661353.post@talk.nabble.com> <19661663.post@talk.nabble.com> <19661972.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org What version of Jackrabbit are you using (jackrabbit-core-....jar)? Looks like it is the same or a similar issue as discussed in this thread: http://markmail.org/message/wbgj5om5ec5o4v3s The underlying problem should have been resolved already. If you can reproduce it with the latest 1.4.5 core, you might have found a bug. Regards, Alex On Thu, Sep 25, 2008 at 4:21 AM, kenclark wrote: > > > Next update: I converted the code to version the jcr:content child node > rather than the nt:file node. > > I still see the same issue -- the version jcr:data is always empty, whereas > the underlying node jcr:data is intact and usable. > > Interestingly, I am seeing the below exception in the log file. Even with > this exception though, the nt:file is stored (updated). Its hard to tell if > this exception is related to the version -- that apparent uuid does not > match up to the main node or any version. > > This is a bit frustrating. > > Thanks, > ken > > 22:11:40,187 WARN [BundleBinding] Blob has negative size. Potential loss of > data. id=e2eaaa6d-dccd-4f7f-bb24-7bcb1e164798/{http://www.jcp.o > rg/jcr/1.0}data idx=0 > 22:11:40,187 ERROR [BundleDbPersistenceManager] failed to write bundle: > e2eaaa6d-dccd-4f7f-bb24-7bcb1e164798 > java.lang.NullPointerException > at > org.apache.jackrabbit.core.value.BLOBInTempFile.delete(BLOBInTempFile.java:119) > at > org.apache.jackrabbit.core.value.BLOBInTempFile.discard(BLOBInTempFile.java:129) > at > org.apache.jackrabbit.core.persistence.bundle.util.BundleBinding.writeState(BundleBinding.java:586) > at > org.apache.jackrabbit.core.persistence.bundle.util.BundleBinding.writeBundle(BundleBinding.java:273) > at > org.apache.jackrabbit.core.persistence.bundle.BundleDbPersistenceManager.storeBundle(BundleDbPersistenceManager.java:1028) > at > org.apache.jackrabbit.core.persistence.bundle.AbstractBundlePersistenceManager.putBundle(AbstractBundlePersistenceManager.java:70 > 3) > at > org.apache.jackrabbit.core.persistence.bundle.AbstractBundlePersistenceManager.store(AbstractBundlePersistenceManager.java:643) > at > org.apache.jackrabbit.core.persistence.bundle.BundleDbPersistenceManager.store(BundleDbPersistenceManager.java:524) > at > org.apache.jackrabbit.core.state.SharedItemStateManager$Update.end(SharedItemStateManager.java:688) > at > org.apache.jackrabbit.core.state.XAItemStateManager.commit(XAItemStateManager.java:162) > at > org.apache.jackrabbit.core.version.XAVersionManager.commit(XAVersionManager.java:476) > at > org.apache.jackrabbit.core.TransactionContext.commit(TransactionContext.java:189) > at > org.apache.jackrabbit.core.XASessionImpl.commit(XASessionImpl.java:339) > at > org.apache.jackrabbit.jca.TransactionBoundXAResource.commit(TransactionBoundXAResource.java:39) > at > org.jboss.resource.connectionmanager.xa.JcaXAResourceWrapper.commit(JcaXAResourceWrapper.java:53) > at > com.arjuna.ats.internal.jta.resources.arjunacore.XAResourceRecord.topLevelCommit(XAResourceRecord.java:487) > at > com.arjuna.ats.arjuna.coordinator.BasicAction.doCommit(BasicAction.java:3107) > > -- > View this message in context: http://www.nabble.com/jcr%3Adata-property-of-Version-copy-empty-tp19641177p19661972.html > Sent from the Jackrabbit - Users mailing list archive at Nabble.com. > > -- Alexander Klimetschek alexander.klimetschek@day.com