I am a MAC user and I get this exception because I can not read from a file . Writing works okay for me but reading returns me the exception stating that operation is not pe