You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "frederic (JIRA)" <ji...@apache.org> on 2006/03/07 14:42:40 UTC

[jira] Updated: (LUCENE-512) ClassCastException in ParallelReader class

     [ http://issues.apache.org/jira/browse/LUCENE-512?page=all ]

frederic updated LUCENE-512:
----------------------------

    Attachment: ParallelReader.java

patch

> ClassCastException in ParallelReader class
> ------------------------------------------
>
>          Key: LUCENE-512
>          URL: http://issues.apache.org/jira/browse/LUCENE-512
>      Project: Lucene - Java
>         Type: Bug
>     Versions: 1.9
>  Environment: Windoxs xp sp2
> Java 1.5.0_06
>     Reporter: frederic
>  Attachments: ParallelReader.java
>
> ClassCastException in ParalleReader when calling getTermFreqVectors on line 153
> Reason : 
>  cast of key and value is swapped
> Fixed with : 
>       IndexReader reader = (IndexReader)e.getValue();
>       String field = (String)e.getKey();

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


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