Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-17879

Avoid NPE in snapshot.jsp when accessing without any request parameter

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0
    • UI
    • None

    Description

      When accessing snapshot jsp with below url inadvertently NPE comes in UI:
      Requested URL:
      http://<MasterHost>:<Port>/snapshot.jsp?

      Response:
      java.lang.NullPointerException
      at org.apache.hadoop.hbase.generated.master.snapshot_jsp._jspService(snapshot_jsp.java:66)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)

      Attachments

        1. HBASE-17879.patch
          2 kB
          Abhishek Kumar
        2. NPE_screenshot.png
          873 kB
          Abhishek Kumar
        3. patched_screenshot.png
          175 kB
          Abhishek Kumar
        4. HBASE-17879-V1.patch
          2 kB
          Abhishek Kumar
        5. HBASE-17879-master.patch
          2 kB
          Abhishek Kumar
        6. HBASE-17879-master-v1.patch
          2 kB
          Abhishek Kumar

        Activity

          People

            Unassigned Unassigned
            a72877 Abhishek Kumar
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: