You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@poi.apache.org by navjamsster <ku...@in.ibm.com> on 2009/03/23 08:42:10 UTC

RuntimeException: two Page Settings Blocks found

Hi, 

I have uploaded a new POI 3.5 beta version and trying to run my application,
but I am getting the following Run time exception. 

Exception in thread "main" java.lang.RuntimeException: two Page Settings
Blocks found in the same sheet
	at org.apache.poi.hssf.model.Sheet.<init>(Sheet.java:237)
	at org.apache.poi.hssf.model.Sheet.createSheet(Sheet.java:160)
	at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:287)
	at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:201)
	at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:183)

This is working fine with POI 3.1. 

Can anybody help me to resolve this error.
-- 
View this message in context: http://www.nabble.com/RuntimeException%3A-two-Page-Settings-Blocks-found-tp22655471p22655471.html
Sent from the POI - User mailing list archive at Nabble.com.


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


Re: RuntimeException: two Page Settings Blocks found

Posted by Dave Fisher <da...@jmlafferty.com>.
Hi -

A similar (or the same) error was reported as https://issues.apache.org/bugzilla/show_bug.cgi?id=46840

Perhaps you could attach your example and give the developers a better  
example file.

Regards,
Dave

On Mar 23, 2009, at 12:42 AM, navjamsster wrote:

>
> Hi,
>
> I have uploaded a new POI 3.5 beta version and trying to run my  
> application,
> but I am getting the following Run time exception.
>
> Exception in thread "main" java.lang.RuntimeException: two Page  
> Settings
> Blocks found in the same sheet
> 	at org.apache.poi.hssf.model.Sheet.<init>(Sheet.java:237)
> 	at org.apache.poi.hssf.model.Sheet.createSheet(Sheet.java:160)
> 	at  
> org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java: 
> 287)
> 	at  
> org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java: 
> 201)
> 	at  
> org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java: 
> 183)
>
> This is working fine with POI 3.1.
>
> Can anybody help me to resolve this error.
> -- 
> View this message in context: http://www.nabble.com/RuntimeException%3A-two-Page-Settings-Blocks-found-tp22655471p22655471.html
> Sent from the POI - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
> For additional commands, e-mail: user-help@poi.apache.org
>


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