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



Maybe a stupid questions, but are you sure you have your classpath setup
correctly and you're using the newest Java class?
--
James R. Perkins


On Tue, Mar 8, 2011 at 11:48, <mikemonger@xxxxxxx> wrote:


I'm not getting a stack trace, since the method is never getting invoked.

Here's the error I'm receiving:

Message ID . . . . . . : RNX0301
Date sent . . . . . . : 03/08/11 Time sent . . . . . . :
14:19:22

Message . . . . : Java exception received when calling Java method.

Cause . . . . . : RPG procedure GWBA09D5 in program MXMLIB/GWBA09D5
received
Java exception "java.lang.NoSuchMethodError: resendOrder" when calling
method "resendOrder" with signature
"(Ljava.lang.String;Ljava.lang.String;)Ljava.lang.String;" in class
"com.WMS_BPCS_Integrator.executable.ResendOrder".

Which, based on all the documentation I've been reading, means the
signatures don't match. But here's the result from the javap command:

Compiled from "ResendOrder.java"
public class com.WMS_BPCS_Integrator.executable.ResendOrder extends
java.lang.Object{
public com.WMS_BPCS_Integrator.executable.ResendOrder();
Signature: ()V
public static java.lang.String resendOrder(java.lang.String,
java.lang.String
);
Signature: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
}

Press ENTER to end terminal session.

As far as I can tell, the signatures match. I haven't misspelled the
method name. And the class is being found (I tested that by changing the
class name in the procedure and got a class not found error). Maybe there's
something odd about the configuration on this iSeries or something. I don't
know. But regardless of how I configure this, I get the same error over and
over and over again.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.