You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicecomb.apache.org by "YaoHaishi (JIRA)" <ji...@apache.org> on 2018/05/14 14:34:00 UTC

[jira] [Created] (SCB-580) When upload file size exceeds limitation of provider, consumer will return a confusing response

YaoHaishi created SCB-580:
-----------------------------

             Summary: When upload file size exceeds limitation of provider, consumer will return a confusing response
                 Key: SCB-580
                 URL: https://issues.apache.org/jira/browse/SCB-580
             Project: Apache ServiceComb
          Issue Type: Bug
          Components: Java-Chassis
            Reporter: YaoHaishi
            Assignee: YaoHaishi
         Attachments: consumerResponse.PNG, providerExceptionLog.PNG

Let user upload file to consumer, and then consumer upload file to provider. If the file size is under the limitation of consumer but exceeds the limitation of provider, the provider will throw a NullPointerException, but the consumer will response "method POST, path /upload/multipartFileUpload/, statusCode 500, reasonPhrase Internal Server Error, response content-type null is not supported".(In the log of consumer, no error is printed)
privider log:
 !providerExceptionLog.PNG! 
consumer response:
 !consumerResponse.PNG! 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)