You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicecomb.apache.org by "Haishi Yao (Jira)" <ji...@apache.org> on 2020/10/13 01:10:00 UTC

[jira] [Created] (SCB-2091) Upload file array in Consumer RPC style causes IllegalStateException

Haishi Yao created SCB-2091:
-------------------------------

             Summary: Upload file array in Consumer RPC style causes IllegalStateException
                 Key: SCB-2091
                 URL: https://issues.apache.org/jira/browse/SCB-2091
             Project: Apache ServiceComb
          Issue Type: Bug
          Components: Java-Chassis
    Affects Versions: java-chassis-2.1.1, java-chassis-2.1.0, java-chassis-2.0.2, java-chassis-2.0.1, java-chassis-2.0.0
            Reporter: Haishi Yao
            Assignee: Haishi Yao


On consumer side, if uploading code is in RPC style and a file array is uploaded, a IllegalStateException is triggered.

The root cause is in the method:
{code:java}
org.apache.servicecomb.common.rest.codec.param.RestClientRequestImpl#attach
{code}
A return clause is missing on the logic branch that input param is an array.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)