I'm experiencing the same error. No solution yet here - did you find a
solution to this Markus?
----- Original Message -----
From: "Markus Loeffler" <[EMAIL PROTECTED]>
To: "JRun-Talk" <[EMAIL PROTECTED]>
Sent: Monday, May 07, 2001 1:11 PM
Subject: ArrayIndexOutOfBoundsException when JSP is requested for the first
time
> Hi,
>
> we have a very simple JSP that causes an ArrayIndexOutOfBoundsException:
>
> <%@ page import="our.package.*" %>
> <jsp:useBean id="myObject" class="MyClass" scope="session" />
>
>
> java.lang.ArrayIndexOutOfBoundsException
> at
>
allaire.jrun.jsp.JSPLineNumberTable.getSourceLine(JSPLineNumberTable.java:48
> )
> at
> allaire.jrun.jsp.JSPServlet.processCompileErrors(JSPServlet.java:504)
> at allaire.jrun.jsp.JSPServlet.compilePage(JSPServlet.java:467)
> at allaire.jrun.jsp.JSPServlet.createServlet(JSPServlet.java:399)
> at allaire.jrun.jsp.JSPServlet.loadPage(JSPServlet.java:202)
> at allaire.jrun.jsp.JSPServlet.service(JSPServlet.java:169)
> at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1013)
> at allaire.jrun.servlet.JRunSE.runServlet(JRunSE.java:925)
> at
>
allaire.jrun.servlet.JRunRequestDispatcher.forward(JRunRequestDispatcher.jav
> a:88)
> at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1131)
> at allaire.jrun.servlet.JvmContext.dispatch(JvmContext.java:330)
> at allaire.jrun.jrpp.ProxyEndpoint.run(ProxyEndpoint.java:367)
> at allaire.jrun.ThreadPool.run(ThreadPool.java:272)
> at allaire.jrun.WorkerThread.run(WorkerThread.java:75)
>
>
> The exception occurs only when the page is accessed for the first time
after
> it has been modified. If we reload the page, it works. The reason seems to
> be that MyClass is a very large class. Looks like JRun tries to use the
> object before it has been fully created.(?)
>
> What can we do about this error (apart from writing smaller classes)? We
are
> using JRun 3.0 SP1 with IIS on a Windows 2000 server.
>
> Thanks
>
> Markus
> Archives: http://www.mail-archive.com/[email protected]/
> Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists