Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-34250

NumberFormatException after clicking the Statistics button

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Awaiting Review
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 10.5
    • Fix Version/s: None
    • Labels:
    • Previous Issue Keys:
      SAM-2580

      Description

      Steps to reproduce the issue (Please see attached images);

      1. Publish an assessment released to a certain group, i.g. Group 1.
      2. Any student from Group 1 submits the assessment.
      3. Instructor goes to the Total Scores page and selects Group 2 (no student from that group has taken the assessment).
      4. Instructor clicks the Statistics button.
      5. Instructor clicks any other button from that list: Submission Status, Total Scores, Questions. Samigo throws a NumberFormatException:

      2015-06-05 03:12:01,807 ERROR http-bio-8888-exec-18 org.sakaiproject.tool.assessment.ui.listener.evaluation.HistogramListener - Error getting statistics for assessment with published id = 1
      java.lang.NumberFormatException: For input string: ""
      at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
      at java.lang.Long.parseLong(Long.java:601)
      at java.lang.Long.<init>(Long.java:965)
      at org.sakaiproject.tool.assessment.ui.listener.evaluation.SubmissionStatusListener.submissionStatus(SubmissionStatusListener.java:169)

        Gliffy Diagrams

          Zeplin

            Attachments

            1. image1.png
              image1.png
              68 kB
            2. image2.png
              image2.png
              146 kB
            3. image3.png
              image3.png
              145 kB

              Activity

                People

                Assignee:
                samigoteam SAMIGO TEAM (Inactive)
                Reporter:
                raulsv Raúl Sánchez Vegas
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                  Dates

                  Created:
                  Updated:

                    Git Integration