× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Older Excel formats, with extensions like .xls could only support 65K rows. You need to generate with the newer format. So, assuming you have some newer service programs, you could do something like Book = New_XSSFWorkbook(); where you were doing Book = New_HSSFWorkbook(); before.

You'll then need to convert most of the hssf references to ss within you code to support the new calls, but, that may get you started.


-----Original Message-----
From: RPG400-L <rpg400-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Smith, Mike
Sent: Monday, August 17, 2020 9:51 AM
To: RPG programming on IBM i <rpg400-l@xxxxxxxxxxxxxxxxxx>
Subject: hssf max rows issue

CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.


I am using hssfr4 procedures to create spreadhsheets. I have been using for years. I believe I have the latest version, although I'm not quite sure how to verify, but the comments reference using XLSX I have the jar files listed

FROM APACHE POI 3.6:
- poi-3.6-20091214.jar
- poi-contrib-3.6-20091214.jar
- poi-examples-3.6-20091214.jar
- poi-ooxml-3.6-20091214.jar
- poi-ooxml-schemas-3.6-20091214.jar
- poi-scratchpad-3.6-20091214.jar

FROM DOM4J 1.6.1 **:
- dom4j-1.6.1.jar

FROM XMLBEANS 2.5.0 **:
- jsr173_1.0_api.jar
- xbean.jar

I'm running into max row issues. Receiving Java exception "java.lang.IllegalArgumentException: Invalid row number
(65536) outside allowable range (0..65535)" when calling method "createRow"
with signature "(I)Lorg.apache.poi.hssf.usermodel.HSSFRow;" in class "org.apache.poi.hssf.usermodel.HSSFSheet".

We are using Using Excel 2016.
Is there any way to overcome this limitation?

Thanks

MIke



NOTICE: This message, including any attachment, is intended as a confidential and privileged communication. If you have received this message in error, or are not the named recipient(s), please immediately notify the sender and delete this message.
--
This is the RPG programming on IBM i (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.

Help support midrange.com by shopping at amazon.com with our affiliate link: https://amazon.midrange.com

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.