poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 27496] - HSSFSheet#getRowBreaks() raises NPE with a brand-new workbook
Date Thu, 03 Jun 2004 13:02:35 GMT
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


Mime
View raw message