[ 
https://issues.apache.org/jira/browse/PHOENIX-1993?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

James Taylor resolved PHOENIX-1993.
-----------------------------------
    Resolution: Cannot Reproduce

> NPE on sqlline.py start.
> ------------------------
>
>                 Key: PHOENIX-1993
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-1993
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.4.0
>            Reporter: Serhiy Bilousov
>            Priority: Minor
>
> After updating to 4.4  sqlline throw exception on the start. It does not look 
> like it affects use afterwards thou. 
> {noformat}
> ./sqlline.py *********:2181:/hbase
> Setting property: [isolation, TRANSACTION_READ_COMMITTED]
> issuing: !connect jdbc:phoenix:***************:2181:/hbase none none 
> org.apache.phoenix.jdbc.PhoenixDriver
> Connecting to jdbc:phoenix:**************:2181:/hbase
> SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
> SLF4J: Defaulting to no-operation (NOP) logger implementation
> SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further 
> details.
> 15/05/19 13:41:46 WARN util.NativeCodeLoader: Unable to load native-hadoop 
> library for your platform... using builtin-java classes where applicable
> Connected to: Phoenix (version 4.4)
> Driver: PhoenixEmbeddedDriver (version 4.4)
> Autocommit status: true
> Transaction isolation: TRANSACTION_READ_COMMITTED
> Building list of tables and columns for tab-completion (set fastconnect to 
> true to skip)...
> 346/346 (100%) Done
> Done
> java.lang.NullPointerException
>         at java.util.TreeMap.put(TreeMap.java:563)
>         at java.util.TreeSet.add(TreeSet.java:255)
>         at java.util.AbstractCollection.addAll(AbstractCollection.java:344)
>         at java.util.TreeSet.addAll(TreeSet.java:312)
>         at sqlline.SqlCompleter.<init>(SqlCompleter.java:81)
>         at 
> sqlline.DatabaseConnection.setCompletions(DatabaseConnection.java:84)
>         at sqlline.SqlLine.setCompletions(SqlLine.java:1730)
>         at sqlline.Commands.connect(Commands.java:1066)
>         at sqlline.Commands.connect(Commands.java:996)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:483)
>         at 
> sqlline.ReflectiveCommandHandler.execute(ReflectiveCommandHandler.java:36)
>         at sqlline.SqlLine.dispatch(SqlLine.java:804)
>         at sqlline.SqlLine.initArgs(SqlLine.java:588)
>         at sqlline.SqlLine.begin(SqlLine.java:656)
>         at sqlline.SqlLine.start(SqlLine.java:398)
>         at sqlline.SqlLine.main(SqlLine.java:292)
> sqlline version 1.1.8
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to