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 2016/01/21 23:16:28 UTC

[Bug 58906] New: Error writing to blank workbook

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

            Bug ID: 58906
           Summary: Error writing to blank workbook
           Product: POI
           Version: 3.13-FINAL
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSSF
          Assignee: dev@poi.apache.org
          Reporter: paul.dennis@hotmail.com

Created attachment 33474
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=33474&action=edit
This is the file that causes the exception

After creating an empty workbook and creating a sheet, I close the workbook and
use an existing FileOutputStream with the location of the workbook to create a
new FileOutputStream, and try to write out using the XSSFWorkbook.write(File)
method, and receive "Rule M2.4 exception" which says it should never happen and
to submit a bug.

Thanks,
Paul

-- 
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


[Bug 58906] Error writing to blank workbook

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58906

Dominik Stadler <do...@gmx.at> changed:

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

--- Comment #2 from Dominik Stadler <do...@gmx.at> ---
No response, so closing WORKSFORME for now, please reopen with more information
if this is still an issue for you.

-- 
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


[Bug 58906] Error writing to blank workbook

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58906

Javen O'Neal <on...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All

--- Comment #1 from Javen O'Neal <on...@apache.org> ---
> use an existing FileOutputStream
That might be the problem.

Otherwise, your explanation sounds pretty much like standard, working code.
Could you post an example of your code that demonstrates the problem?

-- 
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


[Bug 58906] Error writing to blank workbook

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58906

Javen O'Neal <on...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

-- 
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