[ 
https://issues.apache.org/jira/browse/GEODE-4160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16313700#comment-16313700
 ] 

ASF subversion and git services commented on GEODE-4160:
--------------------------------------------------------

Commit 92ced7912800128c078bccc65ad7476cc25cacee in geode's branch 
refs/heads/develop from [~dschneider]
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=92ced79 ]

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
>
> 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)

Reply via email to