You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicecomb.apache.org by "Willem Jiang (JIRA)" <ji...@apache.org> on 2019/03/11 03:00:00 UTC
[jira] [Created] (SCB-1191) NPE When return type is
ResponseEntity
Willem Jiang created SCB-1191:
---------------------------------
Summary: NPE When return type is ResponseEntity<Void>
Key: SCB-1191
URL: https://issues.apache.org/jira/browse/SCB-1191
Project: Apache ServiceComb
Issue Type: Bug
Components: Java-Chassis
Affects Versions: java-chassis-1.1.0, java-chassis-1.0.0
Reporter: Willem Jiang
Find the code in OperationGenerator.java like below. If the type of return is void, it will return null and that is right. But, when the type of return is ResponseEntity<Void>, it will get NPE in the future.
You can find more information here
https://github.com/apache/servicecomb-java-chassis/issues/1122
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)