hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-17879) Avoid NPE in snapshot.jsp when accessing without any request parameter
Date Fri, 14 Apr 2017 14:59:41 GMT

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

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

lgtm

> 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.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)

Mime
View raw message