Object undefined in a Java object of type class [Ljava.lang.String; referenced as ''
Hi all
Does anyone have any advice to offer on an annoying problem? I've been googling it and although it seems to turn up a lot, no-one seems to know what exactly is happening nor how to stop it.
OnApplicationStart()
I initialise a CFC into the app scope, thus:
application.stuObjs.SecurityManager = createObject("component", "#application.stuConfig.comPath#.SecurityManager").init(dsn=application.stuConfig.dsn);
OnRequestStart()
Because I'm still in development, I re-init the app scope on every request, thus:
<cfset onApplicationStart() />
All is good, the application runs sweetly. Except that every once in a blue-moon, one of my testers gets an error telling him/her that:
Element stuObjs.SecurityManager is undefined in a Java object of type class [Ljava.lang.String; referenced as ''
And on refreshing the browser, the error goes away and the application behaves normally again.
So, what's happening? Is it that the object is just momentarily missing from the app scope? If so, why? And what can I do to guard against it??
/jf
