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

When indexing large files (like the j2sdk API), get java.io.IOException: Pipe closed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Incomplete
    • None
    • None
    • modules/examples
    • None
    • Operating System: All
      Platform: Other

    • 27354

    Description

      With lrage files, demo\org\apache\lucene\demo\IndexFiles.java throws

      java.io.IOException: Pipe closed
      at java.io.PipedInputStream.receive(Unknown Source)
      at java.io.PipedInputStream.receive(Unknown Source)
      at java.io.PipedOutputStream.write(Unknown Source)
      at sun.nio.cs.StreamEncoder$CharsetSE.writeBytes(Unknown Source)
      at sun.nio.cs.StreamEncoder$CharsetSE.implWrite(Unknown Source)
      at sun.nio.cs.StreamEncoder.write(Unknown Source)
      at sun.nio.cs.StreamEncoder.write(Unknown Source)
      at java.io.OutputStreamWriter.write(Unknown Source)
      at java.io.Writer.write(Unknown Source)
      at org.apache.lucene.demo.html.HTMLParser.addText(HTMLParser.java:141)
      at org.apache.lucene.demo.html.HTMLParser.HTMLDocument(HTMLParser.java:200)
      at org.apache.lucene.demo.html.ParserThread.run(ParserThread.java:16)

      Jdk 1.4.2, nt5 sp3. Athlon 2100, 512 MB.

      Attachments

        Issue Links

          Activity

            People

              java-dev@lucene.apache.org Lucene Developers
              ken@kensystem.com Ken Johanson
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: