You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2021/01/07 22:51:47 UTC

[Bug 62010] Attempting to password protect excel file without writing to disk, getting Rule M2.4 exception

https://bz.apache.org/bugzilla/show_bug.cgi?id=62010

Andreas Beeker <ki...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WORKSFORME

--- Comment #1 from Andreas Beeker <ki...@apache.org> ---
3 years later it's probably too late, but you need to close the stream which
you've got from "OutputStream os = enc.getDataStream(fs)"

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org