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

RS: Click in rubric's slider with no answer selected

Details

    Description

      A rubric with radio box, no answer possible. Click enough to deselect all radios lead to a red screen.

      2021-02-03 15:03:17.960 [ajp-nio2-192.168.57.203-8062-exec-118] ERROR OLATRuntimeException ^%^ I374664-J12365
      org.olat.core.logging.OLATRuntimeException
      https://xyz.openolat.com/auth/RepositoryEntry/47841309/CourseNode/102672754563148/Identity/48005181
      Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.96 Safari/537.36 Edg/88.0.705.56
      **RedScreen** Index -1 out of bounds for length 3
      
      <dispatchinfo>
      	<componentinfo>
      		<compname>ffo_main_execute</compname>
      		<compclass>org.olat.core.gui.components.form.flexible.impl.FormWrapperContainer</compclass>
      		<extendedinfo>n/a</extendedinfo>
      		<event>
      			<class&gt;org.olat.core.gui.components.form.flexible.impl.FormEvent</class&gt;
      			<command>ONCHANGE</command>
      			<tostring>com:ONCHANGE,org.olat.core.gui.components.form.flexible.impl.FormEvent@a30cee6e</tostring>
      		</event>
      	</componentinfo>
      	<controllerinfo>
      		<controllername>org.olat.modules.forms.ui.RubricController</controllername>
      		<controllername>org.olat.modules.forms.ui.EvaluationFormExecutionController</controllername>
      		<controllername>org.olat.course.nodes.ms.MSEvaluationFormExecutionController</controllername>
      		<controllername>org.olat.course.nodes.ms.MSIdentityListCourseNodeController</controllername>
      		<controllername>org.olat.course.run.RunMainController</controllername>
      		<controllername>org.olat.course.run.CourseRuntimeController</controllername>
      		<controllername>org.olat.core.commons.fullWebApp.BaseFullWebappController</controllername>
      	</controllerinfo>
      </dispatchinfo> 
      
      org.olat.core.logging.OLATRuntimeException: Index -1 out of bounds for length 3
      Caused by: java.lang.ArrayIndexOutOfBoundsException: Index -1 out of bounds for length 3
       at org.olat.core.gui.components.form.flexible.impl.elements.SingleSelectionImpl.getSelectedKey(SingleSelectionImpl.java:99)
       at org.olat.modules.forms.ui.RubricController.formInnerEvent(RubricController.java:212)
       at org.olat.core.gui.components.form.flexible.impl.FormBasicController.event(FormBasicController.java:431)
       at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:214)
       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.form.flexible.impl.FormWrapperContainer.fireFormEvent(FormWrapperContainer.java:136)
       at org.olat.core.gui.components.form.flexible.impl.Form.fireFormEvent(Form.java:743)
       at org.olat.core.gui.components.form.flexible.impl.FormItemImpl.doDispatchFormRequest(FormItemImpl.java:583)
       at org.olat.core.gui.components.form.flexible.impl.Form.evalFormRequest(Form.java:317)
       at org.olat.core.gui.components.form.flexible.impl.FormWrapperContainer.doDispatchRequest(FormWrapperContainer.java:105)
       at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:193)
       at org.olat.core.gui.components.Window.doDispatchToComponent(Window.java:1258)
       at org.olat.core.gui.components.Window.dispatchRequest(Window.java:433)
      ... 39 more
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: