lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Boo (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LUCENE-1082) IndexReader.lastModified - always return null
Date Thu, 06 Dec 2007 18:18:43 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-1082?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12549116
] 

Alan Boo commented on LUCENE-1082:
----------------------------------

by the way. here is the stack trace.

java.lang.NullPointerException
	at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:534)
	at org.apache.lucene.index.IndexReader.lastModified(IndexReader.java:286)
	at org.apache.lucene.index.IndexReader.lastModified(IndexReader.java:275)
	at com.alanboo.lucene.test.AbstractCollection.getDateIndexedAsString(Unknown Source)
	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:589)

> IndexReader.lastModified - always return null
> ---------------------------------------------
>
>                 Key: LUCENE-1082
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1082
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Index
>    Affects Versions: 2.3
>         Environment: Windows variants.
>            Reporter: Alan Boo
>
> IndexReader.lastModified(String dir) or its variants always return null on 2.3, perhaps
something to do with SegmentInfos's read().

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


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message