jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tobias Strasser <tobias.stras...@gmail.com>
Subject Re: Is checkin broken?
Date Mon, 28 Feb 2005 23:42:00 GMT
hi,
unfortunately, the latest transaction support patch broke the
reference handling inside the versioning. it will be covered in
http://issues.apache.org/jira/browse/JCR-45

sorry for any inconvenience.
cheers, tobi


On Mon, 28 Feb 2005 14:55:17 +0000, Rod Mackenzie
<Rod.Mackenzie@gtnet.com> wrote:
> Hi all,
> 
> I've updated to r155677 and versioning appears to be broken, I'm getting
> the following exception when trying to do a checkin. Is this problem
> known about?
> 
> cheers,
> Rod
> 
> javax.jcr.RepositoryException: /Test/jcr:baseVersion: unable to update
> item.: Target node ac40c365-26dd-4435-9553-6c66d502241e of REFERENCE
> property does not exist: Target node
> ac40c365-26dd-4435-9553-6c66d502241e of REFERENCE property does not exist
>         at org.apache.jackrabbit.core.ItemImpl.save(ItemImpl.java:1217)
>         at org.apache.jackrabbit.core.NodeImpl.checkin(NodeImpl.java:2610)
>         at
> com.gtnet.jcr.VersionedNodeTest.testUndoCheckout(VersionedNodeTest.java:324)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at
> com.intellij.rt.execution.junit2.IdeaJUnitAgent.doRun(IdeaJUnitAgent.java:57)
>         at
> com.intellij.rt.execution.junit.TextTestRunner2.startRunnerWithArgs(TextTestRunner2.java:23)
>         at
> com.intellij.rt.execution.junit2.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:97)
>         at com.intellij.rt.execution.junit2.JUnitStarter.main(JUnitStarter.java:31)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at com.intellij.rt.execution.application.AppMain.main(AppMain.java:78)
> Caused by: org.apache.jackrabbit.core.state.ItemStateException: Target
> node ac40c365-26dd-4435-9553-6c66d502241e of REFERENCE property does not
> exist
>         at
> org.apache.jackrabbit.core.state.SharedItemStateManager.store(SharedItemStateManager.java:325)
>         at
> org.apache.jackrabbit.core.state.LocalItemStateManager.update(LocalItemStateManager.java:322)
>         at
> org.apache.jackrabbit.core.state.TransactionalItemStateManager.update(TransactionalItemStateManager.java:219)
>         at
> org.apache.jackrabbit.core.state.LocalItemStateManager.update(LocalItemStateManager.java:304)
>         at
> org.apache.jackrabbit.core.state.SessionItemStateManager.update(SessionItemStateManager.java:286)
>         at org.apache.jackrabbit.core.ItemImpl.save(ItemImpl.java:1211)
>         ... 27 more
> org.apache.jackrabbit.core.state.ItemStateException: Target node
> ac40c365-26dd-4435-9553-6c66d502241e of REFERENCE property does not exist
>         at
> org.apache.jackrabbit.core.state.SharedItemStateManager.store(SharedItemStateManager.java:325)
>         at
> org.apache.jackrabbit.core.state.LocalItemStateManager.update(LocalItemStateManager.java:322)
>         at
> org.apache.jackrabbit.core.state.TransactionalItemStateManager.update(TransactionalItemStateManager.java:219)
>         at
> org.apache.jackrabbit.core.state.LocalItemStateManager.update(LocalItemStateManager.java:304)
>         at
> org.apache.jackrabbit.core.state.SessionItemStateManager.update(SessionItemStateManager.java:286)
>         at org.apache.jackrabbit.core.ItemImpl.save(ItemImpl.java:1211)
>         at org.apache.jackrabbit.core.NodeImpl.checkin(NodeImpl.java:2610)
>         at
> com.gtnet.jcr.VersionedNodeTest.testUndoCheckout(VersionedNodeTest.java:324)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at com.intellij.rt.execution.junit2.JUnitStarter.main(JUnitStarter.java:31)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at com.intellij.rt.execution.application.AppMain.main(AppMain.java:78)
> 
> ________________________________________________________________________________
> This email (and any attachments) is private and confidential, and is intended
> solely for the addressee. If you have received this communication in error
> please remove it and inform us via telephone or email.
> 
> Although we take all possible steps to ensure mail and attachments are free
> from malicious content, malware and virii, we cannot accept any responsibility
> whatsoever for any changes to content outwith our administrative bounds.
> 
> The views represented within this mail are solely the view of the
> author and do not reflect the views of Graham Technology as a whole.
> ________________________________________________________________________________
> 
> Graham Technology plc                               http://www.gtnet.com
> ________________________________________________________________________________
> 
> 


-- 
------------------------------------------< tobias.strasser@day.com >---
Tobias Strasser, Day Management AG, Barfuesserplatz 6, CH - 4001 Basel
T +41 61 226 98 98, F +41 61 226 98 97 
-----------------------------------------------< http://www.day.com >---

Mime
View raw message