EGL1002E program_name failed. A public method, field, or class named object_name does not exist or cannot be loaded, or the number or types of parameters are incorrect. The error message is error_text.

Explanation

The method, field, or class used by a Java™ access function could not be found.

User Response

Do as follows:
  • Make sure the target is a public method, field, or class.
  • Make sure the name of the method, field, or class is correct. Class names must be qualified with the name of their package.
  • If the problem is a missing class and the name is correct, make sure the directory or archive containing the class is in the Java classpath.
  • If the problem is a missing method and the name is correct, make sure the types and number of parameters are correct. Compare the values passed to the Java access function with the values expected by the method.

Feedback