Looks like an array is missing a value. I have seen the -1 error before and
most of the time (in my case) it has to do with an array missing a value.

These point to an array issue too:

>>java.lang.IndexOutOfBoundsException : Index: 2, Size: 2
>>java.util.ArrayList.RangeCheck(ArrayList.java:547)



btw I love the "on line  -1" error.

HTH

G!

On Wed, Jan 20, 2010 at 1:19 PM, Kyle McLean <[email protected]> wrote:

>
> I'm currently debugging a project, and every so often I'll get a troubling
> error reported from CF:
>
> Index: 2, Size: 2 null
> body: The error occurred on line -1.
>
> In the CF server monitor the error appears as such:
> java.lang.IndexOutOfBoundsException : Index: 2, Size: 2
>
> This error comes up very sporadically: enough that it's a nuisance and can
> cause trouble for the users, but not frequently enough that I can isolate
> it, replicate it, and fix it. It's also fleeting: I'll get the error on a
> page, refresh it several times, and it'll never come up again.
>
> It appears to be memory-related, based on some Google searches and the Java
> stack trace. I'm using ColdFusion 8 enterprise, so I wouldn't think it'd be
> related to some of the earlier issues that CFMX (6) had that I found.
>
> Has anyone else had this type of error occur to them? If so, did you fix it
> and how? I'm not sure if this is caused by code (e.g. an inefficient query,
> a mangled CF statement etc., locking issues), a lack of system resources, or
> a server configuration issue. The test server I'm working on has several
> other CF apps running on it, but the machine is quite beefy (Xeon Quad-Core
> CPU at 3.6 GHz, 4 GB of RAM, Windows Server 2003) for a test box that should
> only have at max 10-15 users on it at a time. I appreciate any help that
> anyone can offer.
>
> Stack Trace:
> java.util.ArrayList.RangeCheck(ArrayList.java:547)
> at java.util.ArrayList.get(ArrayList.java:322)
> at coldfusion.monitor.util.MonitorList.add(MonitorList.java:131)
> at
> coldfusion.monitor.memory.SessionMemoryMonitor.record(SessionMemoryMonitor.java:49)
> at
> coldfusion.monitor.memory.SessionMemoryMonitor.record(SessionMemoryMonitor.java:37)
> at coldfusion.monitor.memory.MemoryMonitor.record(MemoryMonitor.java:261)
> at
> coldfusion.monitor.memory.MemoryRequestEventHandler.onRequestComplete(MemoryRequestEventHandler.java:23)
> at
> coldfusion.monitor.event.RequestMonitorEventProcessor.onRequestComplete(RequestMonitorEventProcessor.java:246)
> at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:46)
> at coldfusion.filter.PathFilter.invoke(PathFilter.java:86)
> at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70)
> at coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:74)
> at
> coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)
> at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
> at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46)
> at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
> at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
> at coldfusion.CfmServlet.service(CfmServlet.java:175)
> at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
> at jrun.servlet.FilterChain.doFilter(FilterChain.java:86)
> at
> coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42)
> at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
> at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)
> at jrun.servlet.FilterChain.service(FilterChain.java:101)
> at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)
> at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
> at
> jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:284)
> at
> jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)
> at
> jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203)
> at
> jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)
> at
> jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
> at
> jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)
> at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
>
> CF Version: 8,0,0,176276 (Enterprise)
> Java Version: 1.6.0_01
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:329840
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to