jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcel Reutegger (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (JCR-608) NullPointerException in indexer when creating versionable node on virgin repository
Date Mon, 30 Oct 2006 11:36:17 GMT
     [ http://issues.apache.org/jira/browse/JCR-608?page=all ]

Marcel Reutegger resolved JCR-608.
----------------------------------

    Resolution: Duplicate

Thank you for the detailed bug report and the test case.

The reason why this happens is the same as reported in JCR-605.

> NullPointerException in indexer when creating versionable node on virgin repository
> -----------------------------------------------------------------------------------
>
>                 Key: JCR-608
>                 URL: http://issues.apache.org/jira/browse/JCR-608
>             Project: Jackrabbit
>          Issue Type: Bug
>    Affects Versions: 1.1
>            Reporter: Magnus Grimsell
>            Priority: Minor
>         Attachments: JackRabbitTest.java
>
>
> When creating a versionable node on a virgin repository NodeIndexer throws a NullPointerException.
> After a restart everything works fine.
> SEVERE: Synchronous EventConsumer threw exception.
> java.lang.NullPointerException
> 	at org.apache.jackrabbit.core.query.lucene.NodeIndexer.createDoc(NodeIndexer.java:141)
> 	at org.apache.jackrabbit.core.query.lucene.NodeIndexer.createDocument(NodeIndexer.java:115)
> 	at org.apache.jackrabbit.core.query.lucene.SearchIndex.createDocument(SearchIndex.java:459)
> 	at org.apache.jackrabbit.core.query.lucene.SearchIndex$2.next(SearchIndex.java:302)
> 	at org.apache.jackrabbit.core.query.lucene.MultiIndex.update(MultiIndex.java:322)
> 	at org.apache.jackrabbit.core.query.lucene.SearchIndex.updateNodes(SearchIndex.java:290)
> 	at org.apache.jackrabbit.core.SearchManager.onEvent(SearchManager.java:471)
> 	at org.apache.jackrabbit.core.observation.EventConsumer.consumeEvents(EventConsumer.java:231)
> 	at org.apache.jackrabbit.core.observation.ObservationDispatcher.dispatchEvents(ObservationDispatcher.java:201)
> 	at org.apache.jackrabbit.core.observation.EventStateCollection.dispatch(EventStateCollection.java:430)
> 	at org.apache.jackrabbit.core.observation.DelegatingObservationDispatcher.dispatch(DelegatingObservationDispatcher.java:123)
> 	at org.apache.jackrabbit.core.observation.DelegatingObservationDispatcher.dispatchEvents(DelegatingObservationDispatcher.java:99)
> 	at org.apache.jackrabbit.core.observation.EventStateCollection.dispatch(EventStateCollection.java:430)
> 	at org.apache.jackrabbit.core.state.SharedItemStateManager$Update.end(SharedItemStateManager.java:657)
> 	at org.apache.jackrabbit.core.state.SharedItemStateManager.update(SharedItemStateManager.java:747)
> 	at org.apache.jackrabbit.core.state.LocalItemStateManager.update(LocalItemStateManager.java:325)
> 	at org.apache.jackrabbit.core.state.LocalItemStateManager.update(LocalItemStateManager.java:301)
> 	at org.apache.jackrabbit.core.version.AbstractVersionManager.createVersionHistory(AbstractVersionManager.java:254)
> 	at org.apache.jackrabbit.core.version.VersionManagerImpl$1.run(VersionManagerImpl.java:207)
> 	at org.apache.jackrabbit.core.version.VersionManagerImpl$DynamicESCFactory.doSourced(VersionManagerImpl.java:579)
> 	at org.apache.jackrabbit.core.version.VersionManagerImpl.createVersionHistory(VersionManagerImpl.java:204)
> 	at org.apache.jackrabbit.core.version.XAVersionManager.createVersionHistory(XAVersionManager.java:147)
> 	at org.apache.jackrabbit.core.ItemImpl.initVersionHistories(ItemImpl.java:771)
> 	at org.apache.jackrabbit.core.ItemImpl.save(ItemImpl.java:1181)
> 	at org.apache.jackrabbit.core.SessionImpl.save(SessionImpl.java:817)

-- 
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