Bug Report Error appears when instructor/admin click to preview quiz.

Description

When Instructor creates a quiz with few questions and it click the button to see the preview of those question that how it will look at the student access then clicking the preview button generates Bug Error Report. 

Error

An unexpected error has occurred.

Send a bug report

To send a bug report, describe what you were doing when the problem occurred, in the space below, and press the submit button.

org.sakaiproject.portal.api.PortalHandlerException: org.sakaiproject.tool.api.ToolException: javax.servlet.ServletException: /jsf/delivery/deliverAssessment.jsp(256,5) 'return returnToHostUrl("#{delivery.selectURL}");' Error reading [selectURL] on type [org.sakaiproject.tool.assessment.ui.bean.delivery.DeliveryBean]
at org.sakaiproject.portal.charon.handlers.ToolHandler.doPost(ToolHandler.java:73)
caused by: org.sakaiproject.tool.api.ToolException: javax.servlet.ServletException: /jsf/delivery/deliverAssessment.jsp(256,5) 'return returnToHostUrl("#{delivery.selectURL}");' Error reading [selectURL] on type [org.sakaiproject.tool.assessment.ui.bean.delivery.DeliveryBean]
at org.sakaiproject.portal.charon.SkinnableCharonPortal.forwardTool(SkinnableCharonPortal.java:1489)
caused by: javax.servlet.ServletException: /jsf/delivery/deliverAssessment.jsp(256,5) 'return returnToHostUrl("#{delivery.selectURL}");' Error reading [selectURL] on type [org.sakaiproject.tool.assessment.ui.bean.delivery.DeliveryBean]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
caused by: org.apache.jasper.el.JspELException: /jsf/delivery/deliverAssessment.jsp(256,5) 'return returnToHostUrl("#{delivery.selectURL}");' Error reading [selectURL] on type [org.sakaiproject.tool.assessment.ui.bean.delivery.DeliveryBean]
at javax.faces.component.ComponentStateHelper.eval(ComponentStateHelper.java:200)
caused by: javax.persistence.EntityNotFoundException: Unable to find org.sakaiproject.tool.assessment.data.dao.assessment.PublishedAssessmentData with id 65
at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl$JpaEntityNotFoundDelegate.handleEntityNotFound(EntityManagerFactoryBuilderImpl.java:183)
at org.hibernate.event.internal.DefaultLoadEventListener.load(DefaultLoadEventListener.java:219)
at org.hibernate.event.internal.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:259)
at org.hibernate.event.internal.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:151)
at org.hibernate.internal.SessionImpl.fireLoad(SessionImpl.java:1106)
at org.hibernate.internal.SessionImpl.access$2000(SessionImpl.java:176)
at org.hibernate.internal.SessionImpl$IdentifierLoadAccessImpl.getReference(SessionImpl.java:2564)
at org.hibernate.internal.SessionImpl.load(SessionImpl.java:981)

Attachments

1
  • 27 Jan 2020, 11:38 PM

Activity

Show:

Bernardo Garcia Vila February 12, 2020 at 1:33 AM

If the issue was in 19.1, then it will always will as it's an static released version. You should try with most recent 19.x versions to see if it was fixed (probably) or if there's need to merge it back from trunk.

Muhammad Shabbir February 11, 2020 at 10:18 PM

This issue continues to appear in my Sakai 19.1. Kindly help as our instructors are quite frustrated with this issue and so far I did not get any solution over internet and from Sakai Community to resolve this issue. Please kindly suggest steps to fix it asap. 

Sam Ottenhoff February 11, 2020 at 3:20 PM

I can't reproduce on trunk

Muhammad Shabbir February 3, 2020 at 10:21 PM

Hello Shawn,

Thank you for your response. The preview feature works fine with your provided link. But in my Sakai 19.1 it doesn't work this way. Can you please check the logs and guide me how to fix it. 

Brian J. February 3, 2020 at 1:20 PM

No, I don't know how I was assigned to this ticket.

Cannot Reproduce

Details

Priority

Affects versions

Assignee

Reporter

Environment

Windows Server 2016 and MySQL

Created January 27, 2020 at 11:39 PM
Updated February 12, 2020 at 2:09 PM
Resolved February 12, 2020 at 2:09 PM

Flag notifications