I haven't seen these types of exceptions before in a production application. I have seen strange things like this when people have upgraded their framework version and did not restart the CFML engine or did not clear the template cache (as noted in the README bundled with the framework).
If you answer these questions, we might be able to figure out what is going on: * What version of Mach-II are you running? (We are currently supporting three versions of the framework at the moment) * Are you using mach-ii.cfc or mach-ii.cfm bootstrapper? * What does your onApplicationStart() method look like? Remember getProperty() is not available until the onApplicationStart() method has finished. * Are you running any threads (cfthread)? * Where are you getting these or what are you doing in your application when get these exceptions? * Are you using these directly on screen or in logs? * Can you provide a stack trace for these kind of exceptions? .pjf [email protected] said the following on 08/31/2009 12:51 PM: > I was wondering if anyone has come across this error before? > > Element [directory name] is undefined in a Java object of type class > coldfusion.runtime.ApplicationScope. <br>The error occurred on line > 179.<br> > > Where [directory name] can be any directory in the root of my site. I > get this error on average about 10 times a day. The site is never > restarted so I'm not sure what could be causing this. > > Line 179 of the mach-ii.cfc is part of the getAppManager method. > > <cfreturn application[getAppKey()].appLoader.getAppManager() /> to be > exact. > > Any help with this would be much appreciated. > > - Brandon Culpepper > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to Mach-II for CFML list. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/mach-ii-for-coldfusion?hl=en SVN: http://greatbiztoolsllc.svn.cvsdude.com/mach-ii/ Wiki / Documentation / Tickets: http://greatbiztoolsllc.trac.cvsdude.com/mach-ii/ -~----------~----~----~----~------~----~------~--~---
