Hi folks,
I get a java.lang.ArrayIndexOutOfBoundsException when I add a new application variable.
Message
|
18 |
Cause |
java.lang.ArrayIndexOutOfBoundsException |
The stacktrace highlights the new application variable.
I have a list of application variables that I set depending on what environment the application is running.
When a "reset=true" is added to the url I do a applicationStop() in the onRequestStart, so I can set the variables again. This works fine when I change a variable, but when I add a new one I get this error. Also using StructClear does not work.
However when I restart Lucee, it just works fine. Obviously Lucee holds an array of application variables that does not seem to get resized to the right index (in this case index 18).
In ACF this works fine though.
I appreciate your ideas on how I could fix this without restarting Lucee.
Marcel Dix