流程设计器配置,dubbo请求反序列报错
错误处理 38
版本号:
镜像版本 harbor.oinone.top/oinone/oinone-designer-mini-v5.2:5.2.5.1
本地版本 5.2.5
错误信息:
2024-10-30 15:45:41.494 WARN 86267 --- [:20883-thread-2] o.a.d.r.p.dubbo.DecodeableRpcInvocation : [DUBBO] Decode rpc invocation failed: com.esotericsoftware.kryo.KryoException: Unable to find class: srBpro.shushi.pamirs.framework.connectors.data.sql.query.QueryWrapperdhg]_, dubbo version: 2.7.22, current host: 192.168.112.195
java.io.IOException: com.esotericsoftware.kryo.KryoException: Unable to find class: srBpro.shushi.pamirs.framework.connectors.data.sql.query.QueryWrapperdhg]_
at pro.shushi.pamirs.distribution.faas.serialize.KryoObjectInput.readObject(KryoObjectInput.java:122) ~[pamirs-distribution-faas-5.2.0.jar:5.2.0]
at pro.shushi.pamirs.distribution.faas.serialize.KryoObjectInput.readObject(KryoObjectInput.java:131) ~[pamirs-distribution-faas-5.2.0.jar:5.2.0]
at org.apache.dubbo.common.serialize.ObjectInput.readAttachments(ObjectInput.java:87) ~[dubbo-2.7.22.jar:2.7.22]
at org.apache.dubbo.rpc.protocol.dubbo.DecodeableRpcInvocation.decode(DecodeableRpcInvocation.java:165) ~[dubbo-2.7.22.jar:2.7.22]
at org.apache.dubbo.rpc.protocol.dubbo.DecodeableRpcInvocation.decode(DecodeableRpcInvocation.java:83) ~[dubbo-2.7.22.jar:2.7.22]
at org.apache.dubbo.remoting.transport.DecodeHandler.decode(DecodeHandler.java:57) [dubbo-2.7.22.jar:2.7.22]
at org.apache.dubbo.remoting.transport.DecodeHandler.received(DecodeHandler.java:44) [dubbo-2.7.22.jar:2.7.22]
at org.apache.dubbo.remoting.transport.dispatcher.ChannelEventRunnable.run(ChannelEventRunnable.java:57) [dubbo-2.7.22.jar:2.7.22]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_421]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_421]
at org.apache.dubbo.common.threadlocal.InternalRunnable.run(InternalRunnable.java:41) [dubbo-2.7.22.jar:2.7.22]
at java.lang.Thread.run(Thread.java:750) [na:1.8.0_421]
Caused by: com.esotericsoftware.kryo.KryoException: Unable to find class: srBpro.shushi.pamirs.framework.connectors.data.sql.query.QueryWrapperdhg]_
at com.esotericsoftware.kryo.util.DefaultClassResolver.readName(DefaultClassResolver.java:190) ~[kryo-5.0.3.jar:na]
at com.esotericsoftware.kryo.util.DefaultClassResolver.readClass(DefaultClassResolver.java:159) ~[kryo-5.0.3.jar:na]
at com.esotericsoftware.kryo.Kryo.readClass(Kryo.java:691) ~[kryo-5.0.3.jar:na]
at com.esotericsoftware.kryo.Kryo.readClassAndObject(Kryo.java:802) ~[kryo-5.0.3.jar:na]
at pro.shushi.pamirs.distribution.faas.serialize.KryoObjectInput.readObject(KryoObjectInput.java:120) ~[pamirs-distribution-faas-5.2.0.jar:5.2.0]
... 11 common frames omitted
Caused by: java.lang.ClassNotFoundException: srBpro.shushi.pamirs.framework.connectors.data.sql.query.QueryWrapperdhg]_
at java.net.URLClassLoader.findClass(URLClassLoader.java:387) ~[na:1.8.0_421]
at java.lang.ClassLoader.loadClass(ClassLoader.java:418) ~[na:1.8.0_421]
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:359) ~[na:1.8.0_421]
at java.lang.ClassLoader.loadClass(ClassLoader.java:351) ~[na:1.8.0_421]
at java.lang.Class.forName0(Native Method) ~[na:1.8.0_421]
at java.lang.Class.forName(Class.java:348) ~[na:1.8.0_421]
at com.esotericsoftware.kryo.util.DefaultClassResolver.readName(DefaultClassResolver.java:184) ~[kryo-5.0.3.jar:na]
... 15 common frames omitted```java
2024-10-30 15:45:41.494 WARN 86267 --- [:20883-thread-2] o.a.d.r.p.dubbo.DecodeableRpcInvocation : [DUBBO] Decode rpc invocation failed: com.esotericsoftware.kryo.KryoException: Unable to find class: srBpro.shushi.pamirs.framework.connectors.data.sql.query.QueryWrapperdhg]_, dubbo version: 2.7.22, current host: 192.168.112.195
java.io.IOException: com.esotericsoftware.kryo.KryoException: Unable to find class: srBpro.shushi.pamirs.framework.connectors.data.sql.query.QueryWrapperdhg]_
at pro.shushi.pamirs.distribution.faas.serialize.KryoObjectInput.readObject(KryoObjectInput.java:122) ~[pamirs-distribution-faas-5.2.0.jar:5.2.0]
at pro.shushi.pamirs.distribution.faas.serialize.KryoObjectInput.readObject(KryoObjectInput.java:131) ~[pamirs-distribution-faas-5.2.0.jar:5.2.0]
at org.apache.dubbo.common.serialize.ObjectInput.readAttachments(ObjectInput.java:87) ~[dubbo-2.7.22.jar:2.7.22]
at org.apache.dubbo.rpc.protocol.dubbo.DecodeableRpcInvocation.decode(DecodeableRpcInvocation.java:165) ~[dubbo-2.7.22.jar:2.7.22]
at org.apache.dubbo.rpc.protocol.dubbo.DecodeableRpcInvocation.decode(DecodeableRpcInvocation.java:83) ~[dubbo-2.7.22.jar:2.7.22]
at org.apache.dubbo.remoting.transport.DecodeHandler.decode(DecodeHandler.java:57) [dubbo-2.7.22.jar:2.7.22]
at org.apache.dubbo.remoting.transport.DecodeHandler.received(DecodeHandler.java:44) [dubbo-2.7.22.jar:2.7.22]
at org.apache.dubbo.remoting.transport.dispatcher.ChannelEventRunnable.run(ChannelEventRunnable.java:57) [dubbo-2.7.22.jar:2.7.22]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_421]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_421]
at org.apache.dubbo.common.threadlocal.InternalRunnable.run(InternalRunnable.java:41) [dubbo-2.7.22.jar:2.7.22]
at java.lang.Thread.run(Thread.java:750) [na:1.8.0_421]
Caused by: com.esotericsoftware.kryo.KryoException: Unable to find class: srBpro.shushi.pamirs.framework.connectors.data.sql.query.QueryWrapperdhg]_
at com.esotericsoftware.kryo.util.DefaultClassResolver.readName(DefaultClassResolver.java:190) ~[kryo-5.0.3.jar:na]
at com.esotericsoftware.kryo.util.DefaultClassResolver.readClass(DefaultClassResolver.java:159) ~[kryo-5.0.3.jar:na]
at com.esotericsoftware.kryo.Kryo.readClass(Kryo.java:691) ~[kryo-5.0.3.jar:na]
at com.esotericsoftware.kryo.Kryo.readClassAndObject(Kryo.java:802) ~[kryo-5.0.3.jar:na]
at pro.shushi.pamirs.distribution.faas.serialize.KryoObjectInput.readObject(KryoObjectInput.java:120) ~[pamirs-distribution-faas-5.2.0.jar:5.2.0]
... 11 common frames omitted
Caused by: java.lang.ClassNotFoundException: srBpro.shushi.pamirs.framework.connectors.data.sql.query.QueryWrapperdhg]_
at java.net.URLClassLoader.findClass(URLClassLoader.java:387) ~[na:1.8.0_421]
at java.lang.ClassLoader.loadClass(ClassLoader.java:418) ~[na:1.8.0_421]
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:359) ~[na:1.8.0_421]
at java.lang.ClassLoader.loadClass(ClassLoader.java:351) ~[na:1.8.0_421]
at java.lang.Class.forName0(Native Method) ~[na:1.8.0_421]
at java.lang.Class.forName(Class.java:348) ~[na:1.8.0_421]
at com.esotericsoftware.kryo.util.DefaultClassResolver.readName(DefaultClassResolver.java:184) ~[kryo-5.0.3.jar:na]
... 15 common frames omitted
你的期望:
流程设计器页面能顺利读到本地模型数据
如何重现问题:
请求本地模型页面
-
需要在boot启动工程里,加入以下依赖
<dependency>
<groupId>pro.shushi.pamirs.distribution</groupId>
<artifactId>pamirs-distribution-faas</artifactId>
</dependency>
<dependency>
<groupId>pro.shushi.pamirs.distribution</groupId>
<artifactId>pamirs-distribution-session</artifactId>
</dependency>
<dependency>
<groupId>pro.shushi.pamirs.distribution</groupId>
<artifactId>pamirs-distribution-gateway</artifactId>
</dependency>2周前