[
https://issues.apache.org/jira/browse/GEODE-4160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16310191#comment-16310191
]
Darrel Schneider commented on GEODE-4160:
-----------------------------------------
The following exception is in the locator log and explains why the command is
failing
{noformat}
java.lang.NullPointerException
at
org.apache.geode.connectors.jdbc.internal.cli.DescribeConnectionCommand.fillResultData(DescribeConnectionCommand.java:106)
at
org.apache.geode.connectors.jdbc.internal.cli.DescribeConnectionCommand.describeConnection(DescribeConnectionCommand.java:81)
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:498)
at
org.springframework.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:216)
at
org.apache.geode.management.internal.cli.remote.CommandExecutor.invokeCommand(CommandExecutor.java:97)
at
org.apache.geode.management.internal.cli.remote.CommandExecutor.execute(CommandExecutor.java:45)
at
org.apache.geode.management.internal.cli.remote.CommandExecutor.execute(CommandExecutor.java:39)
at
org.apache.geode.management.internal.cli.remote.OnlineCommandProcessor.executeCommand(OnlineCommandProcessor.java:131)
at
org.apache.geode.management.internal.beans.MemberMBeanBridge.processCommand(MemberMBeanBridge.java:1577)
{noformat}
> 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
>
> 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)