You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicecomb.apache.org by "liubao (Jira)" <ji...@apache.org> on 2022/11/16 01:06:00 UTC

[jira] [Closed] (SCB-1131) Error occurs when edge invoking backend service with enum param in highway transport

     [ https://issues.apache.org/jira/browse/SCB-1131?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

liubao closed SCB-1131.
-----------------------
    Fix Version/s:     (was: java-chassis-2.9.0)
       Resolution: Won't Fix

> Error occurs when edge invoking backend service with enum param in highway transport
> ------------------------------------------------------------------------------------
>
>                 Key: SCB-1131
>                 URL: https://issues.apache.org/jira/browse/SCB-1131
>             Project: Apache ServiceComb
>          Issue Type: Bug
>          Components: Java-Chassis
>    Affects Versions: java-chassis-1.2.0
>            Reporter: Haishi Yao
>            Assignee: Haishi Yao
>            Priority: Major
>
> When invoking backend service via EdgeService in highway transport and there is enum param in request, error occurs in EdgeService.
> For the first invocation, the error is "java.lang.NoSuchFieldException: MPEG-2", and the next invocations cause "java.lang.RuntimeException: gen.cse.gen.HelloWorld.provider.hello.HelloServiceIntf.setMedia.Args class is frozen".
> If the enum param is body, the problem can be avoid by adding the enum class into the classpath of EdgeService. If the enum param is query, this problem cannot be avoid.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)