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.5, 0.90.1
            Reporter: junhua yang


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

        

Reply via email to