Bug 30540 - HSSFSheet.setRowBreak throws NullPointerException
Summary: HSSFSheet.setRowBreak throws NullPointerException
Status: RESOLVED FIXED
Alias: None
Product: POI
Classification: Unclassified
Component: HSSF (show other bugs)
Version: 2.5-FINAL
Hardware: PC Windows XP
: P1 normal with 2 votes (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-09 13:29 UTC by KH Lim
Modified: 2007-01-16 01:39 UTC (History)
0 users



Attachments
The test harnest program (684 bytes, text/plain)
2004-08-09 13:35 UTC, KH Lim
Details
The Excel template that works (has page break already) (16.00 KB, application/xls)
2004-08-09 13:37 UTC, KH Lim
Details
The Excel template that fails (without any page break) (16.00 KB, application/xls)
2004-08-09 13:38 UTC, KH Lim
Details

Note You need to log in before you can comment on or make changes to this bug.
Description KH Lim 2004-08-09 13:29:53 UTC
HSSFSheet.setRowBreak throws NullPointerException when it's applied it on a 
parsed Workbook object (ie not newly created Workbook object) of an Excel file 
that does not have a page break already.
Comment 1 KH Lim 2004-08-09 13:35:46 UTC
Created attachment 12370 [details]
The test harnest program
Comment 2 KH Lim 2004-08-09 13:37:54 UTC
Created attachment 12371 [details]
The Excel template that works (has page break already)
Comment 3 KH Lim 2004-08-09 13:38:53 UTC
Created attachment 12372 [details]
The Excel template that fails (without any page break)
Comment 4 Avik Sengupta 2007-01-16 01:39:10 UTC
Works as of 12Jan2007, Testcase added. 
http://issues.apache.org/bugzilla/show_bug.cgi?id=41366