My Oracle Support Banner

E-PC: Getting the exception error "Java field not found in the class" When the Java Fields Inherited From Another Java Class Using PeopleCode (Doc ID 2869732.1)

Last updated on MAY 18, 2022

Applies to:

PeopleSoft Enterprise PT PeopleTools - Version 8.59 and later
Information in this document applies to any platform.


In PT 8.59, Unable to Set values to java fields inherited from java class using Peoplecode

When trying to integrate any external application like IBM MQ with Peoplesoft using Peoplecode, it was found that it does not set values to the Java fields inherited from another Java Class.
However we can set values the java fields which is not inherited from another java class.

Here is reference example for one of the scenario:

IBM MQ doc reference :

     public class MQMS
     extends MQMD

The sample Code 1
   Local JavObject &MQMS ;                               -- inherited from MDMD
   &MQMS = CreateJavaObject("") ;
   &MQMS.encoding=546 ;
   ==> Getting exception error  "Java field not found in the class".

The sample Code 2

   Local JavObject &MQMD;
   &MQMD = CreateJavaObject("") ;
   &MQMD.encoding=546 ;
   ==> It works.




To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.