|
No because user can process the file again after few retries. Files are
on QNTC.
On Tue, Jul 23, 2019 at 2:39 PM Scott Klement <rpg400-l@xxxxxxxxxxxxxxxx>
wrote:
The error message seems to be saying that the file isn't a valid Excel
workbook. (It references OLE2 stream, which would be a .XLS file, or
OOXML which would be .XLSX... it says it is neither of these things.)
Could that be what is happening? A bad file?
On 7/23/2019 10:56 AM, Mohammad Tanveer wrote:
Scott/RPG team,and
We have been using HSSFR4 utiities for a long time without any problem
all of a sudden we see following errors intermittently meaningsometime
it works sometimes it doesn'treceived
...
Message ID . . . . . . : RNX0301
Date sent . . . . . . : 07/23/19 Time sent . . . . . . : 10:21:37
Message . . . . : Java exception received when calling Java method.
Cause . . . . . : RPG procedure SS_OPEN in program USERUL/HSSFR4
Java exception "java.lang.IllegalArgumentException: Your InputStream was"create"
neither an OLE2 stream, nor an OOXML stream" when calling method
with signaturet
"(Ljava.io.InputStream;)Lorg.apache.poi.ss.usermodel.Workbook;" in class
"org.apache.poi.ss.usermodel.WorkbookFactory".
Recovery . . . : Contact the person responsible for program maintenance
determine the cause of the problem.th
Technical description . . . . . . . . : If the exception indicates that
Java class was not found, ensure the class for the method is in theclass
path. If the exception indicates that the Java method was not found,check
10:24:04 AMreceived
Message ID . . . . . . : RNX0301
Date sent . . . . . . : 07/23/19 Time sent . . . . . . : 10:32:37
Message . . . . : Java exception received when calling Java method.
Cause . . . . . : RPG procedure SS_OPEN in program USERUL/HSSFR4
Java exception "java.io.IOException: System call error number 3004.■"when
calling method "create" with signatureto
"(Ljava.io.InputStream;)Lorg.apache.poi.ss.usermodel.Workbook;" in class
"org.apache.poi.ss.usermodel.WorkbookFactory".
Recovery . . . : Contact the person responsible for program maintenance
determine the cause of the problem.the
Technical description . . . . . . . . : If the exception indicates that
Java class was not found, ensure the class for the method is in theclass
path. If the exception indicates that the Java method was not found,check
the method name and signature. If the signature is not correct, changethe
--
Regards
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@xxxxxxxxxxxx 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 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.