Project

General

Profile

Bug #4999

FIRST Website download and missing metadata issues

Added by Sandeep Namilikonda over 8 years ago. Updated over 8 years ago.

Status:
New
Priority:
Normal
Category:
dataserver
Target version:
Start date:
05/11/2010
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
4999

Description

Features that used to function well seem to give inconsistent and incorrect
results. In an attempt to test the download feature on the FIRST website,
Jay synchronized an already existing package onto his laptop using Morpho,
made nominal edits, and saved it back on to the server so that he could
then try and download it from the website. Here are the issues he encountered.

1) When the duplicate package was uploaded to the server, the server complained
about the assessment item ID (or revision number?) being smaller than
the copy that was already on the server.

So, Jay saved the package again to get around the issue.

2) Once the package was on the server, he checked on the website to view the
contents of the package. Surprisingly, he found the meta data missing from
the duplicate package as well as the original package.

3) When he tried to download the duplicate package, he was only able to
download the transposed form of it.

4) Later, Jay uploaded another duplicate package, this time without any
metadata included. The upload made all the items from the original
package not to appear on the website until Jay reopened the original
package using Morpho and saved it back to the network.

Further attempts to download any of the packages led to ArrayOutOfBounds
exception.

History

#1 Updated by ben leinfelder over 8 years ago

is there a specific assessment (id) you can point me to?

#2 Updated by Sandeep Namilikonda over 8 years ago

Note that this error was reported when the testing was being performed
using the FIRST website hosted on EGR server.

#3 Updated by Sandeep Namilikonda over 8 years ago

The assessment ID is: 2007F_BS111_Exam1 (moyerbrailean.452.16)
I tried to download today. Non-transpose option gave an empty file whereas
transpose option 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: java.lang.ArrayIndexOutOfBoundsException: -1
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:491)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:419)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:122)
root cause

java.lang.ArrayIndexOutOfBoundsException: -1
java.util.ArrayList.remove(ArrayList.java:390)
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:574)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:122)
note The full stack trace of the root cause is available in the Apache Tomcat/6.0.24 logs.

Some old relevant information that I dug up from e-mail exchanges at MSU:

Exam 1
Empty cart, home, put in Exam 1, select exam metadata:

title
term
institutionName
instructorName
year

download options are 50 item fields, transpose, score, resonse, but NO response file:
36 minutes, blank.
empty cart.
Put in Exam 1, try again with same settings.
About 2 minutes and receive this error:

Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: java.lang.ArrayIndexOutOfBoundsException: -1
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:491)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:419)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:122)
root cause

java.lang.ArrayIndexOutOfBoundsException: -1
java.util.ArrayList.remove(ArrayList.java:390)
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:574)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:122)
note The full stack trace of the root cause is available in the Apache Tomcat/6.0.24 logs.

Also, http://www.egr.msu.edu/first-logging/stderr.log has more diagnostic info.

#4 Updated by Redmine Admin over 5 years ago

Original Bugzilla ID was 4999

Also available in: Atom PDF