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

RS: button preview in course element editor of LTI

    XMLWordPrintable

    Details

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

      Description

      The preview button in the configuration of the LTI course element doesn't work.

      2019-08-20 16:43:54.052 [ajp-nio2-8002-exec-3] ERROR OLATRuntimeException ^%^ I49043-J2781
      org.olat.core.logging.OLATRuntimeException
      https://community.openolat.org/auth/RepositoryEntry/57344000/Editor/0
      Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0
      
      **RedScreen** null
      <dispatchinfo>
      	<componentinfo>
      		<compname>command.preview</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>command.preview</command>
      			<tostring>com:command.preview,org.olat.core.gui.control.Event@67e25844</tostring>
      		</event>
      	</componentinfo>
      	<controllerinfo>
      		<controllername>org.olat.course.nodes.basiclti.LTIEditController</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> 
      org.olat.core.logging.OLATRuntimeException
       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:586)
       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:263) at org.olat.dispatcher.AuthenticatedDispatcher.execute(AuthenticatedDispatcher.java:184) at org.olat.core.servlets.OpenOLATServlet.executeUserRequest(OpenOLATServlet.java:269) at org.olat.core.servlets.OpenOLATServlet.doPost(OpenOLATServlet.java:216) at javax.servlet.http.HttpServlet.service(HttpServlet.java:661)
       at org.olat.core.servlets.OpenOLATServlet.service(OpenOLATServlet.java:160)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
       at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
       at org.olat.core.servlets.HeadersFilter.doFilter(HeadersFilter.java:95)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
       ...
      Caused by: java.lang.NullPointerException
       at org.olat.course.nodes.basiclti.LTIRunController.getLTIRoles(LTIRunController.java:482)
       at org.olat.course.nodes.basiclti.LTIRunController.doBasicLTI(LTIRunController.java:462)
       at org.olat.course.nodes.basiclti.LTIRunController.<init>(LTIRunController.java:132)
       at org.olat.course.nodes.basiclti.LTIEditController.event(LTIEditController.java:129)
       at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:206)
       at org.olat.core.gui.components.AbstractComponent$1.run(AbstractComponent.java:240)
       at org.olat.core.logging.activity.ThreadLocalUserActivityLoggerInstaller.runWithUserActivityLogger(ThreadLocalUserActivityLoggerInstaller.java:108)
       at org.olat.core.gui.components.AbstractComponent.fireEvent(AbstractComponent.java:238)
       at org.olat.core.gui.components.link.Link.dispatch(Link.java:205)
       at org.olat.core.gui.components.link.Link.doDispatchRequest(Link.java:192)
       at org.olat.core.gui.components.A
       
      

        Attachments

          Activity

            People

            Assignee:
            srosse Stéphane Rossé
            Reporter:
            stephan Stephan Clemenz
            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