EGL1007E function_name failed. Could not get information about the method or field named field_name, or an attempt was made to set the value of a field declared final. The error message is error_text.

Explanation

A SecurityException or IllegalAccessException was thrown while trying to get information about the method or field, or an attempt was made to set the value of a field declared final. Fields declared final cannot be modified.

User Response

Do as follows:
  • If the problem happened when setting a value, change the program logic so the code does not try to set the value of a field declared final; alternatively, change the declaration of the field.
  • If the problem was access to information, ask a system administrator to update the security policy file of the Java™ Virtual Machine so that your program has the necessary permission. The administrator probably needs to grant the ReflectPermission "suppressAccessChecks".

Feedback