[
https://issues.apache.org/jira/browse/KNOX-2204?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17025612#comment-17025612
]
ASF subversion and git services commented on KNOX-2204:
-------------------------------------------------------
Commit 294cd1b14a0392b76897320ea8289e06c9a9bc77 in knox's branch
refs/heads/master from Larry McCay
[ https://gitbox.apache.org/repos/asf?p=knox.git;h=294cd1b ]
KNOX-2204 - KnoxLine NPE list datasources when directories don't exist (#246)
* KNOX-1742 - add to knoxshell usage rendering
* KNOX-2204 - KnoxLine NPE list datasources when directories don't exist
> KnoxLine NPE list datasources when directories don't exist
> ----------------------------------------------------------
>
> Key: KNOX-2204
> URL: https://issues.apache.org/jira/browse/KNOX-2204
> Project: Apache Knox
> Issue Type: Improvement
> Components: KnoxShell
> Reporter: Larry McCay
> Assignee: Larry McCay
> Priority: Major
> Fix For: 1.4.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> {code}
> | | ___ __ _____ _| (_)_ __ ___
> | |/ / '_ \ / _ \ \/ / | | '_ \ / _ \
> | <| | | | (_) > <| | | | | | __/
> |_|\_\_| |_|\___/_/\_\_|_|_| |_|\\__|
> powered by Apache Knox
> knoxline> :ds
> java.lang.NullPointerException
> at
> org.apache.knox.gateway.shell.jdbc.KnoxLine.listDataSources(KnoxLine.java:135)
> at
> org.apache.knox.gateway.shell.jdbc.KnoxLine.processDataSourceCommand(KnoxLine.java:110)
> at org.apache.knox.gateway.shell.jdbc.KnoxLine.executeShell(KnoxLine.java:71)
> at org.apache.knox.gateway.shell.jdbc.KnoxLine.execute(KnoxLine.java:51)
> at
> org.apache.knox.gateway.shell.KnoxSh$KnoxLineCommand.execute(KnoxSh.java:412)
> at org.apache.knox.gateway.shell.KnoxSh.run(KnoxSh.java:88)
> at org.apache.knox.gateway.shell.KnoxSh.main(KnoxSh.java:427)
> at org.apache.knox.gateway.shell.Shell.main(Shell.java:74)
> Closing any open connections ...
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)