[ 
https://issues.apache.org/jira/browse/HBASE-17879?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15970027#comment-15970027
 ] 

Ted Yu commented on HBASE-17879:
--------------------------------

I got the following error applying the patch:
{code}
Applying: HBASE-17879 Avoid NPE in snapshot.jsp when accessing without any 
request parameter
error: hbase-server/src/main/resources/hbase-webapps/master/snapshot.jsp: does 
not match index
Patch failed at 0001 HBASE-17879 Avoid NPE in snapshot.jsp when accessing 
without any request parameter
The copy of the patch that failed is found in:
{code}

> 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: 1.3.0
>            Reporter: Abhishek Kumar
>            Priority: Trivial
>         Attachments: HBASE-17879-master.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