|
This is a multi-part message in MIME format. -- [ Picked text/plain from multipart/alternative ] I have a RPG program that is instantiating a java class. Below is my prototype in my rpg program. D PageText PR O ExtProc(*JAVA:'PageText': D *Constructor) D lines 10I 0 Value D columns 10I 0 Value D streamData O Class(*JAVA: D 'java.io.ByteArrayInputStream') Below is my java constructor. PageText(int lns, int cols, InputStream data) { I am getting the following message : Message ID . . . . . . : RNQ0301 Severity . . . . . . . : 99 Message type . . . . . : Inquiry Date sent . . . . . . : 09/25/02 Time sent . . . . . . : 11:56:02 Message . . . . : Java exception received when calling Java method (C G D F). Cause . . . . . : RPG procedure PAGER in program PAGER/DEON received Java exception "java.lang.NoSuchMethodError: <init>" when calling method "<init>" with signature "(IILjava.io.ByteArrayInputStream;)V" in class "PageText". Recovery . . . : Contact the person responsible for program maintenance to determine the cause of the problem. Could RPG have a problem interpreting a ByteArrayInputStream as an InputStream. This I think would work in java. Could someone help? The information transmitted by the following E-Mail is intended only for the addressee and may contain confidential and/or privileged material. Any interception, review, retransmission, dissemination, or other use, or taking any action upon this information by persons or entities other than the intended recipient is prohibited by law and may subject them to criminal or civil liability. If you received this communication in error, please contact us immediately at 954-730-2900 ext. 7400 and delete the communication from any computer or network system. --
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.