openFile failure again. Reference front #122: openFile failure

Issue #135 closed
Former user created an issue

Caused by: java.io.IOException: [void imebra::implementation::fileStream::openFile(const wstring&, std::ios_base::openmode)] file: /home/paolo/Desktop/imebra_4_0_3_1/wrappers/javaWrapper/jni/../../../library/implementation/fileStreamImpl.cpp line: 162 exception type: N6imebra15StreamOpenErrorE exception message: stream::openFile failure - error code: 2

Comments (10)

  1. Paolo Brandoli repo owner

    Can you send me the full name (with path) of the file that you are trying to open?

  2. Paolo Brandoli repo owner

    Since I suspect that this is a charset conversion error or a permission error, I would need the full path name that you are using to open the file, more than the file itself.

  3. Paolo Brandoli repo owner
    • changed status to open

    The error is limited to the FileStreamInput and FileStreamOutput class. Using the CodecFactory::load and CodecFactory::save works fine.

    Going to fix FileStreamInput and FileStreamOutput

  4. Log in to comment