[
https://issues.apache.org/jira/browse/HBASE-15369?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15227320#comment-15227320
]
Ted Yu commented on HBASE-15369:
--------------------------------
{code}
41 if(region == null) {
42 displayName= ESAPI.encoder().encodeForHTML(regionName) + " does
not exist";
43 }else {
{code}
Please insert space between if and '(', between right curly and else.
Please replace tab characters.
> Handle NPE in region.jsp
> ------------------------
>
> Key: HBASE-15369
> URL: https://issues.apache.org/jira/browse/HBASE-15369
> Project: HBase
> Issue Type: Sub-task
> Components: UI
> Affects Versions: 2.0.0
> Reporter: Samir Ahmic
> Assignee: Samir Ahmic
> Priority: Minor
> Fix For: 2.0.0
>
> Attachments: HBASE-15369_v0.patch
>
>
> If empty or non-existing region name parameter is passed to "region.jsp
> ?name=" it will cause 500 NPE error. It is not big deal but looks ugly.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)