hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Gray (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-915) NPE on client when problems; symptom hides real problem
Date Tue, 07 Oct 2008 22:44:44 GMT

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

Jonathan Gray commented on HBASE-915:
-------------------------------------

As discussed in IRC, this is likely due to the wrong jars being used in the classpath.

This has bitten quite a few people, myself included.  Is there a way to verify version numbers
of the client lib vs server lib?

> NPE on client when problems; symptom hides real problem
> -------------------------------------------------------
>
>                 Key: HBASE-915
>                 URL: https://issues.apache.org/jira/browse/HBASE-915
>             Project: Hadoop HBase
>          Issue Type: Bug
>            Reporter: stack
>
> From AlphaOmega: 
> {code}
>    1.
>       Caused by: java.lang.NullPointerException
>    2.
>               at java.lang.String.<init>(String.java:516)
>    3.
>               at org.apache.hadoop.hbase.util.Bytes.toString(Bytes.java:75)
>    4.
>               at org.apache.hadoop.hbase.client.RetriesExhaustedException.getMessage(RetriesExhaustedException.java:50)
>    5.
>               at org.apache.hadoop.hbase.client.RetriesExhaustedException.<init>(RetriesExhaustedException.java:40)
>    6.
>               at org.apache.hadoop.hbase.client.HConnectionManager$TableServers.getRegionServerWithRetries(HConnectionManager.java:863)
>    7.
>               at org.apache.hadoop.hbase.client.MetaScanner.metaScan(MetaScanner.java:56)
>    8.
>               at org.apache.hadoop.hbase.client.MetaScanner.metaScan(MetaScanner.java:30)
>    9.
>               at org.apache.hadoop.hbase.client.HConnectionManager$TableServers.listTables(HConnectionManager.java:297)
>   10.
>               at org.apache.hadoop.hbase.client.HBaseAdmin.listTables(HBaseAdmin.java:117)
>   11.
>               at com.company.app.manager.util.TableUtils.createHBaseTable(TableUtils.java:113)
>   12.
>               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   13.
>               at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>   14.
>               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>   15.
>               at java.lang.reflect.Method.invoke(Method.java:597)
>   16.
>               at org.springframework.util.MethodInvoker.invoke(MethodInvoker.java:276)
>   17.
>               at org.springframework.beans.factory.config.MethodInvokingFactoryBean.doInvoke(MethodInvokingFactoryBean.java:160)
>   18.
>               at org.springframework.beans.factory.config.MethodInvokingFactoryBean.afterPropertiesSet(MethodInvokingFactoryBean.java:150)
>   19.
>               at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1368)
>   20.
>               at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1334)
>   21.
>               ... 65 more
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message