[
https://issues.apache.org/jira/browse/SCB-1191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
wujimin resolved SCB-1191.
--------------------------
Resolution: Fixed
Fix Version/s: java-chassis-1.2.0
https://github.com/apache/servicecomb-java-chassis/pull/1124
> 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.0.0, java-chassis-1.1.0
> Reporter: Willem Jiang
> Priority: Major
> Fix For: java-chassis-1.2.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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)