EGL Reference Guide for iSeries
VGJ1007E: %1 failed. Could not get information about the
method or field named %2, or an attempt was made to set the value of a field
declared final. The error message is %3
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".
[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]
(C) Copyright IBM Corporation 1992, 2005. All Rights Reserved.