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

Radhakrishna Bhat commented on LUCENE-4405:
-------------------------------------------

Thank you Uwe. I will clean my index directory and try again.
                
> java.lang.NumberFormatException: For input string: "4g3 (1)"
> ------------------------------------------------------------
>
>                 Key: LUCENE-4405
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4405
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: core/index
>    Affects Versions: 3.5
>         Environment: Windows 7 64 bit JDK
>            Reporter: Radhakrishna Bhat
>
> When trying to instantiate IndexWriter, I get this exception. I have no other 
> clues on why this might happen.
> Caused by: java.lang.NumberFormatException: For input string: "4g3 (1)"
>       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:214)
>       at 
> org.apache.lucene.index.SegmentInfos.getCurrentSegmentGeneration(SegmentInfos.java:149)
>       at 
> org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:626)
>       at 
> org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:575)
>       at org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:346)
>       at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:1115)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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

Reply via email to