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

RS when using card2brain alias with illegal characters

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 15.5.8, 16.0.1
    • Course
    • None
    • 2021 Sprint 1 -

    Description

      Illegal character is e.g. ">"

      2021-09-16 08:27:11.312 [http-nio-8079-exec-5] ERROR OLATRuntimeException - **RedScreen** Illegal character in path at index 26: https://card2brain.ch/box/<iframe_src="20210810_farbe_frisurengestaltung_farbenlehre/embed"_width="780"_height="150"_scrolling="/embed ::_::<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> ::_::
      org.olat.core.logging.OLATRuntimeException: Illegal character in path at index 26: https://card2brain.ch/box/<iframe_src="20210810_farbe_frisurengestaltung_farbenlehre/embed"_width="780"_height="150"_scrolling="/embed
      	at org.olat.core.gui.exception.ExceptionWindowController.<init>(ExceptionWindowController.java:113) ~[classes/:15.5-SNAPSHOT]
      	at org.olat.core.gui.exception.MsgFactory.createMessageChiefController(MsgFactory.java:57) ~[classes/:15.5-SNAPSHOT]
      	at org.olat.core.gui.exception.MsgFactory.createMessageChiefController(MsgFactory.java:46) ~[classes/:15.5-SNAPSHOT]
      	at org.olat.core.gui.components.Window.dispatchRequest(Window.java:635) ~[classes/:15.5-SNAPSHOT]
      	at org.olat.core.gui.components.Window.doDispatchRequest(Window.java:319) ~[classes/:15.5-SNAPSHOT]
      	at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:193) ~[classes/:15.5-SNAPSHOT]
      	at org.olat.dispatcher.AuthenticatedDispatcher.processValidDispatchURI(AuthenticatedDispatcher.java:279) ~[classes/:15.5-SNAPSHOT]
      	at org.olat.dispatcher.AuthenticatedDispatcher.execute(AuthenticatedDispatcher.java:184) ~[classes/:15.5-SNAPSHOT]
      	at org.olat.core.servlets.OpenOLATServlet.executeUserRequest(OpenOLATServlet.java:299) ~[classes/:15.5-SNAPSHOT]
      	at org.olat.core.servlets.OpenOLATServlet.doPost(OpenOLATServlet.java:227) ~[classes/:15.5-SNAPSHOT]
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:661) ~[servlet-api.jar:?]
      	at org.olat.core.servlets.OpenOLATServlet.service(OpenOLATServlet.java:159) ~[classes/:15.5-SNAPSHOT]
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:742) ~[servlet-api.jar:?]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230) ~[catalina.jar:8.5.13]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165) ~[catalina.jar:8.5.13]
      	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) ~[tomcat-websocket.jar:8.5.13]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192) ~[catalina.jar:8.5.13]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165) ~[catalina.jar:8.5.13]
      	at org.olat.core.servlets.HeadersFilter.doFilter(HeadersFilter.java:64) ~[classes/:15.5-SNAPSHOT]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192) ~[catalina.jar:8.5.13]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165) ~[catalina.jar:8.5.13]
      	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198) ~[catalina.jar:8.5.13]
      	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) ~[catalina.jar:8.5.13]
      	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:478) ~[catalina.jar:8.5.13]
      	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140) ~[catalina.jar:8.5.13]
      	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:80) ~[catalina.jar:8.5.13]
      	at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:624) ~[catalina.jar:8.5.13]
      	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) ~[catalina.jar:8.5.13]
      	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:341) ~[catalina.jar:8.5.13]
      	at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:799) ~[tomcat-coyote.jar:8.5.13]
      	at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) ~[tomcat-coyote.jar:8.5.13]
      	at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:861) ~[tomcat-coyote.jar:8.5.13]
      	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1455) ~[tomcat-coyote.jar:8.5.13]
      	at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) ~[tomcat-coyote.jar:8.5.13]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) ~[?:?]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) ~[?:?]
      	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) ~[tomcat-util.jar:8.5.13]
      	at java.lang.Thread.run(Thread.java:834) [?:?]
      Caused by: java.lang.IllegalArgumentException: Illegal character in path at index 26: https://card2brain.ch/box/<iframe_src="20210810_farbe_frisurengestaltung_farbenlehre/embed"_width="780"_height="150"_scrolling="/embed
      	at java.net.URI.create(URI.java:883) ~[?:?]
      	at org.apache.http.client.methods.HttpGet.<init>(HttpGet.java:66) ~[httpclient-4.5.13.jar:4.5.13]
      	at org.olat.modules.card2brain.manager.Card2BrainManagerImpl.checkSetOfFlashcards(Card2BrainManagerImpl.java:72) ~[classes/:15.5-SNAPSHOT]
      	at org.olat.course.nodes.card2brain.Card2BrainConfigController.validateFlashcardAlias(Card2BrainConfigController.java:166) ~[classes/:15.5-SNAPSHOT]
      	at org.olat.course.nodes.card2brain.Card2BrainConfigController.validateFormLogic(Card2BrainConfigController.java:151) ~[classes/:15.5-SNAPSHOT]
      	at org.olat.core.gui.components.form.flexible.impl.Form.validate(Form.java:483) ~[classes/:15.5-SNAPSHOT]
      	at org.olat.core.gui.components.form.flexible.impl.Form.submit(Form.java:463) ~[classes/:15.5-SNAPSHOT]
      	at org.olat.core.gui.components.form.flexible.impl.Form.submit(Form.java:451) ~[classes/:15.5-SNAPSHOT]
      	at org.olat.core.gui.components.form.flexible.impl.elements.FormSubmit.dispatchFormRequest(FormSubmit.java:79) ~[classes/:15.5-SNAPSHOT]
      	at org.olat.core.gui.components.form.flexible.impl.FormItemImpl.doDispatchFormRequest(FormItemImpl.java:568) ~[classes/:15.5-SNAPSHOT]
      	at org.olat.core.gui.components.form.flexible.impl.Form.evalFormRequest(Form.java:317) ~[classes/:15.5-SNAPSHOT]
      	at org.olat.core.gui.components.form.flexible.impl.FormWrapperContainer.doDispatchRequest(FormWrapperContainer.java:105) ~[classes/:15.5-SNAPSHOT]
      	at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:193) ~[classes/:15.5-SNAPSHOT]
      	at org.olat.core.gui.components.Window.doDispatchToComponent(Window.java:1266) ~[classes/:15.5-SNAPSHOT]
      	at org.olat.core.gui.components.Window.dispatchRequest(Window.java:441) ~[classes/:15.5-SNAPSHOT]
      	... 34 more
      Caused by: java.net.URISyntaxException: Illegal character in path at index 26: https://card2brain.ch/box/<iframe_src="20210810_farbe_frisurengestaltung_farbenlehre/embed"_width="780"_height="150"_scrolling="/embed
      	at java.net.URI$Parser.fail(URI.java:2913) ~[?:?]
      	at java.net.URI$Parser.checkChars(URI.java:3084) ~[?:?]
      	at java.net.URI$Parser.parseHierarchical(URI.java:3166) ~[?:?]
      	at java.net.URI$Parser.parse(URI.java:3114) ~[?:?]
      	at java.net.URI.<init>(URI.java:600) ~[?:?]
      	at java.net.URI.create(URI.java:881) ~[?:?]
      	at org.apache.http.client.methods.HttpGet.<init>(HttpGet.java:66) ~[httpclient-4.5.13.jar:4.5.13]
      	at org.olat.modules.card2brain.manager.Card2BrainManagerImpl.checkSetOfFlashcards(Card2BrainManagerImpl.java:72) ~[classes/:15.5-SNAPSHOT]
      	at org.olat.course.nodes.card2brain.Card2BrainConfigController.validateFlashcardAlias(Card2BrainConfigController.java:166) ~[classes/:15.5-SNAPSHOT]
      	at org.olat.course.nodes.card2brain.Card2BrainConfigController.validateFormLogic(Card2BrainConfigController.java:151) ~[classes/:15.5-SNAPSHOT]
      	at org.olat.core.gui.components.form.flexible.impl.Form.validate(Form.java:483) ~[classes/:15.5-SNAPSHOT]
      	at org.olat.core.gui.components.form.flexible.impl.Form.submit(Form.java:463) ~[classes/:15.5-SNAPSHOT]
      	at org.olat.core.gui.components.form.flexible.impl.Form.submit(Form.java:451) ~[classes/:15.5-SNAPSHOT]
      	at org.olat.core.gui.components.form.flexible.impl.elements.FormSubmit.dispatchFormRequest(FormSubmit.java:79) ~[classes/:15.5-SNAPSHOT]
      	at org.olat.core.gui.components.form.flexible.impl.FormItemImpl.doDispatchFormRequest(FormItemImpl.java:568) ~[classes/:15.5-SNAPSHOT]
      	at org.olat.core.gui.components.form.flexible.impl.Form.evalFormRequest(Form.java:317) ~[classes/:15.5-SNAPSHOT]
      	at org.olat.core.gui.components.form.flexible.impl.FormWrapperContainer.doDispatchRequest(FormWrapperContainer.java:105) ~[classes/:15.5-SNAPSHOT]
      	at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:193) ~[classes/:15.5-SNAPSHOT]
      	at org.olat.core.gui.components.Window.doDispatchToComponent(Window.java:1266) ~[classes/:15.5-SNAPSHOT]
      	at org.olat.core.gui.components.Window.dispatchRequest(Window.java:441) ~[classes/:15.5-SNAPSHOT]
      

      Attachments

        Activity

          People

            uhensler Urs Hensler
            gnaegi Florian Gn├Ągi
            Mandy Menzel 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 - 15 minutes
                15m