[ 
https://issues.apache.org/jira/browse/HBASE-17879?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chia-Ping Tsai updated HBASE-17879:
-----------------------------------
    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

Thanks for the patching. [~a72877]

> 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
>             Fix For: 2.0.0
>
>         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)

Reply via email to