Bug 30540

Summary: HSSFSheet.setRowBreak throws NullPointerException
Product: POI Reporter: KH Lim <khlimjp>
Component: HSSFAssignee: POI Developers List <dev>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P1    
Version: 2.5-FINAL   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Attachments: The test harnest program
The Excel template that works (has page break already)
The Excel template that fails (without any page break)

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