click here for details... Sakai Executive Director Position Search now open
Issue Details (XML | Word | Printable)

Key: SAK-16925
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Blocker Blocker
Assignee: Zhen Qian
Reporter: David Horwitz
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Sakai

NumberFormating exception when grading assigment submissions

Created: 04-Sep-2009 04:28   Updated: 29-Sep-2009 06:19
Component/s: Assignments
Affects Version/s: 2.6.x
Fix Version/s: 2.6.1, 2.7.0

Time Tracking:
Not Specified

File Attachments: 1. File VULA-648_assing_numberformat.diff (0.6 kB)


2.6.x Status: Resolved
2.5.x Status: None
2.4.x Status: None


 Description  « Hide
user comment:

Trying to grade a student submitted Word file


stack trace:


org.sakaiproject.portal.api.PortalHandlerException: org.sakaiproject.tool.api.ToolException
    at org.sakaiproject.portal.charon.SkinnableCharonPortal.doGet(SkinnableCharonPortal.java:768)
caused by: org.sakaiproject.tool.api.ToolException
    at org.sakaiproject.cheftool.ToolServlet.doGet(ToolServlet.java:227)
caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
caused by: java.lang.NumberFormatException: For input string: ""
    at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
    at java.lang.Integer.parseInt(Integer.java:468)
    at java.lang.Integer.valueOf(Integer.java:553)
    at org.sakaiproject.assignment.tool.AssignmentAction.assignment_resubmission_option_into_context(AssignmentAction.java:11472)
    at org.sakaiproject.assignment.tool.AssignmentAction.build_instructor_grade_submission_context(AssignmentAction.java:2028)
    at org.sakaiproject.assignment.tool.AssignmentAction.buildMainPanelContext(AssignmentAction.java:862)
    at sun.reflect.GeneratedMethodAccessor2631.invoke(null:-1)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:592)
    at org.sakaiproject.cheftool.VelocityPortletPaneledAction.toolModeDispatch(VelocityPortletPaneledAction.java:401)
    at org.sakaiproject.cheftool.ToolServlet.doGet(ToolServlet.jav

 All   Comments   Work Log   Change History   Subversion Commits   git Commits      Sort Order: Ascending order - Click to sort in descending order
David Horwitz added a comment - 04-Sep-2009 04:29
Might be related to an effect of SAK-16921

David Horwitz added a comment - 04-Sep-2009 04:32
Patch checkes value for being empty as well as null

Zhen Qian added a comment - 04-Sep-2009 07:14
Even though I couldn't repeat the problem, the patch looks right to me. Thanks!

r66288 for trunk and merged into 2-6-x in r66289.

Anthony Whyte added a comment - 17-Sep-2009 06:31
Code has been merged to 2.6.x. Issue should be closed.