[ https://issues.apache.org/jira/browse/HBASE-5424?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13212127#comment-13212127 ]
stack commented on HBASE-5424: ------------------------------ @Zhiyuan Your patch failed to apply to trunk. See the console output: {code} patching file src/main/java/org/apache/hadoop/hbase/client/HTable.java Hunk #1 FAILED at 423. patch unexpectedly ends in middle of line Hunk #2 succeeded at 428 with fuzz 2 (offset -14 lines). 1 out of 2 hunks FAILED -- saving rejects to file src/main/java/org/apache/hadoop/hbase/client/HTable.java.rej PATCH APPLICATION FAILED {code} Mind fixing? Your patch seems to have some odd formatting too. Thanks. > HTable meet NPE when call getRegionInfo() > ----------------------------------------- > > Key: HBASE-5424 > URL: https://issues.apache.org/jira/browse/HBASE-5424 > Project: HBase > Issue Type: Bug > Affects Versions: 0.90.1, 0.90.5 > Reporter: junhua yang > Attachments: HBASE-5424.patch, HBase-5424_1.patch > > Original Estimate: 48h > Remaining Estimate: 48h > > We meet NPE when call getRegionInfo() in testing environment. > Exception in thread "main" java.lang.NullPointerException > at org.apache.hadoop.hbase.util.Writables.getWritable(Writables.java:75) > at org.apache.hadoop.hbase.util.Writables.getHRegionInfo(Writables.java:119) > at org.apache.hadoop.hbase.client.HTable$2.processRow(HTable.java:395) > at org.apache.hadoop.hbase.client.MetaScanner.metaScan(MetaScanner.java:190) > at org.apache.hadoop.hbase.client.MetaScanner.metaScan(MetaScanner.java:95) > at org.apache.hadoop.hbase.client.MetaScanner.metaScan(MetaScanner.java:73) > at org.apache.hadoop.hbase.client.HTable.getRegionsInfo(HTable.java:418) > This NPE also make the table.jsp can't show the region information of this > table. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira