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

RS if a course is corrupted after jumping in with an assessment mode

    XMLWordPrintable

    Details

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

      Description

      The course runtime must survive a corrupted exception and show an error message instead the red screen.

      2015-04-13 11:40:07,227 [ajp-bio-8049-exec-1661] ERROR AssertException - OLAT::ERROR ^%^ N49-E54 
      
      Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:37.0) Gecko/20100101 Firefox/37.0
      **RedScreen** Cannot resolve file: runstructure.xml course=Course:[91425810753241,null], org.olat.course.PersistingCourseImpl@77e11927
      
      <dispatchinfo>
      	<componentinfo>
      		<compname>go-49004040732</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>go</command>
      			<tostring>com:go,org.olat.core.gui.control.Event@d07</tostring>
      		</event>
      	</componentinfo>
      	<controllerinfo>
      		<controllername>org.olat.course.assessment.ui.AssessmentModeGuardController</controllername>
      		<controllername>org.olat.core.commons.fullWebApp.BaseFullWebappController</controllername>
      	</controllerinfo>
      </dispatchinfo>
      
      >>> stack of 1.cause::org.olat.course.CorruptedCourseException: Cannot resolve file: runstructure.xml course=Course:[91425810753241,null], org.olat.course.PersistingCourseImpl@77e11927
      -> at org.olat.course.PersistingCourseImpl.readObject(PersistingCourseImpl.java:451)
         at org.olat.course.PersistingCourseImpl.load(PersistingCourseImpl.java:410)
         at org.olat.course.CourseFactory.loadCourse(CourseFactory.java:254)
         at org.olat.course.CourseFactory.loadCourse(CourseFactory.java:274)
         at org.olat.repository.handlers.CourseHandler$1.create(CourseHandler.java:431)
         at org.olat.repository.ui.RepositoryEntryRuntimeController.launchContent(RepositoryEntryRuntimeController.java:868)
         at org.olat.course.run.CourseRuntimeController.launchContent(CourseRuntimeController.java:1286)
         at org.olat.repository.ui.RepositoryEntryRuntimeController.doRun(RepositoryEntryRuntimeController.java:738)
         at org.olat.repository.ui.RepositoryEntryRuntimeController.<init>(RepositoryEntryRuntimeController.java:230)
         at org.olat.course.run.CourseRuntimeController.<init>(CourseRuntimeController.java:197)
         at org.olat.repository.handlers.CourseHandler.createLaunchController(CourseHandler.java:426)
      >>> stack of 2.cause::java.lang.Exception: assertionstackgenerator
      -> at org.olat.course.CorruptedCourseException.<init>(CorruptedCourseException.java:47)
         at org.olat.course.PersistingCourseImpl.readObject(PersistingCourseImpl.java:451)
         at org.olat.course.PersistingCourseImpl.load(PersistingCourseImpl.java:410)
         at org.olat.course.CourseFactory.loadCourse(CourseFactory.java:254)
         at org.olat.course.CourseFactory.loadCourse(CourseFactory.java:274)
         at org.olat.repository.handlers.CourseHandler$1.create(CourseHandler.java:431)
         at org.olat.repository.ui.RepositoryEntryRuntimeController.launchContent(RepositoryEntryRuntimeController.java:868)
         at org.olat.course.run.CourseRuntimeController.launchContent(CourseRuntimeController.java:1286)
         at org.olat.repository.ui.RepositoryEntryRuntimeController.doRun(RepositoryEntryRuntimeController.java:738)
         at org.olat.repository.ui.RepositoryEntryRuntimeController.<init>(RepositoryEntryRuntimeController.java:230)
         at org.olat.course.run.CourseRuntimeController.<init>(CourseRuntimeController.java:197)
      

        Attachments

          Activity

            People

            Assignee:
            srosse Stéphane Rossé
            Reporter:
            srosse Stéphane Rossé
            Tester:
            Florian Gnägi
            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 - 35 minutes
                35m