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

RS divided by 0 in expert rules

    XMLWordPrintable

    Details

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

      Description

      2014-11-11 11:21:28,608 [ajp-apr-8013-exec-12] ERROR OLATRuntimeException - OLAT::ERROR ^%^ N13-E86 ^%^ org.olat.core.logging 
      Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)
      **RedScreen**
       / by zero
       
      <dispatchinfo>
      	<componentinfo>
      		<compname>ffo_main_null</compname>
      		<compclass>org.olat.core.gui.components.form.flexible.impl.FormWrapperContainer</compclass>
      		<extendedinfo>n/a</extendedinfo>
      		<event>	</event>
      	</componentinfo>
      	<controllerinfo></controllerinfo>
      </dispatchinfo>
      
      >>> stack of 1.cause::org.olat.core.logging.OLATRuntimeException: / by zero
      -> at org.olat.course.condition.interpreter.ConditionInterpreter.handleExpressionExceptions(ConditionInterpreter.java:273)
         at org.olat.course.condition.interpreter.ConditionInterpreter.syntaxTestExpression(ConditionInterpreter.java:203)
         at org.olat.course.editor.CourseEditorEnvImpl.validateConditionExpression(CourseEditorEnvImpl.java:228)
         at org.olat.course.condition.ConditionConfigExpertForm.validateFormLogic(ConditionConfigExpertForm.java:83)
         at org.olat.core.gui.components.form.flexible.impl.Form.submit(Form.java:497)
         at org.olat.core.gui.components.form.flexible.impl.Form.submit(Form.java:472)
         at org.olat.core.gui.components.form.flexible.impl.elements.FormSubmit.dispatchFormRequest(FormSubmit.java:77)
         at org.olat.core.gui.components.form.flexible.impl.FormItemImpl.doDispatchFormRequest(FormItemImpl.java:470)
         at org.olat.core.gui.components.form.flexible.impl.Form.evalFormRequest(Form.java:298)
         at org.olat.core.gui.components.form.flexible.impl.FormWrapperContainer.doDispatchRequest(FormWrapperContainer.java:103)
         at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:192)
      >>> stack of 2.cause::java.lang.ArithmeticException: / by zero
      -> at com.neemsoft.jmep.BINToken.evaluate(BINToken.java:22)
         at com.neemsoft.jmep.Expression.evaluate(Expression.java:806)
         at org.olat.course.condition.interpreter.ConditionInterpreter.syntaxTestExpression(ConditionInterpreter.java:190)
         at org.olat.course.editor.CourseEditorEnvImpl.validateConditionExpression(CourseEditorEnvImpl.java:228)
         at org.olat.course.condition.ConditionConfigExpertForm.validateFormLogic(ConditionConfigExpertForm.java:83)
         at org.olat.core.gui.components.form.flexible.impl.Form.submit(Form.java:497)
         at org.olat.core.gui.components.form.flexible.impl.Form.submit(Form.java:472)
         at org.olat.core.gui.components.form.flexible.impl.elements.FormSubmit.dispatchFormRequest(FormSubmit.java:77)
         at org.olat.core.gui.components.form.flexible.impl.FormItemImpl.doDispatchFormRequest(FormItemImpl.java:470)
         at org.olat.core.gui.components.form.flexible.impl.Form.evalFormRequest(Form.java:298)
         at org.olat.core.gui.components.form.flexible.impl.FormWrapperContainer.doDispatchRequest(FormWrapperContainer.java:103)
      

        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 - 30 minutes
                30m