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 2004/06/03 15:02:35 UTC

DO NOT REPLY [Bug 27496] - HSSFSheet#getRowBreaks() raises NPE with a brand-new workbook

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=27496>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=27496

HSSFSheet#getRowBreaks() raises NPE with a brand-new workbook





------- Additional Comments From jmroth@mtg.de  2004-06-03 13:02 -------
I'm getting a very similar problem with POI2.5-final when using
HSSFSheet.setRowBreak(int). NPE if the workbook has not already RowBreaks.
My workaround: As I use a template originally without RowBreaks I introduce a
temporary RowBreaks into the template which I then delete from the application
(using getRowBreaks()) and after this I put the real RowBreaks at the lines they
should go.
Jan-Martin Roth (jmroth@mtg.de)

---------------------------------------------------------------------
To unsubscribe, e-mail: poi-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: poi-dev-help@jakarta.apache.org