jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "fabrizio giustina (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JCR-160) Query index not in sync with workspace
Date Fri, 22 Jul 2005 08:36:54 GMT
    [ http://issues.apache.org/jira/browse/JCR-160?page=comments#action_12316453 ] 

fabrizio giustina commented on JCR-160:
---------------------------------------

An interesting stacktrace coming from the consistency checker: this is coming from a development
environment where the tomcat instance has been killed.
The repository can't be started anymore due to an error caught in the ConsistencyCheck$MissingAncestor.repair




WARN   org.apache.jackrabbit.core.query.lucene.MultiIndex MultiIndex.java(<init>:178)
22.07.2005 10:22:21  Found uncommitted redo log. Applying changes now...
WARN   org.apache.jackrabbit.core.query.lucene.MultiIndex MultiIndex.java(<init>:195)
22.07.2005 10:22:23  Redo changes applied.
WARN   org.apache.jackrabbit.core.query.lucene.CachingIndexReader CachingIndexReader.java(cacheInit:212)
22.07.2005 10:22:23  Duplicate index entry for node: 93625c1b-1cc7-4be7-9ee4-8cf932af57eb
WARN   org.apache.jackrabbit.core.query.lucene.CachingIndexReader CachingIndexReader.java(cacheInit:212)
22.07.2005 10:22:23  Duplicate index entry for node: 548eda92-f29f-4031-b277-a077c01a0d00
WARN   org.apache.jackrabbit.core.query.lucene.CachingIndexReader CachingIndexReader.java(cacheInit:212)
22.07.2005 10:22:23  Duplicate index entry for node: 2c49ecbd-9263-42a4-9f71-20c7a128d38e
WARN   org.apache.jackrabbit.core.query.lucene.CachingIndexReader CachingIndexReader.java(cacheInit:212)
22.07.2005 10:22:23  Duplicate index entry for node: f95273a5-c7e5-46f8-b3c4-3e2cb8c06979
WARN   org.apache.jackrabbit.core.query.lucene.CachingIndexReader CachingIndexReader.java(cacheInit:212)
22.07.2005 10:22:23  Duplicate index entry for node: afa51196-d9af-4160-8dfe-ea3f5e6b893b
ERROR  org.apache.jackrabbit.core.RepositoryImpl RepositoryImpl.java(<init>:208) 22.07.2005
10:22:23  Unable to start repository. forcing shutdown.
ERROR  RepositoryNotInitializedException: uuid can not be null: uuid can not be null: uuid
can not be null: uuid can not be null: uuid can not be null
	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3669)
	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4104)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
	at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
	at org.apache.catalina.core.StandardService.start(StandardService.java:450)
	at org.apache.catalina.core.StandardServer.start(StandardServer.java:683)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:537)
	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:585)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
Caused by: javax.jcr.RepositoryException: uuid can not be null: uuid can not be null: uuid
can not be null
	at org.apache.jackrabbit.core.SearchManager.<init>(SearchManager.java:125)
	at org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.getSearchManager(RepositoryImpl.java:1141)
	at org.apache.jackrabbit.core.RepositoryImpl.getSearchManager(RepositoryImpl.java:550)
	at org.apache.jackrabbit.core.RepositoryImpl.initWorkspace(RepositoryImpl.java:412)
	at org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:204)
	at org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:358)
	at org.apache.jackrabbit.core.jndi.BindableRepository.init(BindableRepository.java:116)
	at org.apache.jackrabbit.core.jndi.BindableRepository.create(BindableRepository.java:104)
	at org.apache.jackrabbit.core.jndi.RegistryHelper.registerRepository(RegistryHelper.java:57)
	... 21 more
Caused by: java.lang.IllegalArgumentException: uuid can not be null
	at org.apache.jackrabbit.core.NodeId.<init>(NodeId.java:37)
	at org.apache.jackrabbit.core.query.lucene.ConsistencyCheck$MissingAncestor.repair(ConsistencyCheck.java:259)
	at org.apache.jackrabbit.core.query.lucene.ConsistencyCheck.repair(ConsistencyCheck.java:117)
	at org.apache.jackrabbit.core.query.lucene.SearchIndex.doInit(SearchIndex.java:140)
	at org.apache.jackrabbit.core.query.AbstractQueryHandler.init(AbstractQueryHandler.java:39)
	at org.apache.jackrabbit.core.SearchManager.<init>(SearchManager.java:123)
	... 30 more
javax.jcr.RepositoryException: uuid can not be null: uuid can not be null: uuid can not be
null
	at org.apache.jackrabbit.core.SearchManager.<init>(SearchManager.java:125)
	at org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.getSearchManager(RepositoryImpl.java:1141)
	at org.apache.jackrabbit.core.RepositoryImpl.getSearchManager(RepositoryImpl.java:550)
	at org.apache.jackrabbit.core.RepositoryImpl.initWorkspace(RepositoryImpl.java:412)
	at org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:204)
	at org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:358)
	at org.apache.jackrabbit.core.jndi.BindableRepository.init(BindableRepository.java:116)
	at org.apache.jackrabbit.core.jndi.BindableRepository.create(BindableRepository.java:104)
	at org.apache.jackrabbit.core.jndi.RegistryHelper.registerRepository(RegistryHelper.java:57)
	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3669)
	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4104)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
	at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
	at org.apache.catalina.core.StandardService.start(StandardService.java:450)
	at org.apache.catalina.core.StandardServer.start(StandardServer.java:683)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:537)
	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:585)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
Caused by: java.lang.IllegalArgumentException: uuid can not be null
	at org.apache.jackrabbit.core.NodeId.<init>(NodeId.java:37)
	at org.apache.jackrabbit.core.query.lucene.ConsistencyCheck$MissingAncestor.repair(ConsistencyCheck.java:259)
	at org.apache.jackrabbit.core.query.lucene.ConsistencyCheck.repair(ConsistencyCheck.java:117)
	at org.apache.jackrabbit.core.query.lucene.SearchIndex.doInit(SearchIndex.java:140)
	at org.apache.jackrabbit.core.query.AbstractQueryHandler.init(AbstractQueryHandler.java:39)
	at org.apache.jackrabbit.core.SearchManager.<init>(SearchManager.java:123)
	... 30 more
java.lang.IllegalArgumentException: uuid can not be null
	at org.apache.jackrabbit.core.NodeId.<init>(NodeId.java:37)
	at org.apache.jackrabbit.core.query.lucene.ConsistencyCheck$MissingAncestor.repair(ConsistencyCheck.java:259)
	at org.apache.jackrabbit.core.query.lucene.ConsistencyCheck.repair(ConsistencyCheck.java:117)
	at org.apache.jackrabbit.core.query.lucene.SearchIndex.doInit(SearchIndex.java:140)
	at org.apache.jackrabbit.core.query.AbstractQueryHandler.init(AbstractQueryHandler.java:39)
	at org.apache.jackrabbit.core.SearchManager.<init>(SearchManager.java:123)
	at org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.getSearchManager(RepositoryImpl.java:1141)
	at org.apache.jackrabbit.core.RepositoryImpl.getSearchManager(RepositoryImpl.java:550)
	at org.apache.jackrabbit.core.RepositoryImpl.initWorkspace(RepositoryImpl.java:412)
	at org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:204)
	at org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:358)
	at org.apache.jackrabbit.core.jndi.BindableRepository.init(BindableRepository.java:116)
	at org.apache.jackrabbit.core.jndi.BindableRepository.create(BindableRepository.java:104)
	at org.apache.jackrabbit.core.jndi.RegistryHelper.registerRepository(RegistryHelper.java:57)
	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3669)
	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4104)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
	at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
	at org.apache.catalina.core.StandardService.start(StandardService.java:450)
	at org.apache.catalina.core.StandardServer.start(StandardServer.java:683)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:537)
	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:585)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)

> Query index not in sync with workspace
> --------------------------------------
>
>          Key: JCR-160
>          URL: http://issues.apache.org/jira/browse/JCR-160
>      Project: Jackrabbit
>         Type: Bug
>   Components: query
>     Reporter: Marcel Reutegger
>     Assignee: Marcel Reutegger
>      Fix For: 1.0

>
> After some time the search index is not in sync anymore with the data in the workspace
and returns uuids which have no corresponding Node in the workspace. This results in a NodeIterator
which throws an ItemNotFoundException on nextNode().
> Instructions how to reproduce this error are not yet available.
> Possible areas for further investigation are:
> - NodeType registry which maps the node types into the workspace with the use of virtual
item states
> - versioning?
> - atomicity of indexing?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message