Is it possible to link to compiled JSPs in error messages

I have the following error message:
14:55:30,750 ERROR StandardWrapperValve[jsp]: Servlet.service()
for servlet jsp threw exception
javax.servlet.jsp.el.ELException: The "." operator was supplied with an
index value of type "java.lang.String" to be applied to a List or array,
but that value cannot be converted to an integer.
at org.apache.commons.el.Logger.logError(Logger.java:481)
at org.apache.commons.el.Logger.logError(Logger.java:498)
at org.apache.commons.el.Logger.logError(Logger.java:566)
at org.apache.commons.el.ArraySuffix.evaluate(ArraySuffix.java:227)
at org.apache.commons.el.ComplexValue.evaluate(ComplexValue.java:145)
at
org.apache.commons.el.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:263)
at
org.apache.commons.el.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:190)
at
org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(PageContextImpl.java:899)
at
org.apache.jsp.links.legacy.Links_jsp._jspx_meth_c_set_0(_Links_jsp.java:128_)
at
org.apache.jsp.links.legacy.Links_jsp.access$000(_Links_jsp.java:_7)
at
org.apache.jsp.links.legacy.Links_jsp$Links_jspHelper.invoke0(_Links_jsp.java:214_)
at
org.apache.jsp.links.legacy.Links_jsp$Links_jspHelper.invoke(_Links_jsp.java:281_)
at com.appriss.jxportal.StateTag.doTag(_StateTag.java:72_)
at
org.apache.jsp.links.legacy.Links_jsp._jspx_meth_jxp_state_0(_Links_jsp.java:114_)
at
org.apache.jsp.links.legacy.Links_jsp._jspService(_Links_jsp.java:85_)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)

StateTag.java is a link. Is it possible to make the _*generated
JSPs*_ a link also? I have to manually navigate to a directory to find
the generated .java just to see what it does not like. It would be a
great time saver if I could just click the file to see what it has a
problem with.

I am running JBoss 4.0.1sp1, but probably goes for any Tomcat web container.

1 comment
Comment actions Permalink

I think if you add the directory where your generated jsp/java files are located to your source directories you should be able to link to them.
"Norris Shelton" <nunya@nunya.net> wrote in message news:d5gfgv$abi$1@is.intellij.net...
I have the following error message:
14:55:30,750 ERROR StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception
javax.servlet.jsp.el.ELException: The "." operator was supplied with an index value of type "java.lang.String" to be applied to a List or array, but that value cannot be converted to an integer.
at org.apache.commons.el.Logger.logError(Logger.java:481)
at org.apache.commons.el.Logger.logError(Logger.java:498)
at org.apache.commons.el.Logger.logError(Logger.java:566)
at org.apache.commons.el.ArraySuffix.evaluate(ArraySuffix.java:227)
at org.apache.commons.el.ComplexValue.evaluate(ComplexValue.java:145)
at org.apache.commons.el.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:263)
at org.apache.commons.el.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:190)
at org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(PageContextImpl.java:899)
at org.apache.jsp.links.legacy.Links_jsp._jspx_meth_c_set_0(Links_jsp.java:128)
at org.apache.jsp.links.legacy.Links_jsp.access$000(Links_jsp.java:7)
at org.apache.jsp.links.legacy.Links_jsp$Links_jspHelper.invoke0(Links_jsp.java:214)
at org.apache.jsp.links.legacy.Links_jsp$Links_jspHelper.invoke(Links_jsp.java:281)
at com.appriss.jxportal.StateTag.doTag(StateTag.java:72)
at org.apache.jsp.links.legacy.Links_jsp._jspx_meth_jxp_state_0(Links_jsp.java:114)
at org.apache.jsp.links.legacy.Links_jsp._jspService(Links_jsp.java:85)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)

StateTag.java is a link. Is it possible to make the generated JSPs a link also? I have to manually navigate to a directory to find the generated .java just to see what it does not like. It would be a great time saver if I could just click the file to see what it has a problem with.

I am running JBoss 4.0.1sp1, but probably goes for any Tomcat web container.

0

Please sign in to leave a comment.