<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/apache/dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/apache/dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h3 dir="auto">Environment</h3>
<ul dir="auto">
<li>Dubbo version: 2.6.0</li>
<li>Operating System version: CentOS 6.8</li>
<li>Java version: 1.8.0_171</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<ol dir="auto">
<li>Use generic invocation to call interfaces</li>
</ol>
<p dir="auto">Pls. provide [GitHub address] to reproduce this issue.</p>
<h3 dir="auto">Expected Result</h3>
<p dir="auto">call success</p>
<h3 dir="auto">Actual Result</h3>
<p dir="auto">response error</p>
<p dir="auto">If there is an exception, please attach the exception trace:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="java.lang.RuntimeException: Class com.alibaba.dubbo.common.utils.PojoUtils can not access a member of class com.ztjy.imbase.api.model.response.GetJoinGroupsResponse$Group with modifiers &quot;public&quot;
	at com.alibaba.dubbo.common.utils.PojoUtils.generalize(PojoUtils.java:184)
	at com.alibaba.dubbo.common.utils.PojoUtils.generalize(PojoUtils.java:92)
	at com.alibaba.dubbo.rpc.filter.GenericFilter.invoke(GenericFilter.java:123)
	at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:68)
	at com.alibaba.dubbo.rpc.filter.ClassLoaderFilter.invoke(ClassLoaderFilter.java:37)
	at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:68)
	at com.alibaba.dubbo.rpc.filter.EchoFilter.invoke(EchoFilter.java:37)
	at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:68)
	at com.alibaba.dubbo.rpc.protocol.dubbo.DubboProtocol$1.reply(DubboProtocol.java:98)
	at com.alibaba.dubbo.remoting.exchange.support.header.HeaderExchangeHandler.handleRequest(HeaderExchangeHandler.java:96)
	at com.alibaba.dubbo.remoting.exchange.support.header.HeaderExchangeHandler.received(HeaderExchangeHandler.java:168)
	at com.alibaba.dubbo.remoting.transport.DecodeHandler.received(DecodeHandler.java:50)
	at com.alibaba.dubbo.remoting.transport.dispatcher.ChannelEventRunnable.run(ChannelEventRunnable.java:79)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.RuntimeException: Class com.alibaba.dubbo.common.utils.PojoUtils can not access a member of class com.ztjy.imbase.api.model.response.GetJoinGroupsResponse$Group with modifiers &quot;public&quot;
	at com.alibaba.dubbo.common.utils.PojoUtils.generalize(PojoUtils.java:164)
	at com.alibaba.dubbo.common.utils.PojoUtils.generalize(PojoUtils.java:143)
	at com.alibaba.dubbo.common.utils.PojoUtils.generalize(PojoUtils.java:181)
	... 15 more
Caused by: java.lang.IllegalAccessException: Class com.alibaba.dubbo.common.utils.PojoUtils can not access a member of class com.ztjy.imbase.api.model.response.GetJoinGroupsResponse$Group with modifiers &quot;public&quot;
	at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:102)
	at java.lang.reflect.AccessibleObject.slowCheckMemberAccess(AccessibleObject.java:296)
	at java.lang.reflect.AccessibleObject.checkAccess(AccessibleObject.java:288)
	at java.lang.reflect.Method.invoke(Method.java:491)
	at com.alibaba.dubbo.common.utils.PojoUtils.generalize(PojoUtils.java:162)
	... 17 more

	at org.apache.dubbo.rpc.cluster.support.FailoverClusterInvoker.doInvoke(FailoverClusterInvoker.java:113)
	at org.apache.dubbo.rpc.cluster.support.AbstractClusterInvoker.invoke(AbstractClusterInvoker.java:248)
	at org.apache.dubbo.rpc.cluster.support.wrapper.MockClusterInvoker.invoke(MockClusterInvoker.java:78)
	at org.apache.dubbo.rpc.proxy.InvokerInvocationHandler.invoke(InvokerInvocationHandler.java:55)
	at org.apache.dubbo.common.bytecode.proxy0.$invoke(proxy0.java)
	at com.tools.DubboClient.request(DubboClient.java:293)
	at com.tools.DubboClient.main(DubboClient.java:50)
Caused by: java.util.concurrent.ExecutionException: org.apache.dubbo.remoting.RemotingException: java.lang.RuntimeException: Class com.alibaba.dubbo.common.utils.PojoUtils can not access a member of class com.ztjy.imbase.api.model.response.GetJoinGroupsResponse$Group with modifiers &quot;public&quot;
java.lang.RuntimeException: Class com.alibaba.dubbo.common.utils.PojoUtils can not access a member of class com.ztjy.imbase.api.model.response.GetJoinGroupsResponse$Group with modifiers &quot;public&quot;
	at com.alibaba.dubbo.common.utils.PojoUtils.generalize(PojoUtils.java:184)
	at com.alibaba.dubbo.common.utils.PojoUtils.generalize(PojoUtils.java:92)
	at com.alibaba.dubbo.rpc.filter.GenericFilter.invoke(GenericFilter.java:123)
	at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:68)
	at com.alibaba.dubbo.rpc.filter.ClassLoaderFilter.invoke(ClassLoaderFilter.java:37)
	at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:68)
	at com.alibaba.dubbo.rpc.filter.EchoFilter.invoke(EchoFilter.java:37)
	at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:68)
	at com.alibaba.dubbo.rpc.protocol.dubbo.DubboProtocol$1.reply(DubboProtocol.java:98)
	at com.alibaba.dubbo.remoting.exchange.support.header.HeaderExchangeHandler.handleRequest(HeaderExchangeHandler.java:96)
	at com.alibaba.dubbo.remoting.exchange.support.header.HeaderExchangeHandler.received(HeaderExchangeHandler.java:168)
	at com.alibaba.dubbo.remoting.transport.DecodeHandler.received(DecodeHandler.java:50)
	at com.alibaba.dubbo.remoting.transport.dispatcher.ChannelEventRunnable.run(ChannelEventRunnable.java:79)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.RuntimeException: Class com.alibaba.dubbo.common.utils.PojoUtils can not access a member of class com.ztjy.imbase.api.model.response.GetJoinGroupsResponse$Group with modifiers &quot;public&quot;
	at com.alibaba.dubbo.common.utils.PojoUtils.generalize(PojoUtils.java:164)
	at com.alibaba.dubbo.common.utils.PojoUtils.generalize(PojoUtils.java:143)
	at com.alibaba.dubbo.common.utils.PojoUtils.generalize(PojoUtils.java:181)
	... 15 more
Caused by: java.lang.IllegalAccessException: Class com.alibaba.dubbo.common.utils.PojoUtils can not access a member of class com.ztjy.imbase.api.model.response.GetJoinGroupsResponse$Group with modifiers &quot;public&quot;
	at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:102)
	at java.lang.reflect.AccessibleObject.slowCheckMemberAccess(AccessibleObject.java:296)
	at java.lang.reflect.AccessibleObject.checkAccess(AccessibleObject.java:288)
	at java.lang.reflect.Method.invoke(Method.java:491)
	at com.alibaba.dubbo.common.utils.PojoUtils.generalize(PojoUtils.java:162)
	... 17 more

	at java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:357)
	at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1915)
	at org.apache.dubbo.rpc.protocol.AsyncToSyncInvoker.invoke(AsyncToSyncInvoker.java:56)
	at org.apache.dubbo.rpc.filter.GenericImplFilter.invoke(GenericImplFilter.java:119)
	at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:82)
	at org.apache.dubbo.monitor.support.MonitorFilter.invoke(MonitorFilter.java:92)
	at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:82)
	at org.apache.dubbo.rpc.protocol.dubbo.filter.FutureFilter.invoke(FutureFilter.java:54)
	at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:82)
	at org.apache.dubbo.rpc.filter.ConsumerContextFilter.invoke(ConsumerContextFilter.java:58)
	at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:82)
	at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$CallbackRegistrationInvoker.invoke(ProtocolFilterWrapper.java:157)
	at org.apache.dubbo.rpc.listener.ListenerInvokerWrapper.invoke(ListenerInvokerWrapper.java:78)
	at org.apache.dubbo.rpc.protocol.InvokerWrapper.invoke(InvokerWrapper.java:56)
	at org.apache.dubbo.rpc.cluster.support.FailoverClusterInvoker.doInvoke(FailoverClusterInvoker.java:82)
	... 6 more
Caused by: org.apache.dubbo.remoting.RemotingException: java.lang.RuntimeException: Class com.alibaba.dubbo.common.utils.PojoUtils can not access a member of class com.ztjy.imbase.api.model.response.GetJoinGroupsResponse$Group with modifiers &quot;public&quot;
java.lang.RuntimeException: Class com.alibaba.dubbo.common.utils.PojoUtils can not access a member of class com.ztjy.imbase.api.model.response.GetJoinGroupsResponse$Group with modifiers &quot;public&quot;
	at com.alibaba.dubbo.common.utils.PojoUtils.generalize(PojoUtils.java:184)
	at com.alibaba.dubbo.common.utils.PojoUtils.generalize(PojoUtils.java:92)
	at com.alibaba.dubbo.rpc.filter.GenericFilter.invoke(GenericFilter.java:123)
	at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:68)
	at com.alibaba.dubbo.rpc.filter.ClassLoaderFilter.invoke(ClassLoaderFilter.java:37)
	at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:68)
	at com.alibaba.dubbo.rpc.filter.EchoFilter.invoke(EchoFilter.java:37)
	at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:68)
	at com.alibaba.dubbo.rpc.protocol.dubbo.DubboProtocol$1.reply(DubboProtocol.java:98)
	at com.alibaba.dubbo.remoting.exchange.support.header.HeaderExchangeHandler.handleRequest(HeaderExchangeHandler.java:96)
	at com.alibaba.dubbo.remoting.exchange.support.header.HeaderExchangeHandler.received(HeaderExchangeHandler.java:168)
	at com.alibaba.dubbo.remoting.transport.DecodeHandler.received(DecodeHandler.java:50)
	at com.alibaba.dubbo.remoting.transport.dispatcher.ChannelEventRunnable.run(ChannelEventRunnable.java:79)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.RuntimeException: Class com.alibaba.dubbo.common.utils.PojoUtils can not access a member of class com.ztjy.imbase.api.model.response.GetJoinGroupsResponse$Group with modifiers &quot;public&quot;
	at com.alibaba.dubbo.common.utils.PojoUtils.generalize(PojoUtils.java:164)
	at com.alibaba.dubbo.common.utils.PojoUtils.generalize(PojoUtils.java:143)
	at com.alibaba.dubbo.common.utils.PojoUtils.generalize(PojoUtils.java:181)
	... 15 more
Caused by: java.lang.IllegalAccessException: Class com.alibaba.dubbo.common.utils.PojoUtils can not access a member of class com.ztjy.imbase.api.model.response.GetJoinGroupsResponse$Group with modifiers &quot;public&quot;
	at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:102)
	at java.lang.reflect.AccessibleObject.slowCheckMemberAccess(AccessibleObject.java:296)
	at java.lang.reflect.AccessibleObject.checkAccess(AccessibleObject.java:288)
	at java.lang.reflect.Method.invoke(Method.java:491)
	at com.alibaba.dubbo.common.utils.PojoUtils.generalize(PojoUtils.java:162)
	... 17 more

	at org.apache.dubbo.remoting.exchange.support.DefaultFuture.doReceived(DefaultFuture.java:191)
	at org.apache.dubbo.remoting.exchange.support.DefaultFuture.received(DefaultFuture.java:153)
	at org.apache.dubbo.remoting.exchange.support.DefaultFuture.received(DefaultFuture.java:141)
	at org.apache.dubbo.remoting.exchange.support.header.HeaderExchangeHandler.handleResponse(HeaderExchangeHandler.java:62)
	at org.apache.dubbo.remoting.exchange.support.header.HeaderExchangeHandler.received(HeaderExchangeHandler.java:199)
	at org.apache.dubbo.remoting.transport.DecodeHandler.received(DecodeHandler.java:51)
	at org.apache.dubbo.remoting.transport.dispatcher.ChannelEventRunnable.run(ChannelEventRunnable.java:57)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)"><pre class="notranslate"><code class="notranslate">java.lang.RuntimeException: Class com.alibaba.dubbo.common.utils.PojoUtils can not access a member of class com.ztjy.imbase.api.model.response.GetJoinGroupsResponse$Group with modifiers "public"
	at com.alibaba.dubbo.common.utils.PojoUtils.generalize(PojoUtils.java:184)
	at com.alibaba.dubbo.common.utils.PojoUtils.generalize(PojoUtils.java:92)
	at com.alibaba.dubbo.rpc.filter.GenericFilter.invoke(GenericFilter.java:123)
	at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:68)
	at com.alibaba.dubbo.rpc.filter.ClassLoaderFilter.invoke(ClassLoaderFilter.java:37)
	at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:68)
	at com.alibaba.dubbo.rpc.filter.EchoFilter.invoke(EchoFilter.java:37)
	at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:68)
	at com.alibaba.dubbo.rpc.protocol.dubbo.DubboProtocol$1.reply(DubboProtocol.java:98)
	at com.alibaba.dubbo.remoting.exchange.support.header.HeaderExchangeHandler.handleRequest(HeaderExchangeHandler.java:96)
	at com.alibaba.dubbo.remoting.exchange.support.header.HeaderExchangeHandler.received(HeaderExchangeHandler.java:168)
	at com.alibaba.dubbo.remoting.transport.DecodeHandler.received(DecodeHandler.java:50)
	at com.alibaba.dubbo.remoting.transport.dispatcher.ChannelEventRunnable.run(ChannelEventRunnable.java:79)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.RuntimeException: Class com.alibaba.dubbo.common.utils.PojoUtils can not access a member of class com.ztjy.imbase.api.model.response.GetJoinGroupsResponse$Group with modifiers "public"
	at com.alibaba.dubbo.common.utils.PojoUtils.generalize(PojoUtils.java:164)
	at com.alibaba.dubbo.common.utils.PojoUtils.generalize(PojoUtils.java:143)
	at com.alibaba.dubbo.common.utils.PojoUtils.generalize(PojoUtils.java:181)
	... 15 more
Caused by: java.lang.IllegalAccessException: Class com.alibaba.dubbo.common.utils.PojoUtils can not access a member of class com.ztjy.imbase.api.model.response.GetJoinGroupsResponse$Group with modifiers "public"
	at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:102)
	at java.lang.reflect.AccessibleObject.slowCheckMemberAccess(AccessibleObject.java:296)
	at java.lang.reflect.AccessibleObject.checkAccess(AccessibleObject.java:288)
	at java.lang.reflect.Method.invoke(Method.java:491)
	at com.alibaba.dubbo.common.utils.PojoUtils.generalize(PojoUtils.java:162)
	... 17 more

	at org.apache.dubbo.rpc.cluster.support.FailoverClusterInvoker.doInvoke(FailoverClusterInvoker.java:113)
	at org.apache.dubbo.rpc.cluster.support.AbstractClusterInvoker.invoke(AbstractClusterInvoker.java:248)
	at org.apache.dubbo.rpc.cluster.support.wrapper.MockClusterInvoker.invoke(MockClusterInvoker.java:78)
	at org.apache.dubbo.rpc.proxy.InvokerInvocationHandler.invoke(InvokerInvocationHandler.java:55)
	at org.apache.dubbo.common.bytecode.proxy0.$invoke(proxy0.java)
	at com.tools.DubboClient.request(DubboClient.java:293)
	at com.tools.DubboClient.main(DubboClient.java:50)
Caused by: java.util.concurrent.ExecutionException: org.apache.dubbo.remoting.RemotingException: java.lang.RuntimeException: Class com.alibaba.dubbo.common.utils.PojoUtils can not access a member of class com.ztjy.imbase.api.model.response.GetJoinGroupsResponse$Group with modifiers "public"
java.lang.RuntimeException: Class com.alibaba.dubbo.common.utils.PojoUtils can not access a member of class com.ztjy.imbase.api.model.response.GetJoinGroupsResponse$Group with modifiers "public"
	at com.alibaba.dubbo.common.utils.PojoUtils.generalize(PojoUtils.java:184)
	at com.alibaba.dubbo.common.utils.PojoUtils.generalize(PojoUtils.java:92)
	at com.alibaba.dubbo.rpc.filter.GenericFilter.invoke(GenericFilter.java:123)
	at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:68)
	at com.alibaba.dubbo.rpc.filter.ClassLoaderFilter.invoke(ClassLoaderFilter.java:37)
	at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:68)
	at com.alibaba.dubbo.rpc.filter.EchoFilter.invoke(EchoFilter.java:37)
	at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:68)
	at com.alibaba.dubbo.rpc.protocol.dubbo.DubboProtocol$1.reply(DubboProtocol.java:98)
	at com.alibaba.dubbo.remoting.exchange.support.header.HeaderExchangeHandler.handleRequest(HeaderExchangeHandler.java:96)
	at com.alibaba.dubbo.remoting.exchange.support.header.HeaderExchangeHandler.received(HeaderExchangeHandler.java:168)
	at com.alibaba.dubbo.remoting.transport.DecodeHandler.received(DecodeHandler.java:50)
	at com.alibaba.dubbo.remoting.transport.dispatcher.ChannelEventRunnable.run(ChannelEventRunnable.java:79)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.RuntimeException: Class com.alibaba.dubbo.common.utils.PojoUtils can not access a member of class com.ztjy.imbase.api.model.response.GetJoinGroupsResponse$Group with modifiers "public"
	at com.alibaba.dubbo.common.utils.PojoUtils.generalize(PojoUtils.java:164)
	at com.alibaba.dubbo.common.utils.PojoUtils.generalize(PojoUtils.java:143)
	at com.alibaba.dubbo.common.utils.PojoUtils.generalize(PojoUtils.java:181)
	... 15 more
Caused by: java.lang.IllegalAccessException: Class com.alibaba.dubbo.common.utils.PojoUtils can not access a member of class com.ztjy.imbase.api.model.response.GetJoinGroupsResponse$Group with modifiers "public"
	at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:102)
	at java.lang.reflect.AccessibleObject.slowCheckMemberAccess(AccessibleObject.java:296)
	at java.lang.reflect.AccessibleObject.checkAccess(AccessibleObject.java:288)
	at java.lang.reflect.Method.invoke(Method.java:491)
	at com.alibaba.dubbo.common.utils.PojoUtils.generalize(PojoUtils.java:162)
	... 17 more

	at java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:357)
	at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1915)
	at org.apache.dubbo.rpc.protocol.AsyncToSyncInvoker.invoke(AsyncToSyncInvoker.java:56)
	at org.apache.dubbo.rpc.filter.GenericImplFilter.invoke(GenericImplFilter.java:119)
	at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:82)
	at org.apache.dubbo.monitor.support.MonitorFilter.invoke(MonitorFilter.java:92)
	at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:82)
	at org.apache.dubbo.rpc.protocol.dubbo.filter.FutureFilter.invoke(FutureFilter.java:54)
	at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:82)
	at org.apache.dubbo.rpc.filter.ConsumerContextFilter.invoke(ConsumerContextFilter.java:58)
	at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:82)
	at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$CallbackRegistrationInvoker.invoke(ProtocolFilterWrapper.java:157)
	at org.apache.dubbo.rpc.listener.ListenerInvokerWrapper.invoke(ListenerInvokerWrapper.java:78)
	at org.apache.dubbo.rpc.protocol.InvokerWrapper.invoke(InvokerWrapper.java:56)
	at org.apache.dubbo.rpc.cluster.support.FailoverClusterInvoker.doInvoke(FailoverClusterInvoker.java:82)
	... 6 more
Caused by: org.apache.dubbo.remoting.RemotingException: java.lang.RuntimeException: Class com.alibaba.dubbo.common.utils.PojoUtils can not access a member of class com.ztjy.imbase.api.model.response.GetJoinGroupsResponse$Group with modifiers "public"
java.lang.RuntimeException: Class com.alibaba.dubbo.common.utils.PojoUtils can not access a member of class com.ztjy.imbase.api.model.response.GetJoinGroupsResponse$Group with modifiers "public"
	at com.alibaba.dubbo.common.utils.PojoUtils.generalize(PojoUtils.java:184)
	at com.alibaba.dubbo.common.utils.PojoUtils.generalize(PojoUtils.java:92)
	at com.alibaba.dubbo.rpc.filter.GenericFilter.invoke(GenericFilter.java:123)
	at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:68)
	at com.alibaba.dubbo.rpc.filter.ClassLoaderFilter.invoke(ClassLoaderFilter.java:37)
	at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:68)
	at com.alibaba.dubbo.rpc.filter.EchoFilter.invoke(EchoFilter.java:37)
	at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:68)
	at com.alibaba.dubbo.rpc.protocol.dubbo.DubboProtocol$1.reply(DubboProtocol.java:98)
	at com.alibaba.dubbo.remoting.exchange.support.header.HeaderExchangeHandler.handleRequest(HeaderExchangeHandler.java:96)
	at com.alibaba.dubbo.remoting.exchange.support.header.HeaderExchangeHandler.received(HeaderExchangeHandler.java:168)
	at com.alibaba.dubbo.remoting.transport.DecodeHandler.received(DecodeHandler.java:50)
	at com.alibaba.dubbo.remoting.transport.dispatcher.ChannelEventRunnable.run(ChannelEventRunnable.java:79)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.RuntimeException: Class com.alibaba.dubbo.common.utils.PojoUtils can not access a member of class com.ztjy.imbase.api.model.response.GetJoinGroupsResponse$Group with modifiers "public"
	at com.alibaba.dubbo.common.utils.PojoUtils.generalize(PojoUtils.java:164)
	at com.alibaba.dubbo.common.utils.PojoUtils.generalize(PojoUtils.java:143)
	at com.alibaba.dubbo.common.utils.PojoUtils.generalize(PojoUtils.java:181)
	... 15 more
Caused by: java.lang.IllegalAccessException: Class com.alibaba.dubbo.common.utils.PojoUtils can not access a member of class com.ztjy.imbase.api.model.response.GetJoinGroupsResponse$Group with modifiers "public"
	at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:102)
	at java.lang.reflect.AccessibleObject.slowCheckMemberAccess(AccessibleObject.java:296)
	at java.lang.reflect.AccessibleObject.checkAccess(AccessibleObject.java:288)
	at java.lang.reflect.Method.invoke(Method.java:491)
	at com.alibaba.dubbo.common.utils.PojoUtils.generalize(PojoUtils.java:162)
	... 17 more

	at org.apache.dubbo.remoting.exchange.support.DefaultFuture.doReceived(DefaultFuture.java:191)
	at org.apache.dubbo.remoting.exchange.support.DefaultFuture.received(DefaultFuture.java:153)
	at org.apache.dubbo.remoting.exchange.support.DefaultFuture.received(DefaultFuture.java:141)
	at org.apache.dubbo.remoting.exchange.support.header.HeaderExchangeHandler.handleResponse(HeaderExchangeHandler.java:62)
	at org.apache.dubbo.remoting.exchange.support.header.HeaderExchangeHandler.received(HeaderExchangeHandler.java:199)
	at org.apache.dubbo.remoting.transport.DecodeHandler.received(DecodeHandler.java:51)
	at org.apache.dubbo.remoting.transport.dispatcher.ChannelEventRunnable.run(ChannelEventRunnable.java:57)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
</code></pre></div>
<p dir="auto">the com.ztjy.imbase.api.model.response.GetJoinGroupsResponse$Group  source is:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="public class GetJoinGroupsResponse extends YunCommunicationResponse
{
  private List&lt;String&gt; groupIds;

  @JSONField(name=&quot;GroupIdList&quot;)
  public List&lt;Group&gt; groupIdList;

  public GetJoinGroupsResponse(String actionStatus, String errorInfo)
  {
    super(actionStatus, errorInfo);
  }

  public GetJoinGroupsResponse() {
  }

  public static GetJoinGroupsResponse fail() {
    return new GetJoinGroupsResponse(&quot;FAIL&quot;, &quot;未知错误&quot;);
  }

  private List&lt;Group&gt; getGroupIdList()
  {
    return this.groupIdList;
  }
  public void setGroupIdList(List&lt;Group&gt; groupIdList) {
    this.groupIdList = groupIdList;
  }

  public List&lt;String&gt; getGroupIds()
  {
    if (this.groupIds == null) {
      this.groupIds = new ArrayList();
      for (Group group : getGroupIdList()) {
        this.groupIds.add(group.getGroupId());
      }
    }
    return this.groupIds;
  }

  class Group
    implements Serializable
  {

    @JSONField(name=&quot;GroupId&quot;)
    private String groupId;

    Group()
    {
    }

    public String getGroupId()
    {
      return this.groupId;
    }
    public void setGroupId(String groupId) {
      this.groupId = groupId;
    }
  }
}"><pre class="notranslate"><code class="notranslate">public class GetJoinGroupsResponse extends YunCommunicationResponse
{
  private List&lt;String&gt; groupIds;

  @JSONField(name="GroupIdList")
  public List&lt;Group&gt; groupIdList;

  public GetJoinGroupsResponse(String actionStatus, String errorInfo)
  {
    super(actionStatus, errorInfo);
  }

  public GetJoinGroupsResponse() {
  }

  public static GetJoinGroupsResponse fail() {
    return new GetJoinGroupsResponse("FAIL", "未知错误");
  }

  private List&lt;Group&gt; getGroupIdList()
  {
    return this.groupIdList;
  }
  public void setGroupIdList(List&lt;Group&gt; groupIdList) {
    this.groupIdList = groupIdList;
  }

  public List&lt;String&gt; getGroupIds()
  {
    if (this.groupIds == null) {
      this.groupIds = new ArrayList();
      for (Group group : getGroupIdList()) {
        this.groupIds.add(group.getGroupId());
      }
    }
    return this.groupIds;
  }

  class Group
    implements Serializable
  {

    @JSONField(name="GroupId")
    private String groupId;

    Group()
    {
    }

    public String getGroupId()
    {
      return this.groupId;
    }
    public void setGroupId(String groupId) {
      this.groupId = groupId;
    }
  }
}
</code></pre></div>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/apache/dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/apache/dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h3 dir="auto">Environment</h3>
<ul dir="auto">
<li>Dubbo version: 2.6.2</li>
<li>Operating System version: linux</li>
<li>Java version: 1.8</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<ol dir="auto">
<li>consumer a 设置<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/reference/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/reference">@reference</a>(async = true)</li>
<li>a调用服务b</li>
</ol>
<p dir="auto">Pls. provide [GitHub address] to reproduce this issue.</p>
<h3 dir="auto">Expected Result</h3>
<p dir="auto">a应该异步调用b服务</p>
<h3 dir="auto">Actual Result</h3>
<p dir="auto">依旧是同步调用，如果是XML配置的异步调用没有问题</p>