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

RS if test reference doesn't match exactly

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10.1.3
    • Component/s: None
    • Labels:
      None

      Description

      The QTI Editor check the reference in the courses of the test it want to edit. If a course is corrupted, red screen. If a soft key doesn't have a repository entry, red screen and so on.

      2015-01-29 11:50:26,900 [ajp-apr-8049-exec-39] ERROR AssertException - OLAT::ERROR ^%^ N49-E417 ^%^ org.olat.core.logging ^%^ attila.mangold ^%^ 147.86.216.136 ^%^ https://hsafhnw.frentix.com/auth/1%3A1%3A0%3A0%3A0/ ^%^ Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.93 Safari/537.36 ^%^ **RedScreen** Repository softkey lookup returned zero or more than one result: 0, softKey = hsafhnw_49_90985930655038 ::_::<dispatchinfo>	<componentinfo> <compname>edit.cmd</compname>	<compclass>org.olat.core.gui.components.link.Link</compclass>	<extendedinfo>n/a</extendedinfo>	<event> <class&gt;org.olat.core.gui.control.Event</class&gt;	<command>edit.cmd</command>	<tostring>com:edit.cmd,org.olat.core.gui.control.Event@5f6bc375</tostring>	</event> </componentinfo>	<controllerinfo>	<controllername>org.olat.ims.qti.QTIRuntimeController</controllername> <controllername>org.olat.core.commons.fullWebApp.BaseFullWebappController</controllername>	</controllerinfo></dispatchinfo> ::_:: ^%^ 
      >>> stack of 1.cause::org.olat.core.logging.AssertException: Repository softkey lookup returned zero or more than one result: 0, softKey = hsafhnw_49_90985930655038
      -> at org.olat.repository.RepositoryManager.lookupRepositoryEntryBySoftkey(RepositoryManager.java:389)
         at org.olat.ims.qti.editor.QTIEditorMainController.<init>(QTIEditorMainController.java:272)
         at org.olat.ims.qti.repository.handlers.QTISurveyHandler.createEditorController(QTISurveyHandler.java:175)
         at org.olat.repository.ui.RepositoryEntryRuntimeController.doEdit(RepositoryEntryRuntimeController.java:619)
         at org.olat.repository.ui.RepositoryEntryRuntimeController.event(RepositoryEntryRuntimeController.java:453)
         at org.olat.ims.qti.QTIRuntimeController.event(QTIRuntimeController.java:111)
         at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:201)
         at org.olat.core.gui.components.AbstractComponent$1.run(AbstractComponent.java:238)
         at org.olat.core.logging.activity.ThreadLocalUserActivityLoggerInstaller.runWithUserActivityLogger(ThreadLocalUserActivityLoggerInstaller.java:108)
         at org.olat.core.gui.components.AbstractComponent.fireEvent(AbstractComponent.java:236) at org.olat.core.gui.components.link.Link.dispatch(Link.java:199)
      >>> stack of 2.cause::java.lang.Exception: assertionstackgenerator
      -> at org.olat.core.logging.AssertException.<init>(AssertException.java:53)
         at org.olat.repository.RepositoryManager.lookupRepositoryEntryBySoftkey(RepositoryManager.java:389)
         at org.olat.ims.qti.editor.QTIEditorMainController.<init>(QTIEditorMainController.java:272)
         at org.olat.ims.qti.repository.handlers.QTISurveyHandler.createEditorController(QTISurveyHandler.java:175)
         at org.olat.repository.ui.RepositoryEntryRuntimeController.doEdit(RepositoryEntryRuntimeController.java:619)
         at org.olat.repository.ui.RepositoryEntryRuntimeController.event(RepositoryEntryRuntimeController.java:453)
         at org.olat.ims.qti.QTIRuntimeController.event(QTIRuntimeController.java:111)
         at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:201)
         at org.olat.core.gui.components.AbstractComponent$1.run(AbstractComponent.java:238)
         at org.olat.core.logging.activity.ThreadLocalUserActivityLoggerInstaller.runWithUserActivityLogger(ThreadLocalUserActivityLoggerInstaller.java:108)
         at org.olat.core.gui.components.AbstractComponent.fireEvent(AbstractComponent.java:236)
      
      2015-01-30 12:36:27,101 [ajp-apr-8049-exec-41] ERROR OLATRuntimeException - OLAT::ERROR ^%^ N49-E451 ^%^ org.olat.core.logging 
      https://xyz.frentix.com/auth/1%3A8%3A49008909411%3A2%3A0%3Acid%3Asas/ ^%^ Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.93 Safari/537.36
      **RedScreen**
      
      <dispatchinfo>
      	<componentinfo>
      		<compname>command.editRepFile</compname>
      		<compclass>org.olat.core.gui.components.link.Link</compclass>
      		<extendedinfo>n/a</extendedinfo>
      		<event>
      			<class&gt;org.olat.core.gui.control.Event</class&gt;
      			<command>command.editRepFile</command>
      			<tostring>com:command.editRepFile,org.olat.core.gui.control.Event@7f86b44b</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>
      
      >>> stack of 1.cause::org.olat.core.logging.OLATRuntimeException: null
      -> at org.olat.core.gui.exception.ExceptionWindowController.<init>(ExceptionWindowController.java:116)
         at org.olat.core.gui.exception.MsgFactory.createMessageChiefController(MsgFactory.java:57)
         at org.olat.core.gui.exception.MsgFactory.createMessageChiefController(MsgFactory.java:46)
         at org.olat.core.gui.components.Window.dispatchRequest(Window.java:524)
         at org.olat.core.gui.components.Window.doDispatchRequest(Window.java:228)
         at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:192)
         at org.olat.dispatcher.AuthenticatedDispatcher.processValidDispatchURI(AuthenticatedDispatcher.java:241)
         at org.olat.dispatcher.AuthenticatedDispatcher.execute(AuthenticatedDispatcher.java:197)
         at org.olat.core.servlets.OpenOLATServlet.executeUserRequest(OpenOLATServlet.java:269)
         at org.olat.core.servlets.OpenOLATServlet.doGet(OpenOLATServlet.java:198)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
      >>> stack of 2.cause::java.lang.NullPointerException: null
      -> at org.olat.ims.qti.editor.QTIEditorMainController.<init>(QTIEditorMainController.java:272)
         at org.olat.ims.qti.repository.handlers.QTISurveyHandler.createEditorController(QTISurveyHandler.java:175)
         at org.olat.repository.ui.RepositoryEntryRuntimeController.doEdit(RepositoryEntryRuntimeController.java:619)
         at org.olat.repository.ui.RepositoryEntryRuntimeController.activate(RepositoryEntryRuntimeController.java:409)
         at org.olat.core.commons.fullWebApp.BaseFullWebappController.activate(BaseFullWebappController.java:1100)
         at org.olat.core.commons.fullWebApp.BaseFullWebappDTabs.activate(BaseFullWebappDTabs.java:46)
         at org.olat.NewControllerFactory.launch(NewControllerFactory.java:250)
         at org.olat.NewControllerFactory.launch(NewControllerFactory.java:147)
         at org.olat.course.nodes.CourseNodeFactory.launchReferencedRepoEntryEditor(CourseNodeFactory.java:145)
         at org.olat.course.nodes.iq.IQEditController.event(IQEditController.java:560)
         at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:201)
      

        Attachments

          Activity

            People

            Assignee:
            srosse Stéphane Rossé
            Reporter:
            srosse Stéphane Rossé
            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 - 1 hour, 30 minutes
                1h 30m