[Building Sakai] issue with externalAssessmentService

Steve Swinsburg steve.swinsburg at gmail.com
Mon Sep 9 14:42:28 PDT 2013


Hi all,

I'm am having an issue with the gradebook service specifically to do with
the externalAssessmentService. In the
Gradebook getVisibleExternalAssignments.getVisibleExternalAssignments
method, there is a call to
the externalAssessmentService.getVisibleExternalAssignments method. The
issue is, that from within the context of a quartz job, this is null, so
throws a NPE.

So does anyone that worked on this area know what the reason for this is?

Here is the main part of the stacktrace:

Caused by: java.lang.NullPointerException
at
org.sakaiproject.component.gradebook.BaseHibernateManager.getVisibleExternalAssignments(BaseHibernateManager.java:1421)
at
org.sakaiproject.component.gradebook.BaseHibernateManager$34.doInHibernate(BaseHibernateManager.java:1474)
at
org.springframework.orm.hibernate3.HibernateTemplate.doExecute(HibernateTemplate.java:406)
at
org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:339)
at
org.sakaiproject.component.gradebook.BaseHibernateManager.finalizeNullGradeRecords(BaseHibernateManager.java:1469)
at
org.sakaiproject.component.gradebook.GradebookServiceHibernateImpl.finalizeGrades(GradebookServiceHibernateImpl.java:2671)

I note that in current trunk, on startup, I receive this bean error:
Offending resource: file
[/Users/steve/dev/sakai/tomcat/apache-tomcat-7.0.37-trunk/components/sakai-assignment-pack/WEB-INF/components.xml]
Bean 'org.sakaiproject.assignment.impl.AssignmentGradeInfoProvider'; nested
exception is java.lang.NoClassDefFoundError:
org/sakaiproject/service/gradebook/shared/ExternalAssignmentProviderCompat

Is this a known error? Could it be the cause?

thanks,
Steve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20130910/32795359/attachment.html 


More information about the sakai-dev mailing list