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

NPE in DateFunction

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8.4.1, 9.0.0
    • Component/s: Course
    • Labels:
      None

      Description

      <dispatchinfo>
      <componentinfo>
      <compname>ffo_main_null</compname>
      <compclass>org.olat.core.gui.components.form.flexible.impl.FormWrapperContainer</compclass>
      <extendedinfo></extendedinfo>
      <event>
      </event>
      </componentinfo>
      <controllerinfo>
      </controllerinfo>
      </dispatchinfo>

      Throwable: org.olat.core.logging.OLATRuntimeException

      logmsg:null
      message:null,org.olat.core.logging.OLATRuntimeException

      at org.olat.course.condition.interpreter.ConditionInterpreter.handleExpressionExceptions(ConditionInterpreter.java:264)
      at org.olat.course.condition.interpreter.ConditionInterpreter.syntaxTestExpression(ConditionInterpreter.java:199)
      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:480)
      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:516)
      at org.olat.core.gui.components.form.flexible.impl.Form.evalFormRequest(Form.java:293)
      at org.olat.core.gui.components.form.flexible.impl.FormWrapperContainer.doDispatchRequest(FormWrapperContainer.java:86)
      at org.olat.core.gui.components.Component.dispatchRequest(Component.java:192)

      1. cause:

      message:null,java.lang.NullPointerException

      at org.olat.course.condition.interpreter.DateFunction.defaultValue(DateFunction.java:80)
      at org.olat.course.condition.interpreter.AbstractFunction.handleException(AbstractFunction.java:76)
      at org.olat.course.condition.interpreter.DateFunction.call(DateFunction.java:70)
      at com.neemsoft.jmep.FNCToken.evaluate(FNCToken.java:50)
      at com.neemsoft.jmep.Expression.evaluate(Expression.java:763)
      at org.olat.course.condition.interpreter.ConditionInterpreter.syntaxTestExpression(ConditionInterpreter.java:186)
      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:480)
      at org.olat.core.gui.components.form.flexible.impl.elements.FormSubmit.dispatchFormRequest(FormSubmit.java:77)

        Attachments

          Activity

            People

            • Assignee:
              srosse Stéphane Rossé
              Reporter:
              srosse Stéphane Rossé
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 15 minutes
                15m