Errors display on creating or updating a function
Errors display when creating a new function or updating any existing function.
The code for static initializer is exceeding 65535 bytes limit
Steps to Reproduce
- Create a new function in the library containing too many RUFs.
- Add the Java source and save the function
In user's environment, the library has 370 Rule-Utility-Functions (RUFs) defined. So the class generated for this library contains all these function definitions in static blocks whose size exceeds the 65535 byte limit. Hence, the error occurs.
Library is a way to group related RUFs (functions). Creating every RUF together in the same library is similar to a flat structure which results in compilation errors. In general, the number of RUFs per library should always be reasonable.
ResolutionPerform the following local-change:
Move some of the RUFs out of the original library to the new one.
0% found this useful