Skip to content

[BUG]dubbo3.2.11序列化异常 #2392

Closed
@pigeon-fancier

Description

问题描述

简要描述您碰到的问题。
java.io.IOException: org.apache.dubbo.common.serialize.SerializationException: com.alibaba.fastjson2.JSONException: create instance error class kotlin.collections.EmptyList, offset 3676

环境信息

请填写以下信息:

  • OS信息: [e.g.:CentOS 8.4.2105 4Core 3.10GHz 16 GB] windows11 32G
  • JDK信息: [e.g.:Openjdk 1.8.0_312] JDK17
  • 版本信息:[e.g.:Fastjson2 2.x.x] Fastjson2 2.0.47 & 2.0.48

重现步骤

如何操作可以重现该问题:

1.provider lang java
2.consumer lang kotlin
3.混合定义一个实体,比如class Mix{ kotlin class A a, Java class B b}

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingfixed

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions