[ https://issues.apache.org/jira/browse/HBASE-5424?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13210845#comment-13210845 ]
Lars Hofhansl edited comment on HBASE-5424 at 2/18/12 7:16 AM: --------------------------------------------------------------- Thanks zhiyuan. I'm wondering whether we shouldn't focus on fixing the problem that caused the problem rather than pasting over it. was (Author: lhofhansl): That zhiyuan. I'm wondering whether we shouldn't focus on fixing the problem that caused the problem rather than pasting over it. > 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 > > 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