Index: 2, Size: 2, Index: 1, Size: 1 Error in coldfusion -
i observing strange error in coldfusion application. error appears sometime , after page refresh gone away. error not tied particular page within application. appears randomly in page.please suggest me how correct it.
note: appears sometime not always. coldfusion server: 10.8 web server: iis 7 os : window 7
stack trace information
the following information meant website developer debugging purposes. error occurred while processing request index: 2, size: 2 resources: check coldfusion documentation verify using correct syntax. search knowledge base find solution problem. browser mozilla/5.0 (windows nt 6.1; rv:20.0) gecko/20100101 firefox/20.0 remote address 127.0.0.1 referrer http://mysite.url/index.cfm?action=users&displaymode=users&tagid=0&cfid=151062&cftoken=23d66b7903e3662d-80df390f-0c45-8090-0a2df20c76367e1f date/time 05-apr-13 07:26 pm stack trace java.lang.indexoutofboundsexception: index: 2, size: 2 @ java.util.arraylist.rangecheck(arraylist.java:604) @ java.util.arraylist.get(arraylist.java:382) @ coldfusion.monitor.util.monitorlist.add(monitorlist.java:133) @ coldfusion.monitor.memory.sessionmemorymonitor.record(sessionmemorymonitor.java:68) @ coldfusion.monitor.memory.sessionmemorymonitor.record(sessionmemorymonitor.java:53) @ coldfusion.monitor.memory.memorymonitor.record(memorymonitor.java:279) @ coldfusion.monitor.memory.memoryrequesteventhandler.onrequestcomplete(memoryrequesteventhandler.java:23) @ coldfusion.monitor.event.requestmonitoreventprocessor.onrequestcomplete(requestmonitoreventprocessor.java:283) @ coldfusion.filter.monitoringfilter.invoke(monitoringfilter.java:46) @ coldfusion.filter.pathfilter.invoke(pathfilter.java:112) @ coldfusion.filter.licensefilter.invoke(licensefilter.java:30) @ coldfusion.filter.exceptionfilter.invoke(exceptionfilter.java:94) @ coldfusion.filter.clientscopepersistencefilter.invoke(clientscopepersistencefilter.java:28) @ coldfusion.filter.browserfilter.invoke(browserfilter.java:38) @ coldfusion.filter.nocachefilter.invoke(nocachefilter.java:46) @ coldfusion.filter.globalsfilter.invoke(globalsfilter.java:38) @ coldfusion.filter.datasourcefilter.invoke(datasourcefilter.java:22) @ coldfusion.filter.cachingfilter.invoke(cachingfilter.java:62) @ coldfusion.cfmservlet.service(cfmservlet.java:219) @ coldfusion.bootstrap.bootstrapservlet.service(bootstrapservlet.java:89) @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:305) @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:210) @ coldfusion.monitor.event.monitoringservletfilter.dofilter(monitoringservletfilter.java:42) @ coldfusion.bootstrap.bootstrapfilter.dofilter(bootstrapfilter.java:46) @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:243) @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:210) @ org.apache.catalina.core.standardwrappervalve.invoke(standardwrappervalve.java:224) @ org.apache.catalina.core.standardcontextvalve.invoke(standardcontextvalve.java:169) @ org.apache.catalina.authenticator.authenticatorbase.invoke(authenticatorbase.java:472) @ org.apache.catalina.core.standardhostvalve.invoke(standardhostvalve.java:168) @ org.apache.catalina.valves.errorreportvalve.invoke(errorreportvalve.java:98) @ org.apache.catalina.valves.accesslogvalve.invoke(accesslogvalve.java:928) @ org.apache.catalina.core.standardenginevalve.invoke(standardenginevalve.java:118) @ org.apache.catalina.connector.coyoteadapter.service(coyoteadapter.java:414) @ org.apache.coyote.ajp.ajpprocessor.process(ajpprocessor.java:204) @ org.apache.coyote.abstractprotocol$abstractconnectionhandler.process(abstractprotocol.java:539) @ org.apache.tomcat.util.net.jioendpoint$socketprocessor.run(jioendpoint.java:298) @ java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor.java:1110) @ java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:603) @ java.lang.thread.run(thread.java:722)
code comments
<cfset sitearray = arraynew (1)> <cfloop query="getsites"> <cfset obj = structnew ()> <cfset obj.id = getsites.id> <cfset obj.title = getsites.title> <cfset obj.siteurl = getsites.siteurl> <cfset obj.layoutid = getsites.layoutid> <cfset t = arrayappend (sitearray, obj)> <cfset tokenname = obj.siteurl> <cfset tokenname = replace (tokenname, ".", "", "all")> <cfset tokenname = replace (tokenname, "-", "", "all")> <cfset tokenname = "url_#tokenname#"> <cfset "application.#tokenname#" = arraylen (sitearray)> </cfloop>
seems monitoring causing this. i've been monitoring server afternoon , left monitoring "on". turning off monitoring resolves weird issue :-)
found answer here :
Comments
Post a Comment