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

RS if expert rule looks like inGroup("")

    XMLWordPrintable

    Details

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

      Description

      Somebody has an expert rule which looks like inGroup("")

      2016-10-14 14:24:05,378 [ajp-nio2-8021-exec-6] ERROR OLATRuntimeException - OLAT::ERROR ^%^ N1-E53 
      
      https://lms.xyz.de/auth/RepositoryEntry/1239384072/Editor/0 ^%^ Mozilla/5.0 (Windows NT 6.1; WOW64; rv:49.0) Gecko/20100101 Firefox/49.0
      **RedScreen** For input string: ""
      
      <dispatchinfo>
      	<componentinfo>
      		<compname>pbl.quick.auto</compname>
      		<compclass>org.olat.core.gui.components.link.Link</compclass>
      		<extendedinfo>n/a</extendedinfo>
      		<event>
      			<class&gt;org.olat.core.gui.control.Event</class&gt;
      			<command>pbl.quick.auto</command>
      			<tostring>com:pbl.quick.auto,org.olat.core.gui.control.Event@809d32e3</tostring>
      		</event>
      	</componentinfo>
      	<controllerinfo>
      		<controllername>org.olat.course.editor.QuickPublishController</controllername>
      		<controllername>org.olat.course.editor.EditorMainController</controllername>
      		<controllername>org.olat.course.run.CourseRuntimeController</controllername>
      		<controllername>org.olat.core.commons.fullWebApp.BaseFullWebappController</controllername>
      	</controllerinfo>
      </dispatchinfo>
      
      >>> stack of 1.cause::org.olat.core.logging.OLATRuntimeException: For input string: ""
      -> 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:547)
         at org.olat.core.gui.components.Window.doDispatchRequest(Window.java:240)
         at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:193)
         at org.olat.dispatcher.AuthenticatedDispatcher.processValidDispatchURI(AuthenticatedDispatcher.java:275)
         at org.olat.dispatcher.AuthenticatedDispatcher.execute(AuthenticatedDispatcher.java:192)
         at org.olat.core.servlets.OpenOLATServlet.executeUserRequest(OpenOLATServlet.java:289)
         at org.olat.core.servlets.OpenOLATServlet.doPost(OpenOLATServlet.java:232)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
      >>> stack of 2.cause::java.lang.NumberFormatException: For input string: ""
      -> at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
         at java.lang.Long.parseLong(Long.java:601)
         at java.lang.Long.parseLong(Long.java:631)
         at org.olat.course.condition.interpreter.InLearningGroupFunction.call(InLearningGroupFunction.java:86)
         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.doEvaluateCondition(ConditionInterpreter.java:474)
         at org.olat.course.condition.interpreter.ConditionInterpreter.evaluateCondition(ConditionInterpreter.java:413)
         at org.olat.course.condition.interpreter.ConditionInterpreter.evaluateCondition(ConditionInterpreter.java:307)
         at org.olat.course.nodes.AbstractAccessableCourseNode.calcAccessAndVisibility(AbstractAccessableCourseNode.java:121)
         at org.olat.course.nodes.GenericCourseNode.eval(GenericCourseNode.java:291)
      

        Attachments

          Activity

            People

            • Assignee:
              srosse Stéphane Rossé
              Reporter:
              srosse Stéphane Rossé
              Tester:
              Florian Gnägi
            • Votes:
              0 Vote for this issue
              Watchers:
              2 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 - 35 minutes
                35m