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

/direct throws NPE

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Critical
    • Resolution: Duplicate
    • Affects Version/s: 11.0
    • Fix Version/s: None
    • Component/s: Entity Broker
    • Labels:
      None

      Description

      If you navigate to /direct it should redirect you to /direct/describe.
      However it throws an NPE:

      java.lang.NullPointerException
      	org.sakaiproject.entitybroker.util.servlet.DirectServlet.handleRequest(DirectServlet.java:150)
      	org.sakaiproject.entitybroker.util.servlet.DirectServlet.service(DirectServlet.java:132)
      	javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
      	org.sakaiproject.oauth.filter.OAuthPostFilter.doFilter(OAuthPostFilter.java:60)
      	org.sakaiproject.util.RequestFilter.doFilter(RequestFilter.java:467)
      	org.sakaiproject.oauth.filter.OAuthPreFilter.doFilter(OAuthPreFilter.java:74)
      	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
      

      Only if you add the / does it redirect.

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  • Assignee:
                    maintenanceteam Core Team
                    Reporter:
                    steve.swinsburg Steve Swinsburg
                  • Votes:
                    0 Vote for this issue
                    Watchers:
                    2 Start watching this issue

                    Dates

                    • Created:
                      Updated:
                      Resolved:

                      Git Integration