[
https://issues.apache.org/jira/browse/JCR-3813?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Julian Reschke closed JCR-3813.
-------------------------------
> Caused by: javax.jcr.ItemNotFoundException: /
> ---------------------------------------------
>
> Key: JCR-3813
> URL: https://issues.apache.org/jira/browse/JCR-3813
> Project: Jackrabbit Content Repository
> Issue Type: Bug
> Components: jackrabbit-jcr2spi
> Affects Versions: 2.4.1
> Environment: linux
> Reporter: paul qing
> Priority: Major
>
> 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)
--
This message was sent by Atlassian Jira
(v8.3.4#803005)