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

Error when sorting grade items

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Verified
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 12.3, 19.0
    • Fix Version/s: 12.5, 19.0
    • Component/s: Gradebook
    • Labels:
    • 12 status:
      Resolved
    • Test Plan:
      Hide

      Please add a Test Plan here.

      Show
      Please add a Test Plan here.

      Description

      1. Create a new grade item
      2. Create a new category
      3. Click the "Item order" button and the "Update Categorized Sort Order" button. GradebookNG throws an error.

      Caused by: java.lang.reflect.InvocationTargetException
      	at sun.reflect.GeneratedMethodAccessor1710.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.apache.wicket.RequestListenerInterface.internalInvoke(RequestListenerInterface.java:258)
      	... 56 more
      Caused by: java.lang.NullPointerException
      	at org.sakaiproject.gradebookng.tool.panels.SortGradeItemsPanel$1.onSubmit(SortGradeItemsPanel.java:78)
      	at org.apache.wicket.ajax.markup.html.form.AjaxButton$1.onSubmit(AjaxButton.java:108)
      	at org.apache.wicket.ajax.form.AjaxFormSubmitBehavior$AjaxFormSubmitter.onSubmit(AjaxFormSubmitBehavior.java:215)
      	at org.apache.wicket.markup.html.form.Form.delegateSubmit(Form.java:1305)
      	at org.apache.wicket.markup.html.form.Form.process(Form.java:966)
      	at org.apache.wicket.markup.html.form.Form.onFormSubmitted(Form.java:788)
      	at org.apache.wicket.ajax.form.AjaxFormSubmitBehavior.onEvent(AjaxFormSubmitBehavior.java:171)
      	at org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:145)
      	at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:654)
      	... 60 more
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                ottenhoff Sam Ottenhoff
                Reporter:
                raulsv Raúl Sánchez Vegas
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code