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

NPE from BaseHibernateManager.getVisibleExternalAssignments

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Critical
    • Resolution: Won't Fix
    • Affects Version/s: 2.9.3, 10.2
    • Fix Version/s: None
    • Component/s: edu-services
    • Labels:

      Description

      In trunk, BaseHibernateManager has the method getVisibleExternalAssignments. When this line of code is called:

      Map<String, List<String>> allExternals = externalAssessmentService.getVisibleExternalAssignments(gradebookUid, studentIds);

      it throws a NPE because externalAssessmentService is null. It has not been correctly injected.

      In previous versions of this code, the method appeared in GradebookServiceHibernateImpl.java, which is correctly wired up in components.xml. In r118469 (for SAK-22978), this was moved and not wired up correctly causing these method calls to fail.

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  noahbotimer Noah Botimer
                  Reporter:
                  steve.swinsburg Steve Swinsburg
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Git Integration