jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Helio S. P. (JIRA)" <j...@apache.org>
Subject [jira] Created: (JCR-2350) Indexing node when date time is too late for lucene
Date Wed, 07 Oct 2009 11:54:31 GMT
Indexing node when date time is too late for lucene
---------------------------------------------------

                 Key: JCR-2350
                 URL: https://issues.apache.org/jira/browse/JCR-2350
             Project: Jackrabbit Content Repository
          Issue Type: Improvement
          Components: indexing, jackrabbit-core, observation
    Affects Versions: core 1.4.9
         Environment: linux Debian lenny
jboss 4.0.5
            Reporter: Helio S. P.


When a data property is set with a value (like year more than 3000) the observer throw an
exception and the node disappear from the query search.
Follow the stack trace:
2009-10-06 16:38:16,663 ERROR [org.apache.jackrabbit.core.observation.ObservationDispatcher]
Synchronous EventConsumer threw exception.
java.lang.RuntimeException: time too late
	at org.apache.jackrabbit.core.query.lucene.DateField.timeToString(DateField.java:90)
	at org.apache.jackrabbit.core.query.lucene.NodeIndexer.addCalendarValue(NodeIndexer.java:473)
	at org.apache.jackrabbit.core.query.lucene.NodeIndexer.addValue(NodeIndexer.java:292)
	at org.apache.jackrabbit.core.query.lucene.NodeIndexer.createDoc(NodeIndexer.java:221)
	at org.apache.jackrabbit.core.query.lucene.SearchIndex.createDocument(SearchIndex.java:899)
	at org.apache.jackrabbit.core.query.lucene.SearchIndex$2.next(SearchIndex.java:550)
	at org.apache.jackrabbit.core.query.lucene.MultiIndex.update(MultiIndex.java:429)
	at org.apache.jackrabbit.core.query.lucene.SearchIndex.updateNodes(SearchIndex.java:534)
	at org.apache.jackrabbit.core.SearchManager.onEvent(SearchManager.java:505)
	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:421)
	at org.apache.jackrabbit.core.state.SharedItemStateManager$Update.end(SharedItemStateManager.java:737)
	at org.apache.jackrabbit.core.state.SharedItemStateManager.update(SharedItemStateManager.java:873)
	at org.apache.jackrabbit.core.state.LocalItemStateManager.update(LocalItemStateManager.java:334)
	at org.apache.jackrabbit.core.state.XAItemStateManager.update(XAItemStateManager.java:337)
	at org.apache.jackrabbit.core.state.LocalItemStateManager.update(LocalItemStateManager.java:310)
	at org.apache.jackrabbit.core.state.SessionItemStateManager.update(SessionItemStateManager.java:317)
	at org.apache.jackrabbit.core.ItemImpl.save(ItemImpl.java:1247)
	at org.apache.jackrabbit.core.SessionImpl.save(SessionImpl.java:897)


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message