YaoHaishi created SCB-1131:
------------------------------

             Summary: 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: YaoHaishi
            Assignee: YaoHaishi


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
(v7.6.3#76005)

Reply via email to