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

Enrollment: RS in element editor if group was deleted

    XMLWordPrintable

    Details

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

      Description

      Setup an enrolment course element with some groups, delete one of the group and edit again the element.

      2020-06-18 08:57:03.250 [ajp-nio2-8008-exec-237] ERROR OLATRuntimeException ^%^ I2637961-J908346
      org.olat.core.logging.OLATRuntimeException
      https://olat.xyz.ch/auth/RepositoryEntry/444727394/Editor/0
      Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:77.0) Gecko/20100101 Firefox/77.0
      **RedScreen** null
      
      <dispatchinfo>
      	<componentinfo>
      		<compname>luTree</compname>
      		<compclass>org.olat.core.gui.components.tree.MenuTree</compclass>
      		<extendedinfo>n/a</extendedinfo>
      		<event>
      			<class&gt;org.olat.core.gui.components.tree.TreeEvent</class&gt;
      			<command>ctncl</command>
      			<tostring>TreeEvent:{cmd:ctncl, nodeid:93728385945739}</tostring>
      		</event>
      	</componentinfo>
      	<controllerinfo>
      		<controllername>org.olat.course.editor.EditorMainController</controllername>
      		<controllername>org.olat.course.run.CourseRuntimeController</controllername>
      		<controllername>org.olat.core.commons.fullWebApp.BaseFullWebappController</controllername>
      	</controllerinfo>
      </dispatchinfo>
      
      Caused by: java.lang.NullPointerException
       at org.olat.course.nodes.en.ENEditGroupTableContentRow.<init>(ENEditGroupTableContentRow.java:54)
       at org.olat.course.nodes.en.ENEditGroupAreaFormController.updateModel(ENEditGroupAreaFormController.java:195)
       at org.olat.course.nodes.en.ENEditGroupAreaFormController.loadModel(ENEditGroupAreaFormController.java:181)
       at org.olat.course.nodes.en.ENEditGroupAreaFormController.initForm(ENEditGroupAreaFormController.java:318)
       at org.olat.core.gui.components.form.flexible.impl.FormBasicController.initForm(FormBasicController.java:278)
       at org.olat.course.nodes.en.ENEditGroupAreaFormController.<init>(ENEditGroupAreaFormController.java:167)
       at org.olat.course.nodes.en.ENEditController.doFormInit(ENEditController.java:79)
       at org.olat.course.nodes.en.ENEditController.<init>(ENEditController.java:70)
       at org.olat.course.nodes.ENCourseNode.createEditController(ENCourseNode.java:144)
       at org.olat.course.editor.EditorMainController.initNodeEditor(EditorMainController.java:531)
       at org.olat.course.editor.EditorMainController.updateViewForSelectedNodeId(EditorMainController.java:508)
       at org.olat.course.editor.EditorMainController.event(EditorMainController.java:373)
       at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:206)
       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.tree.MenuTree.handleClick(MenuTree.java:297)
       at org.olat.core.gui.components.tree.MenuTree.doDispatchRequest(MenuTree.java:196)
       at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:193)
       at org.olat.core.gui.components.Window.doDispatchToComponent(Window.java:1249)
       at org.olat.core.gui.components.Window.dispatchRequest(Window.java:429)
       ... 39 more
      

        Attachments

          Activity

            People

            Assignee:
            srosse Stéphane Rossé
            Reporter:
            srosse Stéphane Rossé
            Tester:
            Mandy Menzel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: