I have been seeing the following error in our logs frequently after upgrading to ColdBox 3.5 beta. In this particular instance, it is using the “session” scope and the thought occurs to me that perhaps the problem can be fixed by locking that scope before running the structDelete function. I have put this in place on our server, but since I cant get a consistent duplication, I am watching the logs to see if the issue is resolved.
Does anyone have any thoughts on this, or is there any other information I should provide to further illuminate the issue? Maybe I am just using something incorrectly, but I am not sure what it would be.
Oops! Exception Encountered### Application Execution ExceptionError Type: java.util.ConcurrentModificationException : [N/A]
Error Messages:
Tag Context:
ID: CF_CASEINSENSITIVEMAP
LINE: 84
Template: C:\Projects\kostizi\coldbox\system\web\flash\AbstractFlashScope.cfc
ID: CF_UDFMETHOD
LINE: 133
Template: C:\Projects\kostizi\coldbox\system\web\flash\AbstractFlashScope.cfc
ID: CF_TEMPLATEPROXY
LINE: 118
Template: C:\Projects\kostizi\coldbox\system\web\services\RequestService.cfc
ID: CF_TEMPLATEPROXY
LINE: 179
Template: C:\Projects\kostizi\coldbox\system\Coldbox.cfc
ID: CF_UDFMETHOD
LINE: 55
Template: C:\Projects\kostizi\Application.cfc
Framework Snapshot
Current Event: ajax.getMerchantList
Current Layout: N/A (Module: )
Current View: N/A
Bug Date: 03/12/2012 03:52:52 PM
Coldfusion ID: CFID= ; CFToken= ; JSessionID=84303adf17698a979e446219426a2f5e2a2a
Template Path : C:\Projects\kostizi\index.cfm
Path Info :
Host & Server: www.kostizi.com WIN-KOSTIZI
Query String:
Referrer: https://www.kostizi.com/boGC/dspCertificateUpdate/1514
Browser: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/536.3 (KHTML, like Gecko) Chrome/19.0.1061.1 Safari/536.3
Remote Address: 64.244.90.66
Form variables:
MICROSITEONLY: 0
MPFILTER: 24
EVENT: ajax.getMerchantList
RENDERTYPE: json
Session Storage:
mpFilter: 24
boIsSuperAdmin: 1
boUserId: 15
qPartnerPreferences: qPartnerPreferences [complex]
boPartnerName: Kostizi
boRedirectString: boGC.dspCertificateTypesList
boUser:
mpId: 1
boIsDeveloper: 1
boMediaPartnerId: 1
baseURL: https://www.kostizi.com
boLoginStatus: ok
Cookies:
__unam: bdaa7f2-12dcdfc0557-776d4245-109
__qca: P0-830092219-1317655531772
s_dslv: 1320166738596
CFID: 108808113
CFTOKEN: 77227087
JSESSIONID: 84303adf17698a979e446219426a2f5e2a2a
__utma: 232597824.563824848.1299711035.1331580502.1331586570.1134
__utmb: 232597824.5.10.1331586570
__utmc: 232597824
__utmz: 232597824.1331570333.1130.480.utmcsr=kostizi.com|utmccn=(referral)|utmcmd=referral|utmcct=/boDailyDeals/dspDailyDeals
Stack Trace:
java.util.ConcurrentModificationException
at java.util.HashMap$HashIterator.nextEntry(HashMap.java:793)
at java.util.HashMap$KeyIterator.next(HashMap.java:828)
at java.util.AbstractCollection.toArray(AbstractCollection.java:171)
at coldfusion.util.CaseInsensitiveMap$FastHashKeyEnumerator.
Extra Information Dump
[N/A]