Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-512

ClassCastException in ParallelReader class

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.9
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:

      Windoxs xp sp2
      Java 1.5.0_06

      Description

      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();

        Attachments

        1. ParallelReader.java
          11 kB
          frederic

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              fredericm frederic
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: