Bug #5053
openAttempt to download either yields empty file or throws an error (Bespin)
0%
Description
2007F_BS111_Exam3 (moyerbrailean.619.14)
Assessment has 50 items and displays all metadata on the website.
But, any attempt to download it seems to fail.
For example, with one metadata item chosen to be downloaded, a download
results in an empty .csv file to be returned.
When I increased this number, to say 10, then attempt to download
transpose or non-transpose resulted in the following error:
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: -1
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:460)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:122)
root cause
java.lang.ArrayIndexOutOfBoundsException: -1
java.util.ArrayList.remove(ArrayList.java:392)
org.apache.jsp.style.skins.first.download_jsp.transpose(download_jsp.java:335)
org.apache.jsp.style.skins.first.download_jsp.handleDataquery(download_jsp.java:483)
org.apache.jsp.style.skins.first.download_jsp._jspService(download_jsp.java:563)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:122)
Updated by Sandeep Namilikonda over 14 years ago
To test the erroneous download issue further, I tried downloading a combination
of 2007F_BS111_Exam2 (moyerbrailean.562.11) and 2007F_BS111_Exam1 (ben test) (moyerbrailean.452.22).
I was able to download both transposed and non-transposed versions of the result
with multiple metadata items!
So, the error must pertain to only 2007F_BS111_Exam3 (moyerbrailean.619.14).
Updated by Sandeep Namilikonda over 14 years ago
Attempt to download 2007F_BS111_Exam4_Final (moyerbrailean.727.17) yields
empty .csv file and an attempt to download the same along with
2007F_BS111_Exam1 (ben test) resulted in the following error:
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Post too large
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:460)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:367)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:122)
root cause
java.lang.IllegalStateException: Post too large
org.apache.catalina.connector.Request.parseParameters(Request.java:2368)
org.apache.catalina.connector.Request.getParameterNames(Request.java:1047)
org.apache.catalina.connector.RequestFacade.getParameterNames(RequestFacade.java:369)
org.apache.jsp.style.skins.first.download_jsp.getParams(download_jsp.java:29)
org.apache.jsp.style.skins.first.download_jsp._jspService(download_jsp.java:562)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:122)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5 logs.