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



Ashish Kulkarni wrote:
> 
> Hi
> After applying the PTF i get the following error,
> although the program works great when i call it from
> CL, and does not work when i call from RPG
> I am going to post the java code also
> How can i find out which line the error occured
> 

There's no way currently to get a stack trace when RPG calls Java and
the call fails.  To debug this, you could try writing a little Java
class something like this:

import javax.xml.*;   // just guessing about this import
class rpgCallConvertXML2PDF {
   static void doTheCall(XML2PDF obj) {
      try {
         obj.convertXML2PDF();     
      }
      catch (Exception e) {
         e.printStackTrace();
}  }  }

Then have your RPG program call your doTheCall method instead of calling
convertXML2PDF the way it is now.  If the call to convertXML2PDF fails,
you'll be able to get the stack trace.


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.