[ https://issues.apache.org/jira/browse/HBASE-17879?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15979916#comment-15979916 ]
Chia-Ping Tsai commented on HBASE-17879: ---------------------------------------- v1 lgtm. +1 > Avoid NPE in snapshot.jsp when accessing without any request parameter > ---------------------------------------------------------------------- > > Key: HBASE-17879 > URL: https://issues.apache.org/jira/browse/HBASE-17879 > Project: HBase > Issue Type: Bug > Components: UI > Affects Versions: 2.0.0 > Reporter: Abhishek Kumar > Priority: Trivial > Attachments: HBASE-17879-master.patch, HBASE-17879-master-v1.patch, > HBASE-17879.patch, HBASE-17879-V1.patch, NPE_screenshot.png, > patched_screenshot.png > > > 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) -- This message was sent by Atlassian JIRA (v6.3.15#6346)