when admin server creades dynamic client to cache server we get exception:
[java] 2018-01-04 09:39:36.841 [hz.hzInstance.cached.thread-19] ERROR com.bagri.xqj.BagriXQDataSource - initRepository. error creating Repository of type com.bagri.client.hazelcast.impl.SchemaRepositoryImpl with Properties. Falling back to default constructor
[java] java.lang.reflect.InvocationTargetException: null
[java] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.8.0_112]
[java] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[na:1.8.0_112]
[java] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[na:1.8.0_112]
[java] at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[na:1.8.0_112]
[java] at com.bagri.xqj.BagriXQDataSource.initRepository(BagriXQDataSource.java:145) [bagri-xqj-1.2.0-RC1.jar:na]
[java] at com.bagri.xqj.BagriXQDataSource.initConnection(BagriXQDataSource.java:173) [bagri-xqj-1.2.0-RC1.jar:na]
[java] Jan 04, 2018 9:39:36 AM com.hazelcast.config.AbstractXmlConfigHelper
[java] at com.bagri.xqj.BagriXQDataSource.getConnection(BagriXQDataSource.java:95) [bagri-xqj-1.2.0-RC1.jar:na]
[java] at com.bagri.server.hazelcast.management.SchemaManagement.setupXQConnection(SchemaManagement.java:236) [classes/:na]
[java] WARNING: Name of the hazelcast schema location incorrect using default
[java] at com.bagri.server.hazelcast.management.SchemaManagement.initSchema(SchemaManagement.java:214) [classes/:na]
[java] at com.bagri.server.hazelcast.management.SchemaManagement.initMember(SchemaManagement.java:344) [classes/:na]
[java] at com.bagri.server.hazelcast.task.schema.SchemaAdministrator.call(SchemaAdministrator.java:64) [classes/:na]
[java] at com.bagri.server.hazelcast.task.schema.SchemaAdministrator.call(SchemaAdministrator.java:23) [classes/:na]
[java] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_112]
[java] at com.hazelcast.executor.impl.DistributedExecutorService$CallableProcessor.run(DistributedExecutorService.java:241) [hazelcast-all-3.8.7.jar:3.8.7]
[java] at com.hazelcast.util.executor.CachedExecutorServiceDelegate$Worker.run(CachedExecutorServiceDelegate.java:227) [hazelcast-all-3.8.7.jar:3.8.7]
[java] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_112]
[java] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_112]
[java] at java.lang.Thread.run(Thread.java:745) [na:1.8.0_112]
[java] at com.hazelcast.util.executor.HazelcastManagedThread.executeRun(HazelcastManagedThread.java:64) [hazelcast-all-3.8.7.jar:3.8.7]
[java] at com.hazelcast.util.executor.HazelcastManagedThread.run(HazelcastManagedThread.java:80) [hazelcast-all-3.8.7.jar:3.8.7]
[java] Caused by: com.hazelcast.client.HazelcastClientNotActiveException: Client is not active.
[java] at com.hazelcast.client.impl.HazelcastClientProxy.getClient(HazelcastClientProxy.java:296) ~[hazelcast-all-3.8.7.jar:3.8.7]
[java] at com.hazelcast.client.impl.HazelcastClientProxy.getReplicatedMap(HazelcastClientProxy.java:128) ~[hazelcast-all-3.8.7.jar:3.8.7]
[java] at com.bagri.client.hazelcast.impl.ClientManagementImpl.addClient(ClientManagementImpl.java:101) ~[bagri-client-hazelcast-1.2.0-RC1.jar:na]
[java] at com.bagri.client.hazelcast.impl.ClientManagementImpl.connect(ClientManagementImpl.java:71) ~[bagri-client-hazelcast-1.2.0-RC1.jar:na]
[java] at com.bagri.client.hazelcast.impl.SchemaRepositoryImpl.initializeFromProperties(SchemaRepositoryImpl.java:136) ~[bagri-client-hazelcast-1.2.0-RC1.jar:na]
[java] at com.bagri.client.hazelcast.impl.SchemaRepositoryImpl.<init>(SchemaRepositoryImpl.java:54) ~ [bagri-client-hazelcast-1.2.0-RC1.jar:na]
[java] ... 20 common frames omitted
[java] 2018-01-04 09:39:36.895 [hz.hzInstance.cached.thread-19] ERROR com.bagri.server.hazelcast.management.SchemaManagement - initSchema.error; argument 'name' can't be null
[java] java.lang.IllegalArgumentException: argument 'name' can't be null
[java] at com.hazelcast.util.Preconditions.isNotNull(Preconditions.java:88) ~[hazelcast-all-3.8.7.jar:3.8.7]
[java] at com.hazelcast.config.GroupConfig.setName(GroupConfig.java:86) ~[hazelcast-all-3.8.7.jar:3.8.7]
[java] at com.bagri.client.hazelcast.impl.ClientManagementImpl.initializeHazelcast(ClientManagementImpl.java:209) ~[bagri-client-hazelcast-1.2.0-RC1.jar:na]
[java] at com.bagri.client.hazelcast.impl.ClientManagementImpl.connect(ClientManagementImpl.java:62) ~[bagri-client-hazelcast-1.2.0-RC1.jar:na]
[java] at com.bagri.client.hazelcast.impl.SchemaRepositoryImpl.initializeFromProperties(SchemaRepositoryImpl.java:136) ~[bagri-client-hazelcast-1.2.0-RC1.jar:na]
[java] at com.bagri.client.hazelcast.impl.SchemaRepositoryImpl.<init>(SchemaRepositoryImpl.java:49) ~[bagri-client-hazelcast-1.2.0-RC1.jar:na]
[java] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.8.0_112]
[java] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[na:1.8.0_112]
[java] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[na:1.8.0_112]
[java] at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[na:1.8.0_112]
[java] at java.lang.Class.newInstance(Class.java:442) ~[na:1.8.0_112]
[java] at com.bagri.xqj.BagriXQDataSource.initRepository(BagriXQDataSource.java:152) ~[bagri-xqj-1.2.0-RC1.jar:na]
[java] at com.bagri.xqj.BagriXQDataSource.initConnection(BagriXQDataSource.java:173) ~[bagri-xqj-1.2.0-RC1.jar:na]
[java] at com.bagri.xqj.BagriXQDataSource.getConnection(BagriXQDataSource.java:95) ~[bagri-xqj-1.2.0-RC1.jar:na]
[java] at com.bagri.server.hazelcast.management.SchemaManagement.setupXQConnection(SchemaManagement.java:236) [classes/:na]
[java] at com.bagri.server.hazelcast.management.SchemaManagement.initSchema(SchemaManagement.java:214) [classes/:na]
[java] at com.bagri.server.hazelcast.management.SchemaManagement.initMember(SchemaManagement.java:344) [classes/:na]
[java] at com.bagri.server.hazelcast.task.schema.SchemaAdministrator.call(SchemaAdministrator.java:64) [classes/:na]
[java] at com.bagri.server.hazelcast.task.schema.SchemaAdministrator.call(SchemaAdministrator.java:23) [classes/:na]
[java] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_112]