jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bdangubic <bozidar.dangu...@gmail.com>
Subject javax.jcr.ItemNotFoundException when saving a document
Date Fri, 18 Sep 2009 18:42:51 GMT

Hello all,

I am loading up documents from an old legacy system into JCR and after about
32000 documents I have hit an exception which is now preventing me from
saving anything. The exception trace is below. Any help in this matter is
greatly appreciated.

Caused by: org.springframework.dao.DataRetrievalFailureException: Item not
found; nested exception is javax.jcr.ItemNotFoundException:
735b4f5d-a5dd-4582-830c-1d358a656078
at
org.springmodules.jcr.SessionFactoryUtils.translateException(SessionFactoryUtils.java:197)
at
org.springmodules.jcr.JcrAccessor.convertJcrAccessException(JcrAccessor.java:58)
at org.springmodules.jcr.JcrTemplate.execute(JcrTemplate.java:82)
at org.springmodules.jcr.JcrTemplate.execute(JcrTemplate.java:108)
at
com.jsi.fullcourt.imaging.service.ImagingServiceDefault.saveDocument(ImagingServiceDefault.java:90)
at
com.jsi.fullcourt.imaging.service.ImagingServiceDefault.saveDocument(ImagingServiceDefault.java:233)
at
com.jsi.fullcourt.imaging.service.ImagingServiceDefault$$FastClassByCGLIB$$d37022e8.invoke(<generated>)
at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
at
org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:700)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at
org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:635)
at
com.jsi.fullcourt.imaging.service.ImagingServiceDefault$$EnhancerByCGLIB$$aba5f772.saveDocument(<generated>)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at
com.jsi.fullcourt.jobscheduler.JobHistoryAdvice.invoke(JobHistoryAdvice.java:36)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at
com.jsi.util.persistence.TransactionAdvice.performWithNewTransaction(TransactionAdvice.java:46)
... 62 more
Caused by: javax.jcr.ItemNotFoundException:
735b4f5d-a5dd-4582-830c-1d358a656078
at
org.apache.jackrabbit.core.ItemManager.createItemInstance(ItemManager.java:566)
at org.apache.jackrabbit.core.ItemManager.getItem(ItemManager.java:395)
at
org.apache.jackrabbit.core.NodeImpl.internalAddChildNode(NodeImpl.java:770)
at org.apache.jackrabbit.core.NodeImpl.internalAddNode(NodeImpl.java:718)
at org.apache.jackrabbit.core.NodeImpl.internalAddNode(NodeImpl.java:665)
at org.apache.jackrabbit.core.NodeImpl.addNode(NodeImpl.java:1987)
at
com.jsi.fullcourt.imaging.service.ImagingServiceDefault$1.doInJcr(ImagingServiceDefault.java:97)
at org.springmodules.jcr.JcrTemplate.execute(JcrTemplate.java:76)
... 83 more
Processing 
-- 
View this message in context: http://www.nabble.com/javax.jcr.ItemNotFoundException-when-saving-a-document-tp25513640p25513640.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.


Mime
View raw message