Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-27962

Can't use Basic LTI launch with anonymous user when send email enabled.

    Details

    • Type: Bug
    • Status: RESOLVED
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.2
    • Fix Version/s: 11.0
    • Component/s: BasicLTI
    • Labels:

      Description

      If you attempt to access a Basic LTI tool as an anonymous user and have enabled the sending of emails to the external tool you get a NPE.

      @40000000542d662d118a12fc java.lang.NullPointerException
      @40000000542d662d118a1acc at org.sakaiproject.basiclti.util.SakaiBLTIUtil.addPlacementInfo(SakaiBLTIUtil.java:419)
      @40000000542d662d118a2684 at org.sakaiproject.basiclti.util.SakaiBLTIUtil.sakaiInfo(SakaiBLTIUtil.java:369)
      @40000000542d662d118a323c at org.sakaiproject.basiclti.util.SakaiBLTIUtil.sakaiInfo(SakaiBLTIUtil.java:253)
      @40000000542d662d118b2c3c at org.sakaiproject.basiclti.util.SakaiBLTIUtil.postLaunchHTML(SakaiBLTIUtil.java:900)
      @40000000542d662d118b340c at org.sakaiproject.basiclti.impl.BasicLTISecurityServiceImpl$1.handleAccess(BasicLTISecurityServiceImpl.java:390)
      @40000000542d662d118b3fc4 at org.sakaiproject.access.tool.AccessServlet.dispatch(AccessServlet.java:352)
      @40000000542d662d118b4b7c at org.sakaiproject.access.tool.AccessServlet.doGet(AccessServlet.java:198)
      @40000000542d662d118b728c at javax.servlet.http.HttpServlet.service(HttpServlet.java:620)
      @40000000542d662d118b7a5c at org.sakaiproject.vm.ComponentServlet.service(ComponentServlet.java:56)
      @40000000542d662d118b8614 at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      @40000000542d662d118b8de4 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
      @40000000542d662d118bcc64 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      @40000000542d662d118bd81c at org.sakaiproject.oauth.filter.OAuthPostFilter.doFilter(OAuthPostFilter.java:73)
      @40000000542d662d118be3d4 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      @40000000542d662d118bef8c at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      @40000000542d662d118c169c at org.sakaiproject.util.RequestFilter.doFilter(RequestFilter.java:705)
      @40000000542d662d118c1e6c at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      @40000000542d662d118c2a24 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      @40000000542d662d118c35dc at org.sakaiproject.oauth.filter.OAuthPreFilter.doFilter(OAuthPreFilter.java:74)
      @40000000542d662d118c5904 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      @40000000542d662d118c64bc at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      @40000000542d662d118c7074 at org.sakaiproject.util.ThreadSetFilter.doFilter(ThreadSetFilter.java:33)
      @40000000542d662d118ca724 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      @40000000542d662d118cb2dc at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      @40000000542d662d118cbe94 at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
      @40000000542d662d118cc664 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      @40000000542d662d118d7244 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      @40000000542d662d118d7dfc at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
      @40000000542d662d118d89b4 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
      @40000000542d662d118d9184 at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
      @40000000542d662d118db894 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
      @40000000542d662d118dc44c at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      @40000000542d662d118dcc1c at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
      @40000000542d662d118dd7d4 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
      @40000000542d662d118e1654 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
      @40000000542d662d118e1e24 at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:193)
      @40000000542d662d118e29dc at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
      @40000000542d662d118e3594 at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314)
      @40000000542d662d118e58bc at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      @40000000542d662d118e6474 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      @40000000542d662d118e6c44 at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      @40000000542d662d118e77fc at java.lang.Thread.run(Thread.java:745)

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  csev Charles Severance
                  Reporter:
                  buckett Matthew Buckett
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Git Integration