I figured out how to fix a NullPointerException in objectload/objectsave
that prevents you from serializing and restoring udf functions that are
outside of a CFC in Railo 4.2 / Lucee 4.5.
Objectsave/objectload lets me preserve application cache and session state
between reboots (along with my custom session handler) to minimize
disruption to users, and still use the faster native memory access instead
of memcache, database, etc.
I think this bug started when the new cffunction cachedWithin=“request”
feature was added, because this wasn’t broken in older versions of Railo 4.