lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "frederic (JIRA)" <j...@apache.org>
Subject [jira] Updated: (LUCENE-512) ClassCastException in ParallelReader class
Date Tue, 07 Mar 2006 13:42:40 GMT
     [ 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


Mime
View raw message