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

RS: expert rule with divide by zero error

    XMLWordPrintable

    Details

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

      Description

      2018-09-10 12:11:37,763 [ajp-nio2-8009-exec-401] ERROR OLATRuntimeException - OLAT::ERROR ^%^ N9-E77 
      https://xyz.olat.com/auth/1%3A1%3A0%3A0%3A0/ ^%^ Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko
      **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>
      			<class&gt;org.olat.core.gui.control.Event</class&gt;
      			<command>validation ok</command>
      			<tostring>com:validation ok,org.olat.core.gui.control.Event@d62b3f02</tostring>
      		</event>
      	</componentinfo>
      	<controllerinfo>
      		<controllername>org.olat.user.ChangePasswordForm</controllername>
      		<controllername>org.olat.core.commons.fullWebApp.BaseFullWebappController</controllername>
      	</controllerinfo>
      </dispatchinfo>
      
      >>> stack of 1.cause::org.olat.core.logging.OLATRuntimeException: / by zero
      -> 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:589)
         at org.olat.core.gui.components.Window.doDispatchRequest(Window.java:282)
         at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:193)
         at org.olat.dispatcher.AuthenticatedDispatcher.processValidDispatchURI(AuthenticatedDispatcher.java:273)
         at org.olat.dispatcher.AuthenticatedDispatcher.execute(AuthenticatedDispatcher.java:190)
         at org.olat.core.servlets.OpenOLATServlet.executeUserRequest(OpenOLATServlet.java:287)
         at org.olat.core.servlets.OpenOLATServlet.doPost(OpenOLATServlet.java:230)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:661)
      >>> 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.doEvaluateCondition(ConditionInterpreter.java:372)
         at org.olat.course.condition.interpreter.ConditionInterpreter.evaluateCondition(ConditionInterpreter.java:311)
         at org.olat.course.condition.interpreter.ConditionInterpreter.evaluateCondition(ConditionInterpreter.java:297)
         at org.olat.course.nodes.AbstractAccessableCourseNode.calcAccessAndVisibility(AbstractAccessableCourseNode.java:137)
         at org.olat.course.nodes.InfoCourseNode.calcAccessAndVisibility(InfoCourseNode.java:236)
         at org.olat.course.nodes.GenericCourseNode.eval(GenericCourseNode.java:291)
         at org.olat.course.nodes.GenericCourseNode.eval(GenericCourseNode.java:304)
         at org.olat.course.run.navigation.NavigationHandler.doEvaluateJumpTo(NavigationHandler.java:343)
         at org.olat.course.run.navigation.NavigationHandler.evaluateJumpToCourseNode(NavigationHandler.java:129)
      

        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:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 5 minutes
                5m