NumberFormatException: For input string:
"gen.before_restore_2011-03-21_07.15.36.372112"
----------------------------------------------------------------------------------------
Key: LUCENE-3008
URL: https://issues.apache.org/jira/browse/LUCENE-3008
Project: Lucene - Java
Issue Type: Bug
Components: Index
Reporter: Tran Nam Quang
Hello,
One of our users reported the following stacktrace:
Exception in thread "Thread-3" java.lang.NumberFormatException: For input
string: "gen.before_restore_2011-03-21_07.15.36.372112"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
at java.lang.Long.parseLong(Long.java:419)
at
org.apache.lucene.index.SegmentInfos.generationFromSegmentsFileName(SegmentInfos.java:199)
at
org.apache.lucene.index.SegmentInfos.getCurrentSegmentGeneration(SegmentInfos.java:134)
at
org.apache.lucene.index.SegmentInfos.getCurrentSegmentGeneration(SegmentInfos.java:151)
at org.apache.lucene.index.IndexReader.indexExists(IndexReader.java:626)
at org.apache.lucene.index.IndexWriter.init(IndexWriter.java:1015)
at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:887)
at net.sourceforge.docfetcher.model.RootScope.updateIndex(RootScope.java:138)
at net.sourceforge.docfetcher.model.ScopeRegistry$2.run(ScopeRegistry.java:392)
I'm afraid I can't provide any more information than this, other than the
Lucene version: 3.0.0
Best regards
Tran Nam Quang
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]