Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Cannot Reproduce
-
2.4.1
-
None
-
None
-
linux
Description
I used jackrabbit in our project. there are two package.one for design time and another for run time. the deploy operation can push design time data to run time zone.sometimes it will throw this exception:"Caused by: javax.jcr.ItemNotFoundException: /" when i do deploy operation. i call session to refresh. there is no operation to change root Node. i don't know what reason will cause this issue. the detail trace as following:
javax.jcr.ItemNotFoundException: /
at org.apache.jackrabbit.jcr2spi.ItemManagerImpl.getItem(ItemManagerImpl.java:201)
at org.apache.jackrabbit.jcr2spi.SessionImpl.getRootNode(SessionImpl.java:233)
at org.apache.jackrabbit.jcr2spi.SessionImpl.refresh(SessionImpl.java:341)
at sun.reflect.GeneratedMethodAccessor299.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at com.hp.atom.repository.internal.SessionPool$TxSessionHandler.invoke(SessionPool.java:258)
at com.sun.proxy.$Proxy212.refresh(Unknown Source)
at com.hp.atom.repository.internal.SessionPool.fetchSession(SessionPool.java:94)
at com.hp.atom.repository.internal.SessionHolder.getSession(SessionHolder.java:73)
at com.hp.atom.repository.internal.SessionPool$SessionHandler.invoke(SessionPool.java:189)
at com.sun.proxy.$Proxy212.getWorkspace(Unknown Source)
at com.hp.atom.repository.internal.AtomRepository.query(AtomRepository.java:831)
at com.hp.atom.repository.internal.AtomRepository.query(AtomRepository.java:782)
at com.hp.atom.repository.internal.AtomRepository.queryWithFormat(AtomRepository.java:983)
at com.hp.atom.repository.internal.AtomRepository.queryWithFormat(AtomRepository.java:990)
at com.hp.atom.repository.internal.AtomRepository.queryWithFormat(AtomRepository.java:1002)
at com.hp.atom.repository.internal.AtomRepository.queryWithFormat(AtomRepository.java:66)
at sun.reflect.GeneratedMethodAccessor250.invoke(Unknown Source)