java.io.IOException

����������

Samebug tips1

When you iterate over the lines of a scala.io.Source with source.getLines, make sure you do not close the source until you processed the iterator.


rprp

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web467

  • via Unknown by 807553,
  • via Unknown by 807553,
  • Stack trace

    • java.io.IOException: ���������� at java.io.FileInputStream.readBytes(Native Method) at java.io.FileInputStream.read(FileInputStream.java:192) at java.io.BufferedInputStream.read1(BufferedInputStream.java:220) at java.io.BufferedInputStream.read(BufferedInputStream.java:277) at java.io.FilterInputStream.read(FilterInputStream.java:90) at sun.nio.cs.StreamDecoder$ConverterSD.implRead(StreamDecoder.java:282) at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:179) at java.io.InputStreamReader.read(InputStreamReader.java:167) at java.io.BufferedReader.fill(BufferedReader.java:136) at java.io.BufferedReader.readLine(BufferedReader.java:299) at java.io.BufferedReader.readLine(BufferedReader.java:362) at com.sun.tools.example.debug.tty.TTY.<init>(TTY.java:525) at com.sun.tools.example.debug.tty.TTY.main(TTY.java:830)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    jstrayerjstrayer
    Once,
    rprp
    Once,
    zbalintzbalint
    Once,
    gamebusterzgamebusterz
    22 times, last one
    harshgharshg
    Once,
    30 more bugmates