[
https://issues.apache.org/jira/browse/GEODE-4160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16313984#comment-16313984
]
ASF subversion and git services commented on GEODE-4160:
--------------------------------------------------------
Commit 6a8af5b4482e650d78e94b60ed44b93cc621b8e9 in geode's branch
refs/heads/release/1.4.0 from [~dschneider]
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=6a8af5b ]
GEODE-4160: fix gfsh describe jdbc-connection (#1223)
* GEODE-4160: fix gfsh describe jdbc-connection
If the connection had no parameters set, then running
gfsh describe jdbc-connection would fail with an NPE.
> gfsh describe jdbc-connections errors describing a valid connection
> -------------------------------------------------------------------
>
> Key: GEODE-4160
> URL: https://issues.apache.org/jira/browse/GEODE-4160
> Project: Geode
> Issue Type: Bug
> Components: regions
> Affects Versions: 1.4.0
> Reporter: Fred Krone
> Assignee: Darrel Schneider
> Fix For: 1.5.0
>
>
> Steps to reproduce issue:
> 1) create a jdbc-connection
> 2) describe that jdbc-connection
> 3) you get an error even though the mapping exists (via list mapping, etc)
> gfsh>describe jdbc-mapping --region=employee
> Could not process command due to error. Error while processing command
> <describe jdbc-mapping --region=employee> Reason : null
> gfsh>create jdbc-connection --name=connection1
> --url="jdbc:derby://localhost:1527/MyDbTest"
> (Experimental)
> Member | Status
> ------ | -----------------------------------------
> s1 | Created JDBC connection connection1 on s1
> gfsh>describe jdbc-connection --name=connection1
> Could not process command due to error. Error while processing command
> <describe jdbc-connection --name=connection1> Reason : null
> gfsh>
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)