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
implements java.io.DataInput, java.io.DataOutput
The sample Code 1
Local JavObject &MQMS ; -- inherited from MDMD
&MQMS = CreateJavaObject("com.ibm.mq.MQMessage") ;
==> Getting exception error "Java field not found in the class".
The sample Code 2
Local JavObject &MQMD;
&MQMD = CreateJavaObject("com.ibm.mq.MQMD") ;
==> 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