So it's been ~48 hours since I changed references from "local" to "local2" in EHCacheProvider.cfc and no errors so far.
The errors occurred when bots were indexing the site so I'm telling myself that CF9 sporadically gets confused every now and then if you use "local". Maybe I'll adopt using "_local" instead of "local2" and avoid any conflict with built in "local" altogether. - Gabriel On Tue, Jan 26, 2010 at 6:50 PM, Bob Silverberg <[email protected]> wrote: > Could this be similar to the problem I was having with a struct-based > collection in an ORM entity that we discussed the other day? I've > been meaning to write a post about it but haven't gotten around to it > yet. > > Bob > > On Tue, Jan 26, 2010 at 6:30 PM, Mark Mandel <[email protected]> wrote: >> That is really weird. >> >> Maybe StructKeyExists() doesn't work the same on local scope as it does on >> regularl structures in CF9. >> >> I will have to check that out. >> >> Mark >> >> On Tue, Jan 26, 2010 at 11:15 PM, Dorioo <[email protected]> wrote: >>> >>> 1. I've received the third entry, different place. "Element ELEMENT is >>> undefined in LOCAL." on >>> \transfer\com\cache\provider\EHCacheProvider.cfc:156) >>> >>> 2. I'll be changing all references of "local" to "local2" and observing >>> the behavior. Again, it happens sporadically and not often but I've >>> experienced it happening at least once per day right now. Will report back. >>> >>> - Gabriel >>> >>> On Mon, Jan 25, 2010 at 8:11 PM, Dorioo <[email protected]> wrote: >>>> >>>> Hmm. Just got another one but different place this time. ""Element >>>> ELEMENT is undefined in a Java object of type class [Ljava.lang.String;." >>>> >>>> \transfer\com\cache\provider\EHCacheProvider.cfc:180 >>>> >>>> Code again has to do with "local" >>>> >>>> if(structKeyExists(local, "element")) >>>> { >>>> return local.element.getObjectValue(); >>>> } >>>> >>>> - Gabriel >>>> >>>> On Mon, Jan 25, 2010 at 10:18 AM, gabriel <[email protected]> wrote: >>>>> >>>>> A. I've intermittently received the error "Element OBJECT is undefined >>>>> in LOCAL." on line 356 of ehCacheProvider.cfc. Considering that the >>>>> code right before it checks if "object" is in local, my current >>>>> speculation is that it has something to do with CF9's "local" scope >>>>> conflicting with "local" being declared there. >>>>> >>>>> It's happened twice in the past 48 hours and I am not able to >>>>> reproduce it. If it happens a third time at some point in the near >>>>> future, I'll change "local" in the discardElement() function to >>>>> another name and report back whether it went away. >>>>> >>>>> B. Tag context >>>>> >>>>> \transfer\com\cache\provider\EHCacheProvider.cfc:356 >>>>> \transfer\com\cache\provider\EHCacheProvider.cfc:297 >>>>> \transfer\com\cache\provider\EHCacheProvider.cfc:152 >>>>> \transfer\com\cache\CacheManager.cfc:69 >>>>> \transfer\com\Transfer.cfc:694 >>>>> \transfer\com\Transfer.cfc:106 >>>>> \transfer\com\Transfer.cfc:812 >>>>> \transfer\com\Transfer.cfc:552 >>>>> >>>>> - Gabriel >>> >>> -- >>> Before posting questions to the group please read: >>> >>> http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions-on-transfer >>> >>> You received this message because you are subscribed to the Google Groups >>> "transfer-dev" group. >>> 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/transfer-dev?hl=en >> >> >> -- >> E: [email protected] >> T: http://www.twitter.com/neurotic >> W: www.compoundtheory.com >> >> Hands-on ColdFusion ORM Training @ cf.Objective() 2010 >> www.ColdFusionOrmTraining.com/ >> >> -- >> Before posting questions to the group please read: >> http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions-on-transfer >> >> You received this message because you are subscribed to the Google Groups >> "transfer-dev" group. >> 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/transfer-dev?hl=en > > > > -- > Bob Silverberg > www.silverwareconsulting.com > > Hands-on ColdFusion ORM Training @ cf.Objective() 2010 > www.ColdFusionOrmTraining.com > > -- > Before posting questions to the group please read: > http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions-on-transfer > > You received this message because you are subscribed to the Google Groups > "transfer-dev" group. > 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/transfer-dev?hl=en -- Before posting questions to the group please read: http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions-on-transfer You received this message because you are subscribed to the Google Groups "transfer-dev" group. 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/transfer-dev?hl=en
