024-05-27 15:20:41.708 [992489665019772928] ERROR [User-4-1] MsgTransferTopic.internalBroadcast:94 Exception caught when serialize content of rpc request command!
com.alipay.remoting.exception.SerializationException: Exception caught when serialize content of rpc request command!
at com.alipay.remoting.rpc.protocol.RpcRequestCommand.serializeContent(RpcRequestCommand.java:137)
at com.alipay.remoting.rpc.RpcCommand.serialize(RpcCommand.java:105)
at com.alipay.remoting.rpc.RpcRemoting.toRemotingCommand(RpcRemoting.java:353)
at com.alipay.remoting.rpc.RpcRemoting.oneway(RpcRemoting.java:119)
at com.alipay.remoting.rpc.RpcClient.oneway(RpcClient.java:204)
at com.iohao.game.bolt.broker.core.client.BrokerClientItem.oneway(BrokerClientItem.java:119)
at com.iohao.game.bolt.broker.core.client.Broadcast.internalBroadcast(Broadcast.java:92)
at com.iohao.game.bolt.broker.core.client.Broadcast.broadcast(Broadcast.java:72)
at com.iohao.game.bolt.broker.core.client.BrokerClientItem.broadcast(BrokerClientItem.java:134)
at com.iohao.game.action.skeleton.core.flow.SimpleCommunicationBroadcast.broadcast(InternalAboutFlowContext.java:669)
at com.iohao.game.action.skeleton.core.flow.SimpleCommunicationBroadcast.broadcast(InternalAboutFlowContext.java:656)
at com.bitdragon.logic.base.PushUtil.pushListRole(PushUtil.java:25)
at com.bitdragon.lobby.service.FriendService.pushFriendNotify(FriendService.java:451)
at com.bitdragon.lobby.service.FriendService.agreeFriendApplyNotify(FriendService.java:439)
at com.bitdragon.lobby.service.FriendService.cacheAndPushNewFriend(FriendService.java:421)
at com.bitdragon.lobby.service.FriendService.dealOneApply(FriendService.java:237)
at com.bitdragon.lobby.service.FriendService.dealApply(FriendService.java:138)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:352)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:765)
at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:123)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:385)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:765)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:717)
at com.bitdragon.lobby.service.FriendService$$SpringCGLIB$$0.dealApply(<generated>)
at com.bitdragon.lobby.action.FriendAction.dealApply(FriendAction.java:74)
at com.bitdragon.lobby.action.FriendActionMethodAccess.invoke(Unknown Source)
at com.iohao.game.action.skeleton.core.flow.internal.DefaultActionMethodInvoke.invoke(DefaultActionMethodInvoke.java:46)
at com.iohao.game.action.skeleton.core.DefaultActionCommandFlowExecute.execute(DefaultActionCommandFlowExecute.java:62)
at com.iohao.game.action.skeleton.core.ActionCommandHandler.handler(ActionCommandHandler.java:41)
at com.iohao.game.action.skeleton.core.BarSkeleton.handle(BarSkeleton.java:110)
at com.iohao.game.action.skeleton.kit.ExecutorSelectKit.lambda$processLogic$0(ExecutorSelectKit.java:61)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: java.lang.RuntimeException: Unable to make field private final java.lang.Object java.util.ImmutableCollections$Set12.e0 accessible: module java.base does not "opens java.util" to unnamed module @f6efaab
field: com.iohao.game.bolt.broker.core.message.BroadcastMessage.userIdList
class: com.iohao.game.bolt.broker.core.message.BroadcastMessage (object=com.iohao.game.bolt.broker.core.message.BroadcastMessage@5a700ea8)
你的问题
推送时的目标ID使用了 Set.of(1)
预期值
正常推送。
实际值
报错:
复现步骤
版本