Uploaded image for project: 'Shindig'
  1. Shindig
  2. SHINDIG-1075

DefaultHandlerRegistry.getRestHandler throws an NPE for unregistered paths

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.1-BETA1
    • Fix Version/s: 1.1-BETA1
    • Component/s: Java
    • Labels:
      None

      Description

      Send a request to a running social server for /api. Note that an npe gets thrown in DefaultHandlerRegistry.getRestHandler,

      java.lang.NullPointerException
      at org.apache.shindig.protocol.DefaultHandlerRegistry.getRestHandler(DefaultHandlerRegistry.java:143)
      at org.apache.shindig.protocol.DataServiceServlet.getRestHandler(DataServiceServlet.java:188)
      at org.apache.shindig.protocol.DataServiceServlet.handleSingleRequest(DataServiceServlet.java:148)
      at org.apache.shindig.protocol.DataServiceServlet.executeRequest(DataServiceServlet.java:108)
      at org.apache.shindig.protocol.DataServiceServlet.doGet(DataServiceServlet.java:53)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              bobevans Bob Evans
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: