Darren,
Thanks for the reply
I have converted the program, and the program compiles successfully, but I'm getting a 'Java.lang.NoClassDefFoundError: or org.apache.poi.xssf.usermodel.XSSFWorkbook.
When running book = new_XSSFWorkbook();
Any ideas.
I can see it in the source
D new_XSSFWorkbook...
D PR O class(*java
D : XSSF_WORKBOOK_CLASS )
D ExtProc(*java
D : XSSF_WORKBOOK_CLASS
D : *CONSTRUCTOR)
-----Original Message-----
From: RPG400-L <rpg400-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Darren Strong
Sent: Monday, August 17, 2020 10:05 AM
To: RPG programming on IBM i <rpg400-l@xxxxxxxxxxxxxxxxxx>
Subject: [EXTERNAL] RE: hssf max rows issue
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://linkprotect.cudasvc.com/url?a=https%3a%2f%2flists.midrange.com%2fmailman%2flistinfo%2frpg400-l&c=E,1,hedDnsWqEG5jHXanS0EQGzhfh3uNw3YvIOwhYWG3SI4CDlVAdHWZmz27BB--WFhR3J2HeLB5Uto0jdB51jRk6LADdlT_9rl-CzstkxgeJR0Oj8RJX5Be6PYf&typo=1
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://linkprotect.cudasvc.com/url?a=https%3a%2f%2farchive.midrange.com%2frpg400-l.&c=E,1,9PJ22IA4e3Z5au1UajFBEvvQUIgv7aJiZ9Cl1PEtTnIaIBeKxcgHegmw-8cA-a1J-ofCSZaboAs9YYa_w5rQsk0AFsC4IqZP3zJID_MpNCyJFw,,&typo=1
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.
Help support
https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fmidrange.com&c=E,1,FrcJUrV_t-vPpC-rNZF4fPxiLhmguudtpQojAN7MdiRN0a8U2LQWK8mpb7T3jxsgKeYtF95ts8ORcO4u1gdIUjCDjkMxiZa7U8W2Dad-CRVmsri9&typo=1 by shopping at amazon.com with our affiliate link:
https://linkprotect.cudasvc.com/url?a=https%3a%2f%2famazon.midrange.com&c=E,1,Fo_2JfqC1heLAyoUSfOmUXnZMYMjxyKXiAEt2B_77ZcnlQgJYb4KJHXL7ggb5h6qxKSNuWCWsWG6Qz3RUtVZeviQlI22rSY7UUYaIwjdLw,,&typo=1
--
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://linkprotect.cudasvc.com/url?a=https%3a%2f%2flists.midrange.com%2fmailman%2flistinfo%2frpg400-l&c=E,1,_SOFbG6xzWa3CR6XnN3SfSF_JEd6_1mxhZLOy5Eq5xo4b0RlL7Wf1Ip6W_5oSbUOmcU9uH6QqC8ZQUIS6mXcTE1jjGhHq9Eo8fbdqmPtAoerEg,,&typo=1
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://linkprotect.cudasvc.com/url?a=https%3a%2f%2farchive.midrange.com%2frpg400-l.&c=E,1,V6Mp_Pwgg8vYUxAa4Cw9GkHrb158yB1HKTM8X786l9BMlMq2rTzsopBEqaWQ_6__B2SGtIbNMEhSthoyA4BGdlEqfmEpjy9ZSW5Hd_HHcve35w,,&typo=1
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.
Help support
https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fmidrange.com&c=E,1,-UxWaZ2fTjAh66pgIxc07j7oC4RkGTMOtLGv_vDwTrQ-wG6Rt764FmR5Okr8_T8DXP4qXr50ST6qXY1xUKWOfiXxyXU3fMGcJoI30ierf8r-7AUIfVyi-n-CGr8,&typo=1 by shopping at amazon.com with our affiliate link:
https://linkprotect.cudasvc.com/url?a=https%3a%2f%2famazon.midrange.com&c=E,1,8pYTM8494B3-iZXZz_hLJome-BeaUzC_lKwPPDiRtMhE6Usxezgfq1kkdfu2CZ68oVY37HaHmNR4eoRkr7SfrCVxLkfBNOJEqUVBObRMYJ_Au_JsfWiq&typo=1
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.
As an Amazon Associate we earn from qualifying purchases.