Hi Dharam, 

This issue (https://issues.apache.org/jira/browse/GEODE-2369 
<https://issues.apache.org/jira/browse/GEODE-2369>) is fixed in the upcoming 
1.2.0 release.  (The —dir option was not propertly respected in 1.1.)  

In the upcoming 1.2.0 release, the —dir option has been dropped in favor of 
allowing --zip-file-name to accept either a relative path or an absolute path.  

Thanks,
Jared

> On Jun 7, 2017, at 9:25 PM, Thacker, Dharam <[email protected]> 
> wrote:
> 
> Hi Team, 
> 
> Any update on this ?  
> 
> Regards, 
> Dharam
> 
> 
> Sent with BlackBerry Work (www.blackberry.com)
> From: Dharam Thacker <[email protected]>
> Sent: Jun 5, 2017 10:27 PM
> To: [email protected]
> Subject: Re: NullPointerException with Cluster Configuration Export Service
> 
> Hi, 
> 
> I am using Geode 1.1.1.
> 
> Regards, 
> Dharam
> 
> On Jun 5, 2017 10:18 PM, "Jared Stewart" <[email protected] 
> <mailto:[email protected]>> wrote:
> Hi Dharam,
> 
> What version of Geode are you using?
> 
> 
>> On Jun 4, 2017, at 11:25 PM, Thacker, Dharam <[email protected] 
>> <mailto:[email protected]>> wrote:
>> 
>> Hi Team,
>>  
>> I suspect a potential bug in cluster configuration export service. Could you 
>> help me to verify the same from below?
>>  
>>  
>> gfsh>export cluster-configuration --zip-file-name=myClusterConfig.zip 
>> --dir=/local/user/shared
>> Could not process command due to GemFire error. Error while processing 
>> command <export cluster-configuration --zip-file-name=myClusterConfig.zip 
>> --dir=/local/user/shared> Reason : null
>>  
>> Locator logs:
>> [info 2017/06/05 02:20:35.649 EDT Locator1 <RMI TCP Connection(626)-X.X.X.X> 
>> tid=0x356] (tid=854 msgId=54) Could not execute "export 
>> cluster-configuration --
>> zip-file-name=myClusterConfig.zip --dir=/local/user/shared".
>> java.lang.NullPointerException
>>         at 
>> org.apache.geode.management.internal.cli.commands.ExportImportClusterConfigurationCommands.exportSharedConfig(ExportImportClusterConfigurationCommands.java:8
>> 5)
>>         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.RemoteExecutionStrategy.execute(RemoteExecutionStrategy.java:91)
>>         at 
>> org.apache.geode.management.internal.cli.remote.CommandProcessor.executeCommand(CommandProcessor.java:117)
>>         at 
>> org.apache.geode.management.internal.cli.remote.CommandStatementImpl.process(CommandStatementImpl.java:71)
>>         at 
>> org.apache.geode.management.internal.cli.remote.MemberCommandService.processCommand(MemberCommandService.java:52)
>>         at 
>> org.apache.geode.management.internal.beans.MemberMBeanBridge.processCommand(MemberMBeanBridge.java:1639)
>>         at 
>> org.apache.geode.management.internal.beans.MemberMBean.processCommand(MemberMBean.java:404)
>>         at 
>> org.apache.geode.management.internal.beans.MemberMBean.processCommand(MemberMBean.java:397)
>>         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 sun.reflect.misc.Trampoline.invoke(MethodUtil.java:71)
>>         at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
>>         at 
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>         at java.lang.reflect.Method.invoke(Method.java:498)
>>         at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:275)
>>         at 
>> com.sun.jmx.mbeanserver.ConvertingMethod.invokeWithOpenReturn(ConvertingMethod.java:193)
>>         at 
>> com.sun.jmx.mbeanserver.ConvertingMethod.invokeWithOpenReturn(ConvertingMethod.java:175)
>>         at 
>> com.sun.jmx.mbeanserver.MXBeanIntrospector.invokeM2(MXBeanIntrospector.java:117)
>>         at 
>> com.sun.jmx.mbeanserver.MXBeanIntrospector.invokeM2(MXBeanIntrospector.java:54)
>>         at 
>> com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:237)
>>         at com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:138)
>>         at com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:252)
>>         at 
>> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
>>         at 
>> com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
>>         at 
>> javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1468)
>>         at 
>> javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:76)
>>         at 
>> javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1309)
>>  
>> Thanks & Regards,
>> Dharam
>> This message is confidential and subject to terms at: 
>> http://www.jpmorgan.com/emaildisclaimer 
>> <http://www.jpmorgan.com/emaildisclaimer> including on confidentiality, 
>> legal privilege, viruses and monitoring of electronic messages. If you are 
>> not the intended recipient, please delete this message and notify the sender 
>> immediately. Any unauthorized use is strictly prohibited.
>> 
> 
> 
> This message is confidential and subject to terms at: 
> http://www.jpmorgan.com/emaildisclaimer 
> <http://www.jpmorgan.com/emaildisclaimer> including on confidentiality, legal 
> privilege, viruses and monitoring of electronic messages. If you are not the 
> intended recipient, please delete this message and notify the sender 
> immediately. Any unauthorized use is strictly prohibited.
> 

Reply via email to