Uploaded image for project: 'OpenOLAT'
  1. OpenOLAT
  2. OO-2406

Direct preview of ONYX Test from course editor throws Exception

    Details

      Description

      When assigning an ONYX test to a test course node and then clicking on the link for the associated test in the course editor, an exception is thrown, while preview of the learning resource when searching for the test works fine:

      <dispatchinfo>
      <componentinfo>
      <compname>command.preview</compname>
      <compclass>org.olat.core.gui.components.link.Link</compclass>
      <extendedinfo>n/a</extendedinfo>
      <event>
      <class>org.olat.core.gui.control.Event</class>
      <command>command.preview</command>
      <tostring>com:command.preview,org.olat.core.gui.control.Event@67e25844</tostring>
      </event>
      </componentinfo>
      <controllerinfo>
      <controllername>org.olat.course.nodes.iq.IQEditController</controllername>
      <controllername>org.olat.course.editor.EditorMainController</controllername>
      <controllername>org.olat.course.run.CourseRuntimeController</controllername>
      <controllername>org.olat.core.commons.fullWebApp.BaseFullWebappController</controllername>
      </controllerinfo>
      </dispatchinfo>
      Throwable: org.olat.core.logging.AssertException
      
      logmsg:Assessment Instance was null or no sections/items found.
      message:Assessment Instance was null or no sections/items found.,org.olat.core.logging.AssertException
      
      at org.olat.modules.iq.IQDisplayController.init(IQDisplayController.java:283)
      at org.olat.modules.iq.IQDisplayController.(IQDisplayController.java:150)
      at org.olat.modules.iq.IQManager.createIQDisplayController(IQManager.java:142)
      at org.olat.course.nodes.iq.IQEditController.event(IQEditController.java:501)
      at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:202)
      at org.olat.core.gui.components.AbstractComponent$1.run(AbstractComponent.java:240)
      at org.olat.core.logging.activity.ThreadLocalUserActivityLoggerInstaller.runWithUserActivityLogger(ThreadLocalUserActivityLoggerInstaller.java:108)
      at org.olat.core.gui.components.AbstractComponent.fireEvent(AbstractComponent.java:238)
      at org.olat.core.gui.components.link.Link.dispatch(Link.java:198)
      at org.olat.core.gui.components.link.Link.doDispatchRequest(Link.java:185)
      
      1. cause:
      
      message:assertionstackgenerator,java.lang.Exception
      
      at org.olat.core.logging.AssertException.(AssertException.java:53)
      at org.olat.modules.iq.IQDisplayController.init(IQDisplayController.java:283)
      at org.olat.modules.iq.IQDisplayController.(IQDisplayController.java:150)
      at org.olat.modules.iq.IQManager.createIQDisplayController(IQManager.java:142)
      at org.olat.course.nodes.iq.IQEditController.event(IQEditController.java:501)
      at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:202)
      at org.olat.core.gui.components.AbstractComponent$1.run(AbstractComponent.java:240)
      at org.olat.core.logging.activity.ThreadLocalUserActivityLoggerInstaller.runWithUserActivityLogger(ThreadLocalUserActivityLoggerInstaller.java:108)
      at org.olat.core.gui.components.AbstractComponent.fireEvent(AbstractComponent.java:238)
      at org.olat.core.gui.components.link.Link.dispatch(Link.java:198)
      

        Attachments

          Activity

            People

            • Assignee:
              srosse Stéphane Rossé
              Reporter:
              d.haag Daniel Haag
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 45 minutes
                45m