Once in a while I see this error e-mail from our production environment, containing the following error:
MESSAGE: key [NAME] doesn’t exist (existing keys:postalcode)
D:\www\coldbox\system\web\flash\AbstractFlashScope.cfc:
88: for(x=1; x lte scopeKeysLen; x++){
89: // check if purging and remove
90: if( structKeyExists(scope, scopeKeys[x]) AND scope[ scopeKeys[x] ].autoPurge ){
91: structDelete(scope, scopeKeys[x]);
92: }
D:\www\coldbox\system\web\flash\AbstractFlashScope.cfc:
141:
142: // Clear Flash Storage
143: clearFlash();
144:
145: return this;
D:\www\coldbox\system\web\services\RequestService.cfc:
116: instance.log.debug(“Flash RAM detected, inflating flash…”);
117: }
118: instance.flashScope.inflateFlash();
119: }
120:
D:\www\coldbox\system\Coldbox.cfc:
179:
180: <!— Create Request Context & Capture Request —>
181:
182:
183: <!— Debugging Monitors & Commands Check —>
D:\www\Application.cfc:
79: <!— Process A ColdBox Request Only —>
80: <cfif findNoCase(‘index.cfm’, listLast(arguments.targetPage, ‘/’))>
81: <cfset processColdBoxRequest()>
82:
83:
Other people experiencing the same error? Or someone knows how to solve it?
In most cases it happens on places where multiple ajax request are started simultaneously. Maybe this function is not thread safe?
Yes, I experience the exact same issue! It is also intermittent and it is also related to ajax requests.
There’s an existence check before it references it-- I wonder if two threads are hitting that code at the same time and the value is getting deleted in the middle of the if statement. Maybe some locking needs to be employed to ensure only one thread does the purge at a time. Can you put in a ticket for that?
Thanks!
~Brad
ColdBox Platform Evangelist
Ortus Solutions, Corp
E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com
Brad,
I feel dumb. I signed up for an account via the link to Bug Reports in your email signature, and I cannot for the life of me figure out how to submit a ticket/report/issue/bug on Atlassian.
I certainly would love to assist with getting this bug fixed… if I could only figure out how to submit the bug! Sorry!
Jamie
Assuming you are logged in, there should be a giant green button in the header called “create” Click that and ensure you choose the correct project. If you don’t see that button, please send a screenshot of what you do see.
Thanks!
~Brad
ColdBox Platform Evangelist
Ortus Solutions, Corp
E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com
Yep, you don’t have the button. Jira must have changed the default groups that it gives to new users. grumble.
Log in again please and tell me if you now have the green “Create” button.
Thanks!
~Brad
ColdBox Platform Evangelist
Ortus Solutions, Corp
E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com
Working now. I’ll log the issue.