× 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.



I've seen a lot of posts about this, but I still can't make heads or tails
of it. I have a couple of programs that started throwing these exceptions
lately. I "don't think anything has changed" with these programs or this
class, but I did have a friend walk me through re-compiling a different
class a few weeks ago. I have a feeling it's more than a coincidence.


Here's what I am seeing:


Work with Environment Vars (*JOB)

.:/JAVA:/JAVA/TOOLS:/JAVA/REPORTS:/JAVA/jt400.jar:


================================

Additional Message Information

Message ID . . . . . . : RNX0301 Severity . . . . . . . : 50
Message type . . . . . : Escape
Date sent . . . . . . : 01/28/08 Time sent . . . . . . : 08:53:01


Message . . . . : Java exception received when calling Java method.
Cause . . . . . : RPG procedure PID06 in program KENPROD/PID06 received
Java
exception "java.lang.NoSuchMethodError: writeDetailRows" when calling
method
"writeDetailRows" with signature

"(Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;Lj

ava.lang.String;Ljava.lan" in class "Reports.LastTwoST".
Recovery . . . : Contact the person responsible for program maintenance
to
determine the cause of the problem.
Technical description . . . . . . . . : If the exception indicates that
the
Java class was not found, ensure the class for the method is in the
class
path. If the exception indicates that the Java method was not found,
check
the method name and signature. If the signature is not correct, change
the
RPG prototype for the method, or change the Java method, so that the
return
type and parameter types match. You can determine the signatures for all
the
methods in class XYZ using command QSH CMD('javap -s XYZ').


==========================



Compiled from "LastTwoST.java"

public class Reports.LastTwoST extends java.lang.Object{

public Reports.LastTwoST();
Signature: ()V

public Reports.LastTwoST(java.lang.String);
Signature: (Ljava/lang/String;)V

public Reports.LastTwoST(java.lang.String,java.lang.String);
Signature: (Ljava/lang/String;Ljava/lang/String;)V

public void
writeHeader(java.lang.String,java.lang.String,java.lang.String);
Signature: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V


public void writePageHeader(java.lang.String);
Signature: (Ljava/lang/String;)V

public void writeAtsFooter(java.lang.String);
Signature: (Ljava/lang/String;)V

public void writeImage(java.lang.String);
Signature: (Ljava/lang/String;)V

public void
writeDetailRows(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String
,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String);

Signature:
(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/l
ang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

public void writeDetailTable();
Signature: ()V
public com.lowagie.text.Phrase getFPhrase(java.lang.String);
Signature: (Ljava/lang/String;)Lcom/lowagie/text/Phrase;

public com.lowagie.text.pdf.PdfPCell getImage(java.lang.String);
Signature: (Ljava/lang/String;)Lcom/lowagie/text/pdf/PdfPCell;

public void createDocument(java.lang.String);
Signature: (Ljava/lang/String;)V

public void createDocument(java.lang.String,java.lang.String);
Signature: (Ljava/lang/String;Ljava/lang/String;)V

public void closeDocument();
Signature: ()V

public void newPage();
Signature: ()V

public com.lowagie.text.pdf.PdfPTable getHeaderTable1();
throws com/lowagie/text/DocumentException
Signature: ()Lcom/lowagie/text/pdf/PdfPTable;

public com.lowagie.text.pdf.PdfPTable getHeaderTable2();
throws com/lowagie/text/DocumentException
Signature: ()Lcom/lowagie/text/pdf/PdfPTable;

public com.lowagie.text.pdf.PdfPTable getHeaderTable3();
throws com/lowagie/text/DocumentException
Signature: ()Lcom/lowagie/text/pdf/PdfPTable;

public com.lowagie.text.pdf.PdfPTable getDetailTable1();
throws com/lowagie/text/DocumentException
Signature: ()Lcom/lowagie/text/pdf/PdfPTable;

public com.lowagie.text.pdf.PdfPTable getDetailTable2();
throws com/lowagie/text/DocumentException
Signature: ()Lcom/lowagie/text/pdf/PdfPTable;

public com.lowagie.text.pdf.PdfPTable getFooterTable1();
throws com/lowagie/text/DocumentException
Signature: ()Lcom/lowagie/text/pdf/PdfPTable;

public com.lowagie.text.pdf.PdfPTable getFooterTable2();
throws com/lowagie/text/DocumentException
Signature: ()Lcom/lowagie/text/pdf/PdfPTable;

public com.lowagie.text.pdf.PdfPTable getImageTable();
throws com/lowagie/text/DocumentException
Signature: ()Lcom/lowagie/text/pdf/PdfPTable;

public com.lowagie.text.pdf.PdfPTable getOuterTable();
throws com/lowagie/text/DocumentException
Signature: ()Lcom/lowagie/text/pdf/PdfPTable;

public com.lowagie.text.pdf.PdfPTable getAtsFooterTable();
throws com/lowagie/text/DocumentException
Signature: ()Lcom/lowagie/text/pdf/PdfPTable;

public com.lowagie.text.pdf.PdfPCell getEmptyCell();
Signature: ()Lcom/lowagie/text/pdf/PdfPCell;

public com.lowagie.text.pdf.PdfPCell getHeaderCell();
Signature: ()Lcom/lowagie/text/pdf/PdfPCell;
static {};
Signature: ()V
}


===========================


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.