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

RS assessment mode if ip has a trailing space

    XMLWordPrintable

    Details

      Description

      2018-02-20 15:41:38,765 [ajp-nio2-8006-exec-47] ERROR OLATRuntimeException - OLAT::ERROR ^%^ N1-E4852 
      https://olat.xyz.ch/dmz/ ^%^ Mozilla/5.0 (Windows NT 6.3; rv:41.0) Gecko/20100101 Firefox/41 SEB 2.1.3
      **RedScreen** For input string: "24 " ::_:: ::_:: ^%^ 
      >>> stack of 1.cause::org.olat.core.logging.OLATRuntimeException: For input string: "24 "
      -> 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.dispatcher.DMZDispatcher.execute(DMZDispatcher.java:282)
         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)
         at org.olat.core.servlets.OpenOLATServlet.service(OpenOLATServlet.java:175)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      >>> stack of 2.cause::java.lang.NumberFormatException: For input string: "24 "
      -> at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
         at java.lang.Long.parseLong(Long.java:589)
         at java.lang.Long.parseLong(Long.java:631)
         at org.olat.core.util.IPUtils.isValidRange(IPUtils.java:53)
         at org.olat.course.assessment.manager.AssessmentModeManagerImpl.isIpAllowed(AssessmentModeManagerImpl.java:295)
         at org.olat.course.assessment.ui.mode.AssessmentModeGuardController.syncAssessmentMode(AssessmentModeGuardController.java:173)
         at org.olat.course.assessment.ui.mode.AssessmentModeGuardController.syncAssessmentModes(AssessmentModeGuardController.java:143)
         at org.olat.course.assessment.ui.mode.AssessmentModeGuardController.<init>(AssessmentModeGuardController.java:101)
         at org.olat.core.commons.fullWebApp.BaseFullWebappController.<init>(BaseFullWebappController.java:246)
         at org.olat.basesecurity.AuthHelper.createAuthHome(AuthHelper.java:212)
         at org.olat.basesecurity.AuthHelper.doLogin(AuthHelper.java:138)
      

        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 - 1 hour, 20 minutes
                1h 20m